[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    Re: cabinet: fully initialize structs in FCICreate() and FCIAddFile()
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2007-10-31 11:32:42
Message-ID: 87hck7msdh.fsf () wine ! dyndns ! org
[Download RAW message or body]

"Dan Kegel" <dank@kegel.com> writes:

> Rather than hunt it down precisely, I applied
> the old "memset the struct to zero when allocating"
> meme, which in some circles is considered the "right"
> way to avoid this kind of problem.  (I halfway expect
> Alexandre to say "don't be so lazy", but it's worth a try.)

Don't be so lazy.

;-)

-- 
Alexandre Julliard
julliard@winehq.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic