Mailing List Archive

patch for gcry_mpi_print
The attached patch prevents some valgrind warnings.

--
Nikos Mavroyanopoulos
Re: patch for gcry_mpi_print [ In reply to ]
On Tue, 1 Apr 2003 22:47:39 +0300, Nikos Mavroyanopoulos said:

> The attached patch prevents some valgrind warnings.

Thanks. However the actual culprit is

if (n > len && buffer)

which should read

if (buffer && n > len)


mea culpa,

Werner

--
Nonviolence is the greatest force at the disposal of
mankind. It is mightier than the mightiest weapon of
destruction devised by the ingenuity of man. -Gandhi