diff options
author | markd <markd@pkgsrc.org> | 2006-03-13 00:16:23 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2006-03-13 00:16:23 +0000 |
commit | 29dd14401e395de979f08e567e3dfc9e04f05221 (patch) | |
tree | 003d490b35527d80afb671b69bb1c1d211e79222 /pkgtools/pkg_select | |
parent | 83f79ba5fe63e899d9a29b26653ac11109e80ddb (diff) | |
download | pkgsrc-29dd14401e395de979f08e567e3dfc9e04f05221.tar.gz |
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.
Diffstat (limited to 'pkgtools/pkg_select')
0 files changed, 0 insertions, 0 deletions