Commit 4e96380f authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Test for bug 1005. Don't copy zero-length arrays. Code cleanup.

parent c9c5ee5e
2003-03-23 Per Cederqvist <ceder@ceder.dyndns.org>
Test for bug 1005.
* src/server/testsuite/lyskomd.0/36.exp: New file that triggers an
assertion.
* src/server/testsuite/lyskomd.0/Makefile.am (EXTRA_DIST): Added
36.exp.
Don't copy zero-length arrays.
* src/server/membership.c (read_ranges_precondition): Don't
allocate a copy of read_ranges if read_ranges is NULL.
Code cleanup.
* src/server/prot-a-output.c (prot_a_output_read_texts): Coding
standards issue: compare the pointer read_ranges against NULL, not
0.
2003-03-15 Per Cederqvist <ceder@ceder.dyndns.org> 2003-03-15 Per Cederqvist <ceder@ceder.dyndns.org>
Remove the "magic" field of Connection. Valgrind provides a Remove the "magic" field of Connection. Valgrind provides a
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment