diff options
author | Ned Ludd <solar@gentoo.org> | 2008-07-02 00:12:06 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-07-02 00:12:06 +0000 |
commit | d4f72438e42f93117fb2633d5d435e475f7e69e2 (patch) | |
tree | 6310f5f208385541378934aadf2dc59bc54b8355 | |
parent | fa0b56db76e5c4c5a375930fad358ea5a364d328 (diff) | |
download | busybox-d4f72438e42f93117fb2633d5d435e475f7e69e2.tar.gz |
- fix trivial exploit vector when setXid
-rw-r--r-- | coreutils/uname.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/uname.c b/coreutils/uname.c index 2eecb5d6d..34600e7a9 100644 --- a/coreutils/uname.c +++ b/coreutils/uname.c @@ -89,7 +89,7 @@ int uname_main(int argc, char **argv) delta = utsname_offset; do { if (toprint & 1) { - printf(((char *)(&uname_info)) + *delta); + printf("%s", ((char *)(&uname_info)) + *delta); if (toprint > 1) { bb_putchar(' '); } |