Jim Jagielski wrote:
On Aug 30, 2007, at 11:45 AM, Mladen Turk wrote:
Rainer Jung wrote:
+ /* Always do memcmp including the final \0-termination character.
+ */
switch (header[0]) {
case 'A':
- if (memcmp(p, "CCEPT", 5) == 0) {
+ if (memcmp(p, "CCEPT", 6) == 0) {
Right, but like said this should be a
> if (memcmp(p, "CCEPT\0", 6) == 0) {
memcmp compares bytes.
"CCEPT" contains 6 bytes. It's len is 5, but it contains
6 bytes.
We finally also agreed on that and I did the corresponding simple patch.
See also my seperate mail to httpd-dev.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]