Re: [PATCH] initialize struct members
Stefan Sperling wrote:
> On Wed, Sep 10, 2008 at 07:19:32PM +0200, Stefan Küng wrote:
>> Before I commit this, maybe someone likes to first review it:
>> this patch initializes all struct members in the functions
>> svn_wc_conflict_description_create_text() and
>> Found this due to crashes in TSVN - it tried to access the merged_file
>> member which had a non-NULL value but pointed to bogus memory.
> +1, referencing NULL is bad, but bogus memory is even worse.
Committed in r33017.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
Received on 2008-09-10 19:51:04 CEST
This is an archived mail posted to the Subversion Dev