Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Conversation

@jfontan
Copy link
Contributor

@jfontan jfontan commented Aug 17, 2018

When the first line of the pgp signature is an empty line or some header is malformed it crashes as there's no data for the header element. For example, if author name is "\n".

When the first line of the pgp signature is an empty line or some header
is malformed it crashes as there's no data for the header element. For
example, if author name is "\n".

Signed-off-by: Javi Fontan <jfontan@gmail.com>
@jfontan jfontan requested review from a team, mcuadros and smola August 17, 2018 16:56
@jfontan jfontan added the bug label Aug 17, 2018
@mcuadros mcuadros changed the title object: fix panic when reading object header plumbing/object: fix panic when reading object header Aug 20, 2018
@mcuadros mcuadros merged commit 8120de8 into src-d:master Aug 21, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants