Comment 44 for bug 26650

Revision history for this message
In , Martin Pitt (pitti) wrote : Re: Bug#342292: Fwd: Re: [vendor-sec] xpdf update - patch wrong?

Hi Florian!

Florian Weimer [2005-12-09 11:53 +0100]:
> * Martin Pitt:
>
> > - For invalid (big) positive values of nObjs which, when multiplied with nObjs
> > overflow an int, we have two cases:
>
> But neither ISO C nor GNU C make any promises regarding this case.
> Overflow is undefined, period.

Ah, right, I mixed that up with additive overflow (which is defined).
Thanks for the cluebat.

Well, in terms of the current security update this is irrelevant
anyway since gmalloc() is not yet used.

Martin

--
Martin Pitt http://www.piware.de
Ubuntu Developer http://www.ubuntu.com
Debian Developer http://www.debian.org

In a world without walls and fences, who needs Windows and Gates?