Pawel Jakub Dawidek
57169160b0
Ha! This is a very interesting bug.
...
I copied strcasecmp() from userland to the kernel and it didn't worked!
I started to debug the problem and I find out that this line:
while (tolower(*us1) == tolower(*us2++)) {
was adding _3_ bytes to 'us2' pointer. Am I loosing my minds here?!...
No, in-kernel tolower() is a macro which uses its argument three times.
Bad tolower(9), no cookie.
2005-08-08 19:38:00 +00:00
..
2005-01-07 00:24:33 +00:00
2005-01-07 00:24:33 +00:00
2005-01-07 00:24:33 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2005-01-07 00:24:33 +00:00
2005-01-07 00:24:33 +00:00
2005-04-28 05:50:18 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2005-02-03 15:47:30 +00:00
2005-01-07 00:24:33 +00:00
2005-05-24 15:38:08 +00:00
2005-07-23 16:52:57 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2004-04-07 20:46:16 +00:00
2004-08-27 19:42:35 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2004-07-15 23:58:23 +00:00
2004-05-05 15:12:55 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-08-08 19:38:00 +00:00
2005-01-07 00:24:33 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2005-02-03 15:51:39 +00:00
2005-02-03 15:51:39 +00:00
2004-04-07 20:46:16 +00:00
2005-01-07 00:24:33 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-04-02 18:52:44 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2005-01-29 13:34:22 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00
2004-04-07 20:46:16 +00:00