Hi,

Starting with commit v2.6.1-165-gc43eeb2, output_file function is unable
to handle to == NULL, and GNU patch now segfaults on this test case:

$ echo data > target && patch -p1 << '__EOF__'
diff --git a/target b/target
index 1..0
__EOF__
patching file target
File target is not empty after patch, as expected
Segmentation fault


-- 
ldv

Attachment: pgpsHRqmkHQSl.pgp
Description: PGP signature

Reply via email to