fix examples/network/clone.c: heap-buffer-overflow by fcharlie · Pull Request #4074 · libgit2/libgit2 · GitHub
Skip to content

fix examples/network/clone.c: heap-buffer-overflow#4074

Merged
ethomson merged 1 commit into
libgit2:masterfrom
fcharlie:master
Jan 11, 2017
Merged

fix examples/network/clone.c: heap-buffer-overflow#4074
ethomson merged 1 commit into
libgit2:masterfrom
fcharlie:master

Conversation

@fcharlie

@fcharlie fcharlie commented Jan 9, 2017

Copy link
Copy Markdown
Contributor

Format of a length of string to the correct format is:%.*s

How to reproduce? Used when compiling libgit2 AddressSanitizer flag
-fsanitize=address -fno-omit-frame-pointer,
then under the example program gives you.

Format of a length of string to the correct format is:%.*s
@ethomson

Copy link
Copy Markdown
Member

@ethomson ethomson merged commit ffe259d into libgit2:master Jan 11, 2017
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.

2 participants