FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Fix leaks, some warnings and an error by ethomson · Pull Request #3865 · libgit2/libgit2 · GitHub

Repository navigation

Fix leaks, some warnings and an error - #3865

Merged
ethomson merged 9 commits into
masterfrom
ethomson/leaks
Aug 2, 2016
Merged

ethomson merged 9 commits into
masterfrom
ethomson/leaks

Conversation

Copy link
Copy Markdown
Member

Fix some leaks, and, oh, right, a terrible buffer overflow that I introduced in 1cd6599.

ethomson force-pushed the ethomson/leaks branch 3 times, most recently from a53e688 to 3527761 Compare July 22, 2016 18:02
Edward Thomson added 8 commits July 24, 2016 15:49
Compare the preimage to the image; don't compare the preimage to itself.
After 1cd6599, we were passing a pointer to an `unsigned long` to
a function that now expected a pointer to a `size_t`.  These types
differ on 64-bit Windows, which means that we trash the stack.

Use `size_t`s in the packbuilder to avoid this.
And give it a default so that some compilers don't (unnecessarily)
complain.
ethomson changed the title Fix leaks Fix leaks, some warnings and an error Jul 24, 2016

ethomson commented Aug 2, 2016

Copy link
Copy Markdown
Member Author

Having Windows 64 be completely broken is bumming me out. I'm going to merge this later today so that we can get through the backlog of pull requests that have piled up.

ethomson merged commit 152efee into master Aug 2, 2016
ethomson deleted the ethomson/leaks branch January 13, 2017 12:28
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL