Package: dpkg
Version: 1.13.22

In archives.c, line 943:

        /* if this gets triggered, it means a package has > 10 
conflicts/replaces
         * pairs, which is the package's fault
         */
        assert(cflict_index < (int)sizeof(conflictor));
        /* This conflict is OK - we'll remove the conflictor. */
        conflictor[cflict_index++]= fixbyrm;

This is wrong; it should result in an error message.  Also, note that
the sizeof check is entirely wrong too.  conflictor is an array of
pointers and sizeof tells you the size in bytes, not the number of
pointers it can contain.

Ian.


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

Reply via email to