diff options
author | John Mylchreest <johnm@gentoo.org> | 2005-04-13 21:15:21 +0000 |
---|---|---|
committer | John Mylchreest <johnm@gentoo.org> | 2005-04-13 21:15:21 +0000 |
commit | 1d633e0ded629f9ee60784cd9bfb7004c060f907 (patch) | |
tree | 323f530478c4295a591346bc710cdaf66b2b05b0 /sys-apps/usermode-utilities | |
parent | Fix digests for qt4b2 (diff) | |
download | gentoo-2-1d633e0ded629f9ee60784cd9bfb7004c060f907.tar.gz gentoo-2-1d633e0ded629f9ee60784cd9bfb7004c060f907.tar.bz2 gentoo-2-1d633e0ded629f9ee60784cd9bfb7004c060f907.zip |
missing patch!
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps/usermode-utilities')
-rw-r--r-- | sys-apps/usermode-utilities/ChangeLog | 6 | ||||
-rw-r--r-- | sys-apps/usermode-utilities/files/20040406-CAN-2004-1295.patch | 21 |
2 files changed, 26 insertions, 1 deletions
diff --git a/sys-apps/usermode-utilities/ChangeLog b/sys-apps/usermode-utilities/ChangeLog index 19bc654e05ce..94d25c017f46 100644 --- a/sys-apps/usermode-utilities/ChangeLog +++ b/sys-apps/usermode-utilities/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-apps/usermode-utilities # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.19 2005/04/13 15:12:35 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/usermode-utilities/ChangeLog,v 1.20 2005/04/13 21:15:21 johnm Exp $ + + 13 Apr 2005; John Mylchreest <johnm@gentoo.org> + +files/20040406-CAN-2004-1295.patch: + missing patch! 13 Apr 2005; John Mylchreest <johnm@gentoo.org> : fixing net_slip vuln. #74482 diff --git a/sys-apps/usermode-utilities/files/20040406-CAN-2004-1295.patch b/sys-apps/usermode-utilities/files/20040406-CAN-2004-1295.patch new file mode 100644 index 000000000000..08a31b82e545 --- /dev/null +++ b/sys-apps/usermode-utilities/files/20040406-CAN-2004-1295.patch @@ -0,0 +1,21 @@ +--- tools-20040406.old/uml_net/slip.c 2002-04-28 15:47:35.000000000 -0400 ++++ tools-20040406.new/uml_net/slip.c 2005-03-07 10:40:37.000000000 -0500 +@@ -111,7 +111,7 @@ + void slip_v4(int argc, char **argv) + { + struct output output = INIT_OUTPUT; +- char *op; ++ char *op, dev[sizeof("slnnnnn\0")]; + + if(setreuid(0, 0) < 0){ + output_errno(&output, "slip - setreuid failed"); +@@ -135,7 +135,8 @@ + slip_up(0, argv[1], NULL, NULL, &output); + } + else if(!strcmp(op, "down")){ +- slip_down(argv[1], NULL, NULL, &output); ++ slip_name(0, dev, &output); ++ slip_down(dev, NULL, NULL, &output); + } + else { + printf("slip - Unknown op '%s'\n", op); |