[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Index out of bounds when applying a patch

From: Tobias Schäfer <tobiasschaefer_at_gmx.de>
Date: 2006-01-29 20:48:34 CET

Hi,

when applying a patch TortoiseMerge crashed.

I've managed to reduce the patch file which contained several files to
bug.patch (just ignore the content). This crashes TortoiseMerge when applying
the patch to revision 5576.

I debugged TortoiseMerge and noticed an index out of bound. The attached patch
out-of-bounds.patch prevents the crash. Since I don't fully understand the
code, please review.

btw, TortoiseMerge inserts unnecessary empty lines in the conflicted file, but
seems to be by design.

May I commit?

Tobias

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org

Received on Sun Jan 29 20:49:58 2006

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.