diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-27 11:59:32 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-07-14 13:47:31 +0100 |
commit | 213b279baaae27a4285eb354f11e3c3b1986d129 (patch) | |
tree | 95770a571f11fbce82fbc5b91f6ce1ffe0860985 /shell | |
parent | 32fb4fe097115b23914832d26dba4d1de62f5f17 (diff) | |
download | busybox-w32-213b279baaae27a4285eb354f11e3c3b1986d129.tar.gz busybox-w32-213b279baaae27a4285eb354f11e3c3b1986d129.tar.bz2 busybox-w32-213b279baaae27a4285eb354f11e3c3b1986d129.zip |
fixdep: be careful about handling empty lines correctly
The current code without this patch is seriously flawed, as it can
easily overrun the buffer while looking for the *beginning* of the
line.
The symptom when trying to build without this patch in Git for
Windows' SDK (which is a special-purpose version of MSYS2) is:
$ make mingw64_defconfig && make -j15
HOSTCC scripts/basic/fixdep
make[1]: *** [scripts/Makefile.host:104: scripts/basic/fixdep] Error 127
make: *** [Makefile:358: scripts_basic] Error 2
make: *** [Makefile:358: scripts_basic] Error 2
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions