diff options
author | Jan Engelhardt <jengelh@gmx.de> | 2006-06-25 05:47:35 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 10:01:05 -0700 |
commit | 0928d68056fa25456830b1de9f0ee89bc37447cd (patch) | |
tree | eafca87385013b4ff11a11192de048a0e0a0b3b3 /lib | |
parent | 2e6113908fe76a06295cb243f1f2f0eea055b0c2 (diff) |
[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')
0 files changed, 0 insertions, 0 deletions