mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
647 B

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