Actions
| Post | |
| Subscribe | |
| Unsubscribe |
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [arm-gnu] Bug in arm-2009q3-63 arm-none-linux-gnueabi glibc
- To: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxxxxxxxx>
- Subject: Re: [arm-gnu] Bug in arm-2009q3-63 arm-none-linux-gnueabi glibc
- From: Daniel Jacobowitz <dan@xxxxxxxxxxxxxxxx>
- Date: Tue, 9 Feb 2010 08:40:56 -0500
On Tue, Feb 09, 2010 at 12:43:59PM +0100, Alexander Stein wrote: > Hello, > > today I got a segmentation fault inside the glibc function times > (sysdeps/unix/sysv/linux/times.c). > After some researches I found out that the return value from the syscall can > be EFAULT even if buf is NULL which is totally legal. No, passing a NULL buf to times is not legal. Unless the documentation of a POSIX function specifically says otherwise, pointer arguments are required to point to a valid object. -- Daniel Jacobowitz CodeSourcery
- References:
- [arm-gnu] Bug in arm-2009q3-63 arm-none-linux-gnueabi glibc
- From: Alexander Stein
- [arm-gnu] Bug in arm-2009q3-63 arm-none-linux-gnueabi glibc
- Prev by Date: Re: [arm-gnu] libstdc++
- Next by Date: [arm-gnu] Reminder: International mobility of researchers
- Previous by thread: [arm-gnu] Bug in arm-2009q3-63 arm-none-linux-gnueabi glibc
- Next by thread: [arm-gnu] Reminder: International mobility of researchers
- Index(es):