Bug#553206: libc6: sscanf segfaults with %d on large decimal input string

2009-10-29 Thread Tim Ruehsen
Package: libc6 Version: 2.10.1-2 Severity: normal sscanf(p,%d,i) caused a SIGSEGV raised if p points to a very long input string with just decimal characters in it. that makes %d unusable for scanning untrusted input. (in my case a sip registrar). here is a code example that shows it (use

Bug#692433: getaddrinfo: Syscall param socketcall.connect(serv_addr.sin6_addr) points to uninitialised byte(s)

2012-11-06 Thread Tim Ruehsen
Package: libc6 Version: 2.13-36 Severity: normal Dear Maintainer, when calling getaddrinfo(), valgrind detects: ==7051== Syscall param socketcall.connect(serv_addr.sin6_addr) points to uninitialised byte(s) ==7051==at 0x362E6DB780: __connect_nocancel (syscall-template.S:82) ==7051==by

Bug#292523: libc6: sprintf %0lld fails if argument is 0

2005-01-27 Thread Tim Ruehsen
Package: libc6 Version: 2.3.2.ds1-20 Severity: important sprintf(buf,'%0d' '%0ld' '%0lld',0,0L,0LL); fills into buf: '0' '0' '' This is not conforming to the man page. And it breaks test runs for mozilla. This is the reason for 'important'. -- System Information: Debian Release: 3.1 APT

Bug#787807: libc6: mq_open unexpectedly fails with errno 24

2015-06-05 Thread Tim Ruehsen
Package: libc6 Severity: normal Dear Maintainer, I have an application that uses Posix message queues since a while. Today I realized that mq_open fails with errno 24 where it worked before. (errno 24: Too many open files) Here is a short C file to reproduce the problem. Before you start it,

Bug#787807: libc6: mq_open unexpectedly fails with errno 24

2015-06-15 Thread Tim Ruehsen
On Mon, 15 Jun 2015 11:55:47 +0200 Aurelien Jarno aurel...@aurel32.net wrote: Nothing has changed in the libc6 package for sometimes. When does the breakage started? I see you are using a 4.0 kernel, could it be due to that? I made some tests on Debian VMs, that I have flying around. Debian

Bug#787807: libc6: mq_open unexpectedly fails with errno 24

2015-06-15 Thread Tim Ruehsen
On Monday 15 June 2015 15:21:52 Aurelien Jarno wrote: I made some tests on Debian VMs, that I have flying around. Debian SID with 4.0 (amd64): problem as described above Debian SID with 3.16 (amd64): same problem Debian Wheezy with 3.2.0 (amd64): same problem Debian Wheezy with

Bug#818178: libc6: getaddrinfo/freeadrinfo memory leak

2016-03-14 Thread Tim Ruehsen
Package: libc6 Severity: important Dear Maintainer, getaddrinfo/freeaddrinfo seems to have a memory leak. Testcode: #include #include #include #include #include int main(void) { struct addrinfo *addrinfo, hints; memset(, 0 ,sizeof(hints)); hints.ai_family =

Bug#883407: libc6: getpwnam_r() leaks memory

2017-12-05 Thread Tim Ruehsen
Am Dienstag, den 05.12.2017, 19:17 +0100 schrieb Aurelien Jarno: > On 2017-12-03 17:34, Tim Rühsen wrote: > > Package: libc6 > > Version: 2.25-3 > > Severity: normal > > > > Dear Maintainer, > > > > valgrinding a C code shows the following: > > > > ==27943== 4,096 bytes in 1 blocks are

Bug#916779: libc6-armhf-cross: strerror(-3) sets errno to ENOMEM

2018-12-18 Thread Tim Ruehsen
Package: libc6-armhf-cross Version: 2.28-2cross2 Severity: normal Dear Maintainer, currently strerror(-3) sets errno unexpectedly to ENOMEM (12). The expected errno value would be either EINVAL or not touching errno at all. This behavior is relatively new and causes some CI cross builds to