diff options
Diffstat (limited to 'src/bsdiff-4.3/bsdiff.c')
-rw-r--r-- | src/bsdiff-4.3/bsdiff.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bsdiff-4.3/bsdiff.c b/src/bsdiff-4.3/bsdiff.c index 150a7f79c4..374ed038fa 100644 --- a/src/bsdiff-4.3/bsdiff.c +++ b/src/bsdiff-4.3/bsdiff.c @@ -277,6 +277,7 @@ int main(int argc,char *argv[]) for(scsc=scan+=len;scan<newsize;scan++) { len=search(I,old,oldsize,new+scan,newsize-scan, 0,oldsize,&pos); + if (len > 64 * 1024) break; for(;scsc<scan+len;scsc++) if((scsc+lastoffset<oldsize) && |