* mpicoder.c (do_get_buffer): Avoid zero length allocation.
authorWerner Koch <wk@gnupg.org>
Fri, 20 Sep 2002 07:40:01 +0000 (07:40 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 20 Sep 2002 07:40:01 +0000 (07:40 +0000)
commit4948f99eb44ede223344ba3fd1719f797b430ade
tree03f04d9e228e53cd7a21b2313a7d9b51f9cf1b88
parent0b180a7b9a8e556693e1fb68e7c377facaee992b
* 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.
mpi/ChangeLog
mpi/mpicoder.c