pjd
e540031ad8
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-08-06 19:24:22 +00:00
2005-08-07 22:00:47 +00:00
2005-08-03 04:27:40 +00:00
2005-08-07 09:41:53 +00:00
2005-05-29 16:11:34 +00:00
2005-07-01 16:28:32 +00:00
2005-04-13 10:59:09 +00:00
2005-07-29 19:41:04 +00:00
2005-08-08 18:31:13 +00:00
2005-07-20 18:58:27 +00:00
2005-03-11 22:07:04 +00:00
2005-07-02 23:52:37 +00:00
2005-08-08 18:46:36 +00:00
2005-07-29 23:00:56 +00:00
2005-03-28 18:31:18 +00:00
2005-07-27 22:31:57 +00:00
2005-07-09 18:30:31 +00:00
2005-06-26 18:11:11 +00:00
2005-08-07 22:00:47 +00:00
2005-08-06 20:28:19 +00:00
2005-08-01 07:03:10 +00:00
2005-04-13 10:59:09 +00:00
2005-08-08 18:54:35 +00:00
2005-08-08 19:38:00 +00:00
2005-07-27 21:47:55 +00:00
2005-08-06 18:42:01 +00:00
2005-08-08 18:46:36 +00:00
2005-07-05 23:39:51 +00:00
2005-06-10 16:49:24 +00:00
2005-08-02 20:06:48 +00:00
2005-08-03 19:29:47 +00:00
2005-08-02 23:51:22 +00:00
2005-06-02 23:56:10 +00:00
2005-06-10 16:49:24 +00:00
2005-07-30 20:10:31 +00:00
2005-07-19 13:36:39 +00:00
2005-07-29 13:22:37 +00:00
2005-07-29 13:22:37 +00:00
2005-07-14 20:08:27 +00:00
2005-04-25 05:11:19 +00:00
2005-07-27 15:06:26 +00:00
2005-04-17 16:25:36 +00:00
2005-05-30 05:01:44 +00:00
2005-07-21 11:13:12 +00:00
2005-05-10 12:02:18 +00:00
2005-08-05 16:03:16 +00:00
2005-05-04 10:39:15 +00:00
2005-08-03 04:27:40 +00:00
2005-03-19 01:16:25 +00:00
2005-08-08 16:09:33 +00:00
2005-08-07 13:21:00 +00:00
2005-08-08 18:31:13 +00:00
2005-06-09 20:20:31 +00:00
2005-07-31 20:24:14 +00:00
2005-08-04 10:05:11 +00:00
2005-03-08 00:09:41 +00:00