The "=" character is not handled correctly in the value associated to a key
in memcached.
Eg : "myKey=/C=fr/next\r\n"
--> key is read as "myKey", but value is read as only "/C" ; it stops at
the next "=" character.
Proposal of fix :
The value is correctly read if the following line :
szFieldValue=strtok_r(NULL,"=",&szFieldTokenPos); (line 205)
is replaced by :
szFieldValue=strtok_r(NULL,"\r\n",&szFieldTokenPos);
so that the string may be read untill the end of the line, not until the
next "=" character.
Nobody/Anonymous
None
None
Public
| Filename | Description | Download |
|---|---|---|
| mod_auth_memcookie.c | Source corrected (l.205) | Download |
| Field | Old Value | Date | By |
|---|---|---|---|
| File Added | 316485: mod_auth_memcookie.c | 2009-03-06 10:54 | eliedumas |
Copyright © 2009 Geeknet, Inc. All rights reserved. Terms of Use