It was reported [1] that when processing a crafted diff patch will loop infinitely, which can lead to resourse consumption and local denial of service. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=776271
Created attachment 987476 [details] loop2.patch.gz
Added a reroducer, you can run it like this: $ patch any.h -i loop2.patch
Created patch tracking bugs for this issue: Affects: fedora-all [bug 1188583]
patch-2.7.4-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report.
patch-2.7.5-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.