cvs commit: src/usr.bin/make main.c var.c

Max Khon fjoe at FreeBSD.org
Wed Nov 30 20:38:04 GMT 2005


fjoe        2005-11-30 20:38:03 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         main.c var.c 
  Log:
  - match_var: do not address memory at invalid address (`len' can be greater
  than strlen(var) + 1)
  - ReadMakeFile: prevent `fname' memory leak
  - ReadMakeFile: prevent double free (caused by double fclose) --
  ParsePopInput() closes input file
  
  Reviewed by:    harti
  
  Revision  Changes    Path
  1.157     +4 -2      src/usr.bin/make/main.c
  1.160     +1 -1      src/usr.bin/make/var.c


More information about the cvs-src mailing list