[PATCH libXaw] fix potential infinte loop in XawBoxQueryGeometry() (bug 11569)

walter harms wharms at bfs.de
Sat Dec 4 04:26:09 PST 2010


there seems some more bugs described in the bugzilla,
some a are and some seems fixed already but appear still open.
Who can close these bugs ?

re,
 wh

Am 03.12.2010 23:28, schrieb Alan Coopersmith:
> Matt Turner wrote:
>> From: Glenn Burkhardt <gbburkhardt at verizon.net>
>>
>> Originally sent to xorg@ back in July 2007.
>> http://lists.x.org/archives/xorg/2007-July/025997.html
>>
>> ---
>> Please don't ignore it this time.
> 
> It's Xaw, it's hard not to.
> 
>> -		if (width > constraint->width)
>> +		if (width > constraint->width >> 1) /* avoid short int overflow */
> 
> Parentheses please, for those without the C operator precedence rules memorized.
> 


More information about the xorg-devel mailing list