Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Pino Toscano
Alle mercoledì 3 aprile 2013, Steven Chamberlain ha scritto:
> > $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c
> 
> Do any packages actually do this?  Compile with -std=c90 or -ansi or
> -std and use this header?

This breaks the sys/mount.h detection done by kdelibs, which forces c90 
to stay compatible with older/broken C compilers.

In any case, whatever is the reason, a libc header should compile with 
any C version requested by the application/library.

-- 
Pino Toscano


signature.asc
Description: This is a digitally signed message part.


Bug#704623: eglibc: CVE-2013-1914: getaddrinfo() stack overflow

2013-04-03 Thread Salvatore Bonaccorso
Package: eglibc
Severity: important
Tags: security upstream

Hi,

the following vulnerability was published for eglibc.

CVE-2013-1914[0]:
getaddrinfo() stack overflow

If you fix the vulnerability please also make sure to include the
CVE (Common Vulnerabilities & Exposures) id in your changelog entry.

For further information see:

[0] http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-1914
http://security-tracker.debian.org/tracker/CVE-2013-1914
[1] https://bugzilla.novell.com/show_bug.cgi?id=813121
[2] http://marc.info/?l=oss-security&m=136498744329621&w=2

Please adjust the affected versions in the BTS as needed.

Regards,
Salvatore


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20130403174046.6406.28070.report...@elende.valinor.li



Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Steven Chamberlain
Hi Pino,

> $ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c

Do any packages actually do this?  Compile with -std=c90 or -ansi or
-std and use this header?

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/515c270f.50...@pyro.eu.org



Bug#704598: libc0.1-dev: sys/mount.h requires C99

2013-04-03 Thread Pino Toscano
Package: libc0.1-dev
Version: 2.13-38
Severity: normal

Hi,

currently, using sys/mount.h provided on kFreeBSD by glibc requires
compiling it with C99.

Basically, compiling a very tiny test case like:
vvv
#include 

int main(){return 0;}
^^
$ gcc -D_BSD_SOURCE -std=c90 -o mount mount.c
In file included from mount.c:1:0:
/usr/include/i386-kfreebsd-gnu/sys/mount.h:389:15: error: expected '=', ',', 
';', 'asm' or '__attribute__' before 'int'

while it succeeds when using -std=c99 (or equivalents).

-- 
Pino


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130403111940.16093.73998.reportbug@drak