[xml/sgml-pkgs] Bug#695846: warning: call to __builtin___memcpy_chk will always overflow destination buffer

Mathieu Malaterre malat at debian.org
Thu Dec 13 11:52:18 UTC 2012


Package: refdb
Severity: important

There seems to be a memory overrun in refdb package, as explained by the build log:

backend-mods.c: In function 'add_partinfo_mods':
backend-mods.c:1121:12: warning: assignment discards 'const' qualifier from pointer target type [enabled by default]
In file included from /usr/include/string.h:642:0,
                 from risdb.c:26:
In function 'strcpy',
    inlined from 'process_ris_set' at risdb.c:1570:12:
/usr/include/i386-linux-gnu/bits/string3.h:105:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default]
In function 'strcpy',
    inlined from 'process_ris_set' at risdb.c:1573:12:
/usr/include/i386-linux-gnu/bits/string3.h:105:3: warning: call to __builtin___memcpy_chk will always overflow destination buffer [enabled by default]

ref:
https://buildd.debian.org/status/fetch.php?pkg=refdb&arch=i386&ver=0.9.9-1&stamp=1353169906

Thanks

-- System Information:
Debian Release: 6.0.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (200, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



More information about the debian-xml-sgml-pkgs mailing list