diff options
author | Ned Ludd <solar@gentoo.org> | 2008-07-02 04:12:06 +0400 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2008-07-02 04:12:06 +0400 |
commit | d4f72438e42f93117fb2633d5d435e475f7e69e2 (patch) | |
tree | 6310f5f208385541378934aadf2dc59bc54b8355 /coreutils/uname.c | |
parent | fa0b56db76e5c4c5a375930fad358ea5a364d328 (diff) |
- fix trivial exploit vector when setXid
Diffstat (limited to 'coreutils/uname.c')
-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(' '); } |