[Date Prev][Date Next]
(ITS#6345) tests/progs/slapd-common.c negative array index
Full_Name: Hallvard B Furuseth
Version: HEAD, RE24
Submission from: (NULL) (188.8.131.52)
Submitted by: hallvard
tester_ignore_err(negative error code) does
ignore_server[ err ]--;
when it should do
ignore_client[ -err ]--;
Looks like a cut&paste error. Fixing.
That piece of code is needlessly complex anyway. Simplifying:
Instead of treating positive and negative error codes separately
(server-side and client-side codes), all that is needed is a
single array for both, offset by (-minimum result code).