diff options
author | 2013-10-01 22:13:34 -0700 | |
---|---|---|
committer | 2013-10-02 20:01:56 -0400 | |
commit | 20928bd3f08afb036c096d9559d581926b895918 (patch) | |
tree | 08bcf584e90c96224052645497e87c38d3083949 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net (diff) | |
download | linux-dev-20928bd3f08afb036c096d9559d581926b895918.tar.xz linux-dev-20928bd3f08afb036c096d9559d581926b895918.zip |
sparc: fix ldom_reboot buffer overflow harder
The length argument to strlcpy was still wrong. It could overflow the end of
full_boot_str by 5 bytes. Instead of strcat and strlcpy, just use snprint.
Reported-by: Brad Spengler <spender@grsecurity.net>
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions