Commit 854254ce authored by Rafaël Carré's avatar Rafaël Carré

update: fix invalid parsing

parent b48ee570
...@@ -255,7 +255,7 @@ static size_t parse_signature_v4_packet( signature_packet_t *p_sig, ...@@ -255,7 +255,7 @@ static size_t parse_signature_v4_packet( signature_packet_t *p_sig,
} }
else else
{ {
if( p + 4 > max_pos ) if( ++p + 4 > max_pos )
return 0; return 0;
i_subpacket_len = U32_AT(p); i_subpacket_len = U32_AT(p);
p += 4; p += 4;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment