Bug#773502: [Pkg-gnupg-maint] Bug#773502: off-by-one memory assignment

2015-01-06 Thread NIIBE Yutaka
On 12/19/2014 05:47 PM, Joshua Rogers wrote: > Package: gnupg2 > Version: 2.1.1 > Severity: normal > > in app-nks.c on line 1242, data is assigned the memory of 'datalen', > which is calculated using oldpinlen + newpinlen. > The problem is, it doesn't account for the terminating null byte, so > it

Bug#773502: [Pkg-gnupg-maint] Bug#773502: off-by-one memory assignment

2015-01-06 Thread Joshua Rogers
On 07/01/15 11:44, NIIBE Yutaka wrote: > On 12/19/2014 05:47 PM, Joshua Rogers wrote: >> Package: gnupg2 >> Version: 2.1.1 >> Severity: normal >> >> in app-nks.c on line 1242, data is assigned the memory of 'datalen', >> which is calculated using oldpinlen + newpinlen. >> The problem is, it doesn't

Bug#773502: off-by-one memory assignment

2014-12-19 Thread Joshua Rogers
Package: gnupg2 Version: 2.1.1 Severity: normal in app-nks.c on line 1242, data is assigned the memory of 'datalen', which is calculated using oldpinlen + newpinlen. The problem is, it doesn't account for the terminating null byte, so it should be datalen + 1(or, +2?, will need to check.) Thank