cabinet: fully initialize structs in FCICreate() and FCIAddFile()

Alexandre Julliard julliard at winehq.org
Wed Oct 31 06:32:42 CDT 2007


"Dan Kegel" <dank at 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 at winehq.org



More information about the wine-devel mailing list