Package: dpkg
Version: 1.14.28

dpkg's version comparison is architecture-dependent (due to changes in
the size of the C long type):

(i386)$ dpkg --compare-versions 4294967296:1 '>>' 4294967295:1 ; echo $?
1
(amd64)$ dpkg --compare-versions 4294967296:1 '>>' 4294967295:1 ; echo $?
0

The second result is the correct one.  Apparently, checks for integer
overflows are missing (because strtol should return an error in this
case).



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to