- Prevent buffer overflow in who(1) (bug #158405).
This commit is contained in:
parent
f316b2e29c
commit
c59bfe8981
11
coreutils-overflow.patch
Normal file
11
coreutils-overflow.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- coreutils-5.2.1/src/who.c.overflow 2005-05-25 09:59:06.000000000 +0100
|
||||
+++ coreutils-5.2.1/src/who.c 2005-05-25 10:00:31.000000000 +0100
|
||||
@@ -75,7 +75,7 @@
|
||||
# define NEW_TIME 0
|
||||
#endif
|
||||
|
||||
-#define IDLESTR_LEN 6
|
||||
+#define IDLESTR_LEN 10
|
||||
|
||||
#if HAVE_STRUCT_XTMP_UT_PID
|
||||
# define PIDSTR_DECL_AND_INIT(Var, Utmp_ent) \
|
@ -43,6 +43,7 @@ Patch908: coreutils-getgrouplist.patch
|
||||
Patch909: coreutils-zh_CN.patch
|
||||
Patch910: coreutils-gcc4.patch
|
||||
Patch911: coreutils-brokentest.patch
|
||||
Patch912: coreutils-overflow.patch
|
||||
|
||||
# From upstream
|
||||
Patch920: coreutils-dateseconds.patch
|
||||
@ -106,6 +107,7 @@ the old GNU fileutils, sh-utils, and textutils packages.
|
||||
%patch909 -p1 -b .zh_CN
|
||||
%patch910 -p1 -b .gcc4
|
||||
%patch911 -p1 -b .brokentest
|
||||
%patch912 -p1 -b .overflow
|
||||
|
||||
# From upstream
|
||||
%patch920 -p1 -b .dateseconds
|
||||
@ -248,6 +250,9 @@ fi
|
||||
/sbin/runuser
|
||||
|
||||
%changelog
|
||||
* Wed May 25 2005 Tim Waugh <twaugh@redhat.com>
|
||||
- Prevent buffer overflow in who(1) (bug #158405).
|
||||
|
||||
* Fri May 20 2005 Tim Waugh <twaugh@redhat.com> 5.2.1-47
|
||||
- Better error checking in the pam patch (bug #158189).
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user