Share

Delta Update

Tracker: Patches

5 Fix for bdelta crash on creating large binary patch file - ID: 1597132
Last Update: Attachment added ( ssvb )

bdelta can run out of stack when creating a large binary patch because it
allocates some of the buffers on stack (copyloc1, copyloc2, copynum),
changing allocation to heap helps to resolve the problem, a patch is
attached.

I can't provide a testcase, because the source and destination files that
got this problem triggered for me are quite big.


Siarhei Siamashka ( ssvb ) - 2006-11-15 17:12

5

Open

None

Nobody/Anonymous

None

None

Public


Comments




Log in to comment.

No follow-up comments have been posted.

Attached File ( 1 )

Filename Description Download
bdelta-fix.diff Download

Change ( 1 )

Field Old Value Date By
File Added 202971: bdelta-fix.diff 2006-11-15 17:12 ssvb