Browse Source

Benjamin Schieder:


			
			
				rocklinux
			
			
		
Benjamin Schieder 18 years ago
parent
commit
2dc0c942f5
2 changed files with 23 additions and 2 deletions
  1. +3
    -2
      package/base/at/at.desc
  2. +20
    -0
      package/base/at/usernames.patch

+ 3
- 2
package/base/at/at.desc

@ -27,6 +27,7 @@
[T] which are to be executed at a later time, using /bin/sh.
[A] Thomas Koenig {from a 1995(!) lsm entry}
[A] Ryan Murray (current maintainter) <rmurray@debian.org>
[M] Clifford Wolf <clifford@clifford.at>
[C] base/tool
@ -34,8 +35,8 @@
[L] GPL
[S] Stable
[V] 3.1.7
[V] 3.1.8 11
[P] X -?---5---9 188.000
[D] 1811998783 at-3.1.7.tar.gz ftp://tsx-11.mit.edu/pub/linux/BETA/at/
[D] 0 at_3.1.8-11.tar.gz http://ftp.debian.org/debian/pool/main/a/at/at_3.1.8-11.tar.gz

+ 20
- 0
package/base/at/usernames.patch

@ -0,0 +1,20 @@
--- at-3.1.8/atd.c
+++ at-3.1.8/atd.c
@@ -196,7 +196,7 @@
*/
pid_t pid;
int fd_out, fd_in;
- char mailbuf[9], jobbuf[9];
+ char mailbuf[256], jobbuf[9];
char *mailname = NULL;
char *newname;
FILE *stream;
@@ -299,7 +299,7 @@
* NFS and works with local file systems. It's not clear where
* the bug is located. -Joey
*/
- if (fscanf(stream, "#!/bin/sh\n# atrun uid=%d gid=%d\n# mail %8s %d",
+ if (fscanf(stream, "#!/bin/sh\n# atrun uid=%d gid=%d\n# mail %255s %d",
&nuid, &ngid, mailbuf, &send_mail) != 4)
pabort("File %.500s is in wrong format - aborting",
filename);

Loading…
Cancel
Save