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,
}
else
{
if( p + 4 > max_pos )
if( ++p + 4 > max_pos )
return 0;
i_subpacket_len = U32_AT(p);
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