cvs commit: src/usr.sbin/lpr/lpc lpc.c
    Xin LI 
    delphij at FreeBSD.org
       
    Tue Feb 15 10:23:02 GMT 2005
    
    
  
delphij     2005-02-15 10:23:01 UTC
  FreeBSD src repository
  Modified files:
    usr.sbin/lpr/lpc     lpc.c 
  Log:
  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)
  MFC After:      1 week
  
  Revision  Changes    Path
  1.29      +1 -1      src/usr.sbin/lpr/lpc/lpc.c
    
    
More information about the cvs-all
mailing list