1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

* mpicoder.c (do_get_buffer): Avoid zero length allocation.

Checked that all callers behave properly when NBYTES returns 0 as
the length of the allocated buffer.
This commit is contained in:
Werner Koch 2002-09-20 07:40:01 +00:00
parent 0b180a7b9a
commit 4948f99eb4
2 changed files with 12 additions and 3 deletions

View file

@ -1,3 +1,9 @@
2002-09-20 Werner Koch <wk@gnupg.org>
* mpicoder.c (do_get_buffer): Avoid zero length allocation.
Checked that all callers behave properly when NBYTES returns 0 as
the length of the allocated buffer.
2002-09-10 Werner Koch <wk@gnupg.org>
* mpi-bit.c (mpi_normalize): Replaced the check for protected by