[haiku-commits] Change in buildtools[master]: jam: jcache: Accept empty input files

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Tue, 13 Aug 2019 20:11:56 +0000

From Simon South <simon@xxxxxxxxxxxxxx>:

Simon South has uploaded this change for review. ( 
https://review.haiku-os.org/c/buildtools/+/1716 ;)


Change subject: jam: jcache: Accept empty input files
......................................................................

jam: jcache: Accept empty input files

Make new_string_list() initialize the buffer it creates to hold a file's
contents, preventing a segfault later on should jam attempt to parse the
contents of an empty file.

Fixes #15250.
---
M jam/jcache.c
1 file changed, 3 insertions(+), 1 deletion(-)



  git pull ssh://git.haiku-os.org:22/buildtools refs/changes/16/1716/1
--
To view, visit https://review.haiku-os.org/c/buildtools/+/1716
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: buildtools
Gerrit-Branch: master
Gerrit-Change-Id: I907dccd26e1ca35fbe07ed6d624b0144487134fe
Gerrit-Change-Number: 1716
Gerrit-PatchSet: 1
Gerrit-Owner: Simon South <simon@xxxxxxxxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in buildtools[master]: jam: jcache: Accept empty input files - Gerrit