pkgsrc/x11/Xaw3d/distinfo
markd 46d3dd85b6 The x11/Xaw3d library has an integer overflow error in the computation
of the geometry for a Box Layout (file Box.c).  There, the box tries
to extend its width until its height fits within the constraint height
(influenced by the window manager).  Unfortunately, widths are 16bit
unsigned and in the error case (occuring under KDE), the constraint
width is 65535, i.e. maximal.
The code loops until either the computed height is smaller than the
constraint height or the width exceeds the constraint width.  In each
loop iteration, the width of the box layout is doubled.  This loop
does not terminate, if one chooses unfortunate initial width, as the
width wraps around if it overflows 16 bits and if the maximal
constraint width is SHORT_INT_MAX.
Patch tries to capture the overflow before it wraps around the
`width' variable, setting the width to the maximal one.

From Stephan Thesing in PR pkg/32445. Bump PKGREVISION.
2006-03-13 00:16:23 +00:00

8 lines
412 B
Text

$NetBSD: distinfo,v 1.9 2006/03/13 00:16:23 markd Exp $
SHA1 (Xaw3d-1.5E.tar.gz) = efc5b923feda52866c859c59a5b553cb675a69d1
RMD160 (Xaw3d-1.5E.tar.gz) = 086cbabaa45ce5c110815aea24eebcbb54613118
Size (Xaw3d-1.5E.tar.gz) = 309264 bytes
SHA1 (patch-aa) = 7729cfe83671f482670350ead9ccf1bfe3e932e3
SHA1 (patch-ab) = 9bbe44041708b2d01b728638ac07e32addc01cff
SHA1 (patch-ac) = cce339b75bdfe407608f004eaf1f22fca26ecd5e