Steve Sakoman
8d75c8964b
cmd_nand: fix crashing bug in nand read/write
...
Commit 418396e212b59bf907dbccad997ff50f7eb61b16 introduced a
bug that causes nand read and nand write to crash in strcmp
due to a null pointer.
Root cause is that strchr(cmd, '.') returns a null pointer when
the input string does not contain a '.'
The strcmp function does not check for null pointers, resulting
in a crash.
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Scott Wood <scott@tyr.buserror.net>
2012-06-08 14:57:24 -05:00
..
2012-04-10 23:35:32 +02:00
2012-05-15 17:32:05 -05:00
2012-03-06 21:09:46 +01:00
2012-05-25 09:15:09 +02:00
2012-03-06 21:09:46 +01:00
2012-05-22 10:12:58 +02:00
2012-03-06 22:12:54 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2011-10-22 01:22:21 +02:00
2012-03-06 21:09:46 +01:00
2012-03-18 20:14:05 +01:00
2012-03-06 21:09:46 +01:00
2012-03-26 11:00:31 +02:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-18 21:41:39 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-30 22:32:50 +02:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-06-08 14:57:24 -05:00
2012-05-23 17:53:08 -05:00
2012-05-22 10:15:10 +02:00
2012-04-30 16:54:51 +02:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-27 15:17:32 +02:00
2012-03-06 21:09:46 +01:00
2012-05-15 08:31:30 +02:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:26 +01:00
2012-03-27 22:05:28 +02:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2011-12-06 21:30:03 +01:00
2011-11-16 21:42:17 +01:00
2012-03-06 21:09:46 +01:00
2012-03-06 21:09:46 +01:00
2011-11-16 21:04:55 +01:00
2012-03-06 21:09:46 +01:00
2012-05-20 08:32:32 +02:00
2011-10-22 01:13:35 +02:00
2012-03-06 21:09:41 +01:00
2012-03-23 21:27:32 +01:00
2012-03-18 21:41:39 +01:00
2011-11-22 08:39:26 +01:00
2011-11-22 08:39:26 +01:00
2011-11-22 08:39:26 +01:00
2012-03-30 22:38:14 +02:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-01-05 16:34:10 +01:00
2012-04-30 16:54:51 +02:00
2012-04-24 23:58:33 -05:00
2012-01-05 16:34:10 +01:00
2011-12-07 08:41:22 +01:00
2011-11-13 11:21:34 -05:00
2012-03-06 21:09:41 +01:00
2012-04-30 16:38:54 +02:00
2012-05-25 09:15:10 +02:00
2011-10-22 01:13:35 +02:00
2012-05-15 17:16:19 -05:00
2012-04-24 23:58:33 -05:00
2012-02-12 10:11:24 +01:00
2011-12-07 08:35:14 +01:00
2011-11-22 08:39:25 +01:00
2011-12-05 22:48:10 +01:00
2011-10-26 21:33:42 +02:00
2012-05-20 08:32:32 +02:00
2012-03-03 16:56:29 +01:00
2012-05-20 08:32:32 +02:00
2012-05-20 08:32:32 +02:00