This problem appeared on my Debian Unstable AMD64 today.
file: apt-pkg/deb/debsrcrecords.cc
function: const char **debSrcRecordParser::Binaries()
When:
if (Bins.length() > sizeof(Buffer))
is true, then it blows up....
Judging from the comment there seems to be some performance hack there
for when there is a long string....
Buf contains this long string when it blows up:
spca5xx-modules-2.6.18-3-686-bigmem, unionfs-modules-2.6-r4k-kn04,
spca5xx-modules-2.6-amd64, redhat-cluster-modules-2.6.18-3-atari,
unionfs-modules-2.6.18-3-itanium, redhat-cluster-modules-2.6.18-3-sparc32,
redhat-cluster-modules-2.6-vserver-s390x, unionfs-modules-2.6-iop32x,
unionfs-modules-2.6.18-3-686, redhat-cluster-modules-2.6.18-3-powerpc-miboot,
unionfs-modules-2.6-r3k-kn02, unionfs-modules-2.6.18-3-r5k-cobalt,
squashfs-modules-2.6-parisc, unionfs-modules-2.6-itanium,
redhat-cluster-modules-2.6-686-bigmem, squashfs-modules-2.6-s390,
redhat-cluster-modules-2.6.18-3-alpha-legacy, spca5xx-modules-2.6-686,
redhat-cluster-modules-2.6.18-3-rpc,
redhat-cluster-modules-2.6.18-3-vserver-k7, unionfs-modules-2.6.18-3-ixp4xx,
unionfs-modules-2.6-s3c2410, unionfs-modules-2.6.18-3-rpc,
squashfs-modules-2.6-r4k-ip22, redhat-cluster-modules-2.6.18-3-vserver-alpha,
spca5xx-modules-2.6.18-3-vserver-686, spca5xx-modules-2.6.18-3-xen-686,
squashfs-modules-2.6-parisc64-smp, squashfs-modules-2.6.18-3-r4k-ip22,
spca5xx-modules-2.6.18-3-amd64, unionfs-modules-2.6.18-3-powerpc-smp,
squashfs-modules-2.6-vserver-powerpc,
redhat-cluster-modules-2.6.18-3-alpha-smp, spca5xx-modules-2.6-vserver-k7,
spca5xx-modules-2.6.18-3-486, unionfs-modules-2.6-sb1a-bcm91480b,
squashfs-modules-2.6-mckinley, redhat-cluster-modules-2.6-sparc32,
squashfs-modules-2.6.18-3-xen-amd64, squashfs-modules-2.6.18-3-vserver-686,
unionfs-modules-2.6.18-3-s390x, mol-modules-2.6.18-3-powerpc-miboot,
redhat-cluster-modules-2.6-r5k-ip32, redhat-cluster-modules-2.6-alpha-legacy,
redhat-cluster-modules-2.6-sb1a-bcm91480b, unionfs-modules-2.6-powerpc-smp,
unionfs-modules-2.6.18-3-k7, redhat-cluster-modules-2.6.18-3-xen-amd64,
squashfs-modules-2.6.18-3-amd64, squashfs-modules-2.6.18-3-r5k-ip32,
squashfs-modules-2.6.18-3-vserver-alpha, squashfs-modules-2.6.18-3-s390,
unionfs-modules-2.6.18-3-prep, squashfs-modules-2.6-686,
squashfs-modules-2.6-prep, squashfs-modules-2.6.18-3-mckinley,
redhat-cluster-modules-2.6-amiga, unionfs-modules-2.6.18-3-footbridge,
unionfs-modules-2.6-parisc, redhat-cluster-modules-2.6.18-3-parisc64-smp,
redhat-cluster-modules-2.6.18-3-itanium, unionfs-modules-2.6-alpha-smp,
spca5xx-modules-2.6-powerpc64, squashfs-modules-2.6.18-3-vserver-amd64,
redhat-cluster-modules-2.6-mckinley, redhat-cluster-modules-2.6.18-3-xen-k7,
squashfs-modules-2.6.18-3-footbridge, squashfs-modules-2.6-sb1-bcm91250a,
squashfs-modules-2.6.18-3-xen-686, redhat-cluster-modules-2.6-parisc,
redhat-cluster-modules-2.6.18-3-alpha-generic, unionfs-modules-2.6-k7,
redhat-cluster-modules-2.6.18-3-486, redhat-cluster-modules-2.6-486,
redhat-cluster-modules-2.6.18-3-parisc-smp, unionfs-modules-2.6.18-3-486,
redhat-cluster-modules-2.6.18-3-qemu, unionfs-modules-2.6-powerpc64,
unionfs-modules-2.6.18-3-sparc64, unionfs-modules-2.6-686-bigmem,
redhat-cluster-modules-2.6.18-3-sb1-bcm91250a,
squashfs-modules-2.6.18-3-vserver-powerpc64,
redhat-cluster-modules-2.6.18-3-xen-vserver-amd64, squashfs-modules-2.6-atari,
unionfs-modules-2.6-r5k-cobalt, redhat-cluster-modules-2.6.18-3-iop32x,
squashfs-modules-2.6.18-3-xen-k7, redhat-cluster-modules-2.6-vserver-686,
squashfs-modules-2.6-xen-686, unionfs-modules-2.6-parisc-smp,
spca5xx-modules-2.6.18-3-xen-vserver-amd64,
squashfs-modules-2.6.18-3-sparc64-smp, redhat-cluster-modules-2.6-parisc64-smp,
redhat-cluster-modules-2.6.18-3-k7,
squashfs-modules-2.6.18-3-xen-vserver-amd64, redhat-cluster-modules-2.6-atari,
mol-modules-2.6-powerpc-smp, squashfs-modules-2.6-amiga,
squashfs-modules-2.6-xen-vserver-686, squashfs-modules-2.6.18-3-atari,
squashfs-modules-2.6.18-3-sb1a-bcm91480b,
squashfs-modules-2.6.18-3-xen-vserver-686, redhat-cluster-modules-2.6-r4k-kn04,
redhat-cluster-modules-2.6-vserver-sparc64,
redhat-cluster-modules-2.6-powerpc-miboot, redhat-cluster-modules-2.6-mac,
spca5xx-modules-2.6-vserver-amd64, unionfs-modules-2.6.18-3-alpha-legacy,
spca5xx-modules-2.6.18-3-vserver-amd64,
redhat-cluster-modules-2.6.18-3-xen-686, redhat-cluster-modules-2.6.18-3-prep,
redhat-cluster-modules-2.6.18-3-vserver-amd64, squashfs-modules-2.6-486,
unionfs-modules-2.6.18-3-sparc32, spca5xx-modules-2.6.18-3-powerpc64,
redhat-cluster-modules-2.6-powerpc, mol-modules-2.6.18-3-powerpc-smp,
squashfs-modules-2.6-sb1a-bcm91480b, squashfs-modules-2.6.18-3-486,
unionfs-modules-2.6-686, squashfs-modules-2.6.18-3-powerpc,
squashfs-modules-2.6.18-3-sparc32, squashfs-modules-2.6-iop32x,
redhat-cluster-modules-2.6-alpha-generic,
redhat-cluster-modules-2.6.18-3-vserver-powerpc,
redhat-cluster-modules-2.6.18-3-amiga, unionfs-modules-2.6-sb1-bcm91250a,
squashfs-modules-2.6-r5k-ip32, squashfs-modules-2.6-powerpc-miboot,
redhat-cluster-modules-2.6-powerpc-smp, unionfs-modules-2.6-r4k-ip22,
unionfs-modules-2.6.18-3-sb1-bcm91250a, redhat-cluster-modules-2.6-xen-686,
redhat-cluster-modules-2.6-vserver-powerpc64,
unionfs-modules-2.6.18-3-powerpc64, redhat-cluster-modules-2.6-parisc-smp,
squashfs-modules-2.6.18-3-vserver-k7, squashfs-modules-2.6-vserver-686,
squashfs-modules-2.6.18-3-k7, redhat-cluster-modules-2.6-s390x,
squashfs-modules-2.6-ixp4xx, mol-modules-2.6-powerpc,
spca5xx-modules-2.6-xen-686, squashfs-modules-2.6-s3c2410,
unionfs-modules-2.6.18-3-alpha-smp, spca5xx-modules-2.6-k7,
redhat-cluster-modules-2.6.18-3-vserver-s390x, spca5xx-modules-2.6-xen-k7,
spca5xx-modules-2.6.18-3-powerpc-miboot, spca5xx-modules-2.6.18-3-prep,
unionfs-modules-2.6-s390x, squashfs-modules-2.6.18-3-powerpc-smp,
unionfs-modules-2.6.18-3-sb1a-bcm91480b,
redhat-cluster-modules-2.6-vserver-powerpc,
redhat-cluster-modules-2.6-r3k-kn02, unionfs-modules-2.6.18-3-parisc64-smp,
spca5xx-modules-2.6.18-3-powerpc-smp, spca5xx-modules-2.6-xen-vserver-amd64,
unionfs-modules-2.6.18-3-atari, squashfs-modules-2.6-parisc-smp,
unionfs-modules-2.6.18-3-powerpc-miboot, unionfs-modules-2.6-alpha-legacy,
redhat-cluster-modules-2.6.18-3-r4k-ip22,
squashfs-modules-2.6.18-3-vserver-powerpc, squashfs-modules-2.6-powerpc64,
mol-modules-2.6-powerpc-miboot, redhat-cluster-modules-2.6.18-3-ixp4xx,
unionfs-modules-2.6-486, squashfs-modules-2.6-vserver-alpha,
unionfs-modules-2.6-alpha-generic, spca5xx-modules-2.6.18-3-vserver-powerpc,
spca5xx-modules-2.6.18-3-powerpc, redhat-cluster-modules-2.6.18-3-r3k-kn02,
redhat-cluster-modules-2.6.18-3-powerpc-smp, unionfs-modules-2.6-rpc,
unionfs-modules-2.6.18-3-alpha-generic, squashfs-modules-2.6-itanium,
spca5xx-modules-2.6.18-3-k7, redhat-cluster-modules-2.6.18-3-s390x,
squashfs-modules-2.6-footbridge, redhat-cluster-modules-2.6-amd64,
squashfs-modules-2.6-alpha-legacy, squashfs-modules-2.6-vserver-powerpc64,
redhat-cluster-modules-2.6-itanium, spca5xx-modules-2.6-powerpc-miboot,
mol-modules-2.6.18-3-vserver-powerpc, squashfs-modules-2.6-vserver-k7,
redhat-cluster-modules-2.6-powerpc64, squashfs-modules-2.6.18-3-qemu,
squashfs-modules-2.6.18-3-parisc, squashfs-modules-2.6.18-3-mac,
unionfs-modules-2.6.18-3-r4k-kn04, unionfs-modules-2.6-mckinley,
squashfs-modules-2.6-mac, squashfs-modules-2.6.18-3-prep,
squashfs-modules-2.6-alpha-smp, redhat-cluster-modules-2.6-prep,
squashfs-modules-2.6-r4k-kn04, squashfs-modules-2.6.18-3-sparc64,
redhat-cluster-modules-2.6-sb1-bcm91250a, unionfs-modules-2.6.18-3-powerpc,
unionfs-modules-2.6.18-3-686-bigmem,
spca5xx-modules-2.6.18-3-vserver-powerpc64,
redhat-cluster-modules-2.6-xen-vserver-amd64, unionfs-modules-2.6.18-3-s390,
squashfs-modules-2.6-xen-amd64, squashfs-modules-2.6-xen-k7,
squashfs-modules-2.6.18-3-alpha-generic, squashfs-modules-2.6.18-3-686-bigmem,
redhat-cluster-modules-2.6.18-3-s3c2410, squashfs-modules-2.6.18-3-itanium,
redhat-cluster-modules-2.6.18-3-vserver-sparc64,
redhat-cluster-modules-2.6.18-3-r5k-cobalt,
squashfs-modules-2.6.18-3-alpha-legacy, squashfs-modules-2.6-vserver-amd64,
redhat-cluster-modules-2.6.18-3-sb1a-bcm91480b,
squashfs-modules-2.6.18-3-r5k-cobalt, redhat-cluster-modules-2.6.18-3-powerpc,
redhat-cluster-modules-2.6.18-3-mac, spca5xx-modules-2.6.18-3-xen-vserver-686,
unionfs-modules-2.6-s390, squashfs-modules-2.6.18-3-ixp4xx,
redhat-cluster-modules-2.6.18-3-mckinley, squashfs-modules-2.6-qemu,
spca5xx-modules-2.6.18-3-686, redhat-cluster-modules-2.6.18-3-parisc64,
squashfs-modules-2.6-sparc64, squashfs-modules-2.6.18-3-vserver-s390x,
squashfs-modules-2.6.18-3-powerpc-miboot, unionfs-modules-2.6-amiga,
unionfs-modules-2.6.18-3-qemu, squashfs-modules-2.6-686-bigmem,
unionfs-modules-2.6.18-3-mac, squashfs-modules-2.6.18-3-rpc,
unionfs-modules-2.6.18-3-r4k-ip22, redhat-cluster-modules-2.6-xen-amd64,
unionfs-modules-2.6.18-3-iop32x, squashfs-modules-2.6.18-3-sb1-bcm91250a,
redhat-cluster-modules-2.6-686, redhat-cluster-modules-2.6.18-3-s390,
squashfs-modules-2.6.18-3-parisc-smp, spca5xx-modules-2.6-486,
unionfs-modules-2.6-sparc64-smp, unionfs-modules-2.6-r5k-ip32,
unionfs-modules-2.6.18-3-sparc64-smp, squashfs-modules-2.6-parisc64,
squashfs-modules-2.6.18-3-vserver-sparc64, unionfs-modules-2.6.18-3-r5k-ip32,
unionfs-modules-2.6.18-3-r3k-kn02, unionfs-modules-2.6-sparc64,
spca5xx-modules-2.6.18-3-xen-k7, unionfs-modules-2.6-powerpc,
squashfs-modules-2.6-rpc, squashfs-modules-2.6-sparc32,
unionfs-modules-2.6-sparc32, unionfs-modules-2.6-powerpc-miboot,
unionfs-modules-2.6-prep, redhat-cluster-modules-2.6-iop32x,
redhat-cluster-modules-2.6.18-3-powerpc64,
redhat-cluster-modules-2.6.18-3-r4k-kn04,
redhat-cluster-modules-2.6.18-3-vserver-686,
squashfs-modules-2.6.18-3-r4k-kn04, mol-modules-2.6.18-3-powerpc,
redhat-cluster-modules-2.6-alpha-smp, unionfs-modules-2.6.18-3-s3c2410,
redhat-cluster-modules-2.6.18-3-amd64, spca5xx-modules-2.6-vserver-powerpc64,
spca5xx-modules-2.6-vserver-powerpc, squashfs-modules-2.6-r3k-kn02,
squashfs-modules-2.6-powerpc-smp, squashfs-modules-2.6-k7,
redhat-cluster-modules-2.6-vserver-alpha, unionfs-modules-2.6.18-3-parisc,
redhat-cluster-modules-2.6-s390,
redhat-cluster-modules-2.6.18-3-xen-vserver-686,
squashfs-modules-2.6-alpha-generic, squashfs-modules-2.6-amd64,
spca5xx-modules-2.6-xen-amd64, redhat-cluster-modules-2.6.18-3-sparc64-smp,
redhat-cluster-modules-2.6.18-3-parisc,
redhat-cluster-modules-2.6-xen-vserver-686, squashfs-modules-2.6-vserver-s390x,
redhat-cluster-modules-2.6-r4k-ip22, squashfs-modules-2.6-r5k-cobalt,
squashfs-modules-2.6-s390x, spca5xx-modules-2.6.18-3-vserver-k7,
unionfs-modules-2.6-parisc64-smp, redhat-cluster-modules-2.6-sparc64,
unionfs-modules-2.6-atari, redhat-cluster-modules-2.6.18-3-686-bigmem,
squashfs-modules-2.6-vserver-sparc64,
redhat-cluster-modules-2.6.18-3-vserver-powerpc64,
squashfs-modules-2.6.18-3-r3k-kn02, spca5xx-modules-2.6-686-bigmem,
unionfs-modules-2.6-footbridge, unionfs-modules-2.6-parisc64,
spca5xx-modules-2.6-vserver-686, squashfs-modules-2.6.18-3-alpha-smp,
squashfs-modules-2.6.18-3-parisc64-smp, unionfs-modules-2.6-mac,
squashfs-modules-2.6.18-3-s390x, squashfs-modules-2.6.18-3-s3c2410,
spca5xx-modules-2.6-prep, redhat-cluster-modules-2.6-sparc64-smp,
redhat-cluster-modules-2.6-rpc, unionfs-modules-2.6-amd64,
redhat-cluster-modules-2.6-vserver-k7, redhat-cluster-modules-2.6.18-3-sparc64,
redhat-cluster-modules-2.6-s3c2410, squashfs-modules-2.6.18-3-iop32x,
redhat-cluster-modules-2.6.18-3-r5k-ip32, squashfs-modules-2.6.18-3-powerpc64,
redhat-cluster-modules-2.6.18-3-686, spca5xx-modules-2.6-powerpc,
unionfs-modules-2.6.18-3-parisc-smp, unionfs-modules-2.6-ixp4xx,
unionfs-modules-2.6.18-3-parisc64, redhat-cluster-modules-2.6.18-3-footbridge,
unionfs-modules-2.6-qemu, spca5xx-modules-2.6-powerpc-smp,
redhat-cluster-modules-2.6-ixp4xx, unionfs-modules-2.6.18-3-amiga,
redhat-cluster-modules-2.6-k7, unionfs-modules-2.6.18-3-mckinley,
squashfs-modules-2.6.18-3-parisc64, redhat-cluster-modules-2.6-r5k-cobalt,
squashfs-modules-2.6-powerpc, redhat-cluster-modules-2.6-footbridge,
mol-modules-2.6-vserver-powerpc, squashfs-modules-2.6.18-3-amiga,
squashfs-modules-2.6-sparc64-smp, redhat-cluster-modules-2.6-vserver-amd64,
redhat-cluster-modules-2.6-xen-k7, squashfs-modules-2.6-xen-vserver-amd64,
redhat-cluster-modules-2.6-qemu, redhat-cluster-modules-2.6-parisc64,
unionfs-modules-2.6.18-3-amd64, squashfs-modules-2.6.18-3-686,
spca5xx-modules-2.6.18-3-xen-amd64, spca5xx-modules-2.6-xen-vserver-686
Gotta run.... HTH.
--
Regards,
Andreas Henriksson