[gnutls-dev] Off-by-one error in gnutls_openpgp.c

Adam Langley agl at imperialviolet.org
Mon Sep 25 23:55:37 CEST 2006


(line numbers from last night's snapshot, problem exists in at least
1.4.4 at well)

gnutls_openpgp.c:225
The argument to the malloc is too small, I think it should be 2 + 4 +
size. That makes sense given the comment at the top of the function as
well.

Cheers,

AGL

-- 
Adam Langley                                      agl at imperialviolet.org
http://www.imperialviolet.org                       650-283-9641



More information about the Gnutls-dev mailing list