In message <[email protected]> on Mon, 16 Feb 2009 13:51:45 +0100, 
Gerardo Ganis <[email protected]> said:

gerardo.ganis> 
gerardo.ganis>    Dear developers,
gerardo.ganis> 
gerardo.ganis>    Using version 0.9.8j, compiled with option -DPURIFY, I get 
from valgrind a warning about an
gerardo.ganis>    unitialized variable at line 494 of ui_lib.c .
gerardo.ganis> 
gerardo.ganis>    Looking at the code it looks like the field 'flags' of the 
'UI' structure is never initialized: in the
gerardo.ganis>    UI_new_method() all the other fields are initialized except 
that one.
gerardo.ganis>    Is that wanted?
gerardo.ganis>    I have checked that, by adding the following line:
gerardo.ganis> 
gerardo.ganis>       ret->flags = 0;
gerardo.ganis> 
gerardo.ganis>    in UI_new_method() (as in the attached patch) the warning 
disappears.
gerardo.ganis> 
gerardo.ganis>    Thank you for your attention,

Correct.

Patch applied.

Thanks.

-- 
Richard Levitte                         [email protected]
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to