cvs commit: src/usr.bin/sed process.c

Tim J. Robbins tjr at FreeBSD.org
Sun Nov 2 15:20:25 PST 2003


tjr         2003/11/02 15:20:24 PST

  FreeBSD src repository

  Modified files:
    usr.bin/sed          process.c 
  Log:
  Change the buffer length test in NEEDSP() so that it does not
  subtract one unsigned number from another potentially smaller
  one, leading to wraparound (and heap corruption, eventually).
  
  PR:             58813
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.32      +2 -1      src/usr.bin/sed/process.c


More information about the cvs-src mailing list