diff options
author | Javi Fontan <jfontan@gmail.com> | 2018-08-17 18:52:18 +0200 |
---|---|---|
committer | Javi Fontan <jfontan@gmail.com> | 2018-08-17 18:52:18 +0200 |
commit | 166623633e285e17b0582443c9d03b842b6370fa (patch) | |
tree | 9ccd4a33da8ea9b8a569f3ba261511a5e594667b /plumbing/transport | |
parent | 7b6c1266556f59ac436fada3fa6106d4a84f9b56 (diff) | |
download | go-git-166623633e285e17b0582443c9d03b842b6370fa.tar.gz |
object: fix panic when reading object header
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>
Diffstat (limited to 'plumbing/transport')
0 files changed, 0 insertions, 0 deletions