cvs commit: src/usr.sbin/lpr/lpc lpc.c

Joerg Sonnenberger joerg at
Tue Feb 15 08:33:50 PST 2005

joerg       2005/02/15 08:32:46 PST

DragonFly src repository

  Modified files:
    usr.sbin/lpr/lpc     lpc.c 
  Be more careful when doing el_parse() - only do it when el is
  properly initialized, that happens when lpc is called from a tty.
  Without this change, it's possible to get SIGSEGV simply doing:
          echo "..:" | lpc
  Reported by:    Wojciech A. Koszek <dunstan at freebsd czest pl>
  PR:             77462 (patch rewritten by myself)
  lpc.c, 1.29
  Obtained-from:	FreeBSD
  Submitted-by:	Xin Li (delphij at freebsd)
  Revision  Changes    Path
  1.5       +1 -1      src/usr.sbin/lpr/lpc/lpc.c

More information about the Commits mailing list