projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
527c80f
)
CM5200: Fix missing null-termination in hostname manipulation code
author
Bartlomiej Sieka
<tur@semihalf.com>
Fri, 5 Oct 2007 07:46:06 +0000
(09:46 +0200)
committer
Bartlomiej Sieka
<tur@semihalf.com>
Fri, 5 Oct 2007 07:46:06 +0000
(09:46 +0200)
Signed-off-by: Bartlomiej Sieka <tur@semihalf.com>
board/cm5200/cm5200.c
patch
|
blob
|
history
diff --git
a/board/cm5200/cm5200.c
b/board/cm5200/cm5200.c
index b74ac08bce32dae33dd827b3ace5fb69242741aa..e2ab5b8e265faf1853ae1dfd84391679253b0c1b 100644
(file)
--- a/
board/cm5200/cm5200.c
+++ b/
board/cm5200/cm5200.c
@@
-397,6
+397,7
@@
int misc_init_r(void)
"operational\n");
/* set the hostname appropriate to the module we're running on */
+ hostname[0] = 0x00;
compose_hostname(hw_id, hostname);
setenv("hostname", hostname);