Re: patch: crash on large files

2014-11-14 Thread Tobias Stoeckmann
Anyone into reviewing? Or suggestions? In short, this diff verifies that we don't try to write lines into the file buffer which are longer than the longest one allowed. Tobias Index: inp.c === RCS file:

patch: crash on large files

2014-11-09 Thread Tobias Stoeckmann
Hi, our patch implementation supports lines with a maximum of 8192 chars, which should be reasonably large enough. If files cannot be patched in memory, they are written into temporary files -- also known as plan b. For plan b, the maximum line length is 1024, which is still more than enough.