[Png-mng-security] potentially serious memory handling error in libpng

Tom Lane tgl at sss.pgh.pa.us
Thu Feb 5 15:20:42 UTC 2009


glennrp at comcast.net writes:
> In the other hand, we have been getting away with using memset 
> to initialize pointers to zero all along.

As has every other piece of C software on the planet.  Don't worry about
it.  (The memset also seems much less likely to fall victim to any
hypothetical overaggressive-optimization bugs.)

			regards, tom lane



More information about the png-mng-security-archive mailing list