projects
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09fb05a
)
common: fix possible buffer overrun
author
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Mon, 30 Nov 2009 12:37:13 +0000
(21:37 +0900)
committer
MyungJoo Ham
<MyungJoo.Ham@samsung.com>
Mon, 30 Nov 2009 12:37:13 +0000
(21:37 +0900)
common/cmd_mtdparts.c
patch
|
blob
|
history
diff --git
a/common/cmd_mtdparts.c
b/common/cmd_mtdparts.c
index
b375fea
..
25538de
100644
(file)
--- a/
common/cmd_mtdparts.c
+++ b/
common/cmd_mtdparts.c
@@
-1533,7
+1533,7
@@
int mtdparts_init(void)
const char *ids, *parts;
const char *current_partition;
int ids_changed;
- char tmp_ep[PARTITION_MAXLEN];
+ char tmp_ep[PARTITION_MAXLEN
+1
];
DEBUGF("\n---mtdparts_init---\n");
if (!initialized) {