Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use a header structure for reading / writing the header structure. #17

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

thesamprice
Copy link

No description provided.

samuelhuang and others added 3 commits May 2, 2016 15:52
…flow.

One such case is 'A' * 1048575 + 'B' + 'A' * 1048575 + 'C'. Demo:
  gcc -DBSDIFF_EXECUTABLE bsdiff.c -lbz2 -o bsdiff
  perl -e "print('A'x1048575,'B','A'x1048575,'C')" > big
  ./bsdiff big big patch

Output before patch: 'Segmentation fault (core dumped)'.
Output after patch: No crash, outputs 85 byte file 'patch'.

Details: http://crbug.com/605565#c11
@otavio
Copy link

otavio commented Dec 1, 2017

It'd be nice if you could rebase it.

@thesamprice
Copy link
Author

Hmm i only wanted to merge in the commit d1edc81 in my merge i accidently pushed merge commits into my header branch....

HR1025 pushed a commit to HR1025/bsdiff that referenced this pull request Nov 21, 2022
size_t to uint64 for 32 bit systems
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants