Mailing List Archive

[PATCH] unitialized value in sexp.c
Running a program that uses GnuTLS in valgrind
(http://developer.kde.org/~sewardj/) found the following potential
error:

==6673== Conditional jump or move depends on uninitialised value(s)
==6673== at 0x4045C832: gcry_mpi_print (mpicoder.c:493)
==6673== by 0x404393AB: sexp_sscan (sexp.c:1033)
==6673== by 0x404397D7: gcry_sexp_build (sexp.c:1177)

This tiny patch appears to fix the issue (and be the correct thing to
do).

No other warnings or errors were generated, although I can't tell you
what kind of code coverage there was.

Ian
Re: [PATCH] unitialized value in sexp.c [ In reply to ]
On 11 Mar 2003 23:38:21 -0500, Ian Peters said:

> ==6673== Conditional jump or move depends on uninitialised value(s)
> ==6673== at 0x4045C832: gcry_mpi_print (mpicoder.c:493)
> ==6673== by 0x404393AB: sexp_sscan (sexp.c:1033)
> ==6673== by 0x404397D7: gcry_sexp_build (sexp.c:1177)

> This tiny patch appears to fix the issue (and be the correct thing to
> do).

Thanks. Fix commited to CVS.


Salam-Shalom,

Werner