diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2006-06-25 16:47:35 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 21:01:05 +0400 |
commit | 0928d68056fa25456830b1de9f0ee89bc37447cd (patch) | |
tree | eafca87385013b4ff11a11192de048a0e0a0b3b3 /lib/kobject.c | |
parent | 2e6113908fe76a06295cb243f1f2f0eea055b0c2 (diff) | |
download | linux-0928d68056fa25456830b1de9f0ee89bc37447cd.tar.xz |
[PATCH] openpromfs: fix missing NUL
tchars is not '\0'-terminated so the strtoul may run into problems. Fix that.
Also make tchars as big as a long in hexadecimal form would take rather than
just 16.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib/kobject.c')
0 files changed, 0 insertions, 0 deletions