NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/45572: EFAULT from time(3)

>Number:         45572
>Category:       lib
>Synopsis:       EFAULT from time(3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Nov 05 17:45:00 +0000 2011
>Originator:     Jukka Ruohonen
>Release:        NetBSD 5.99.55

Supplying invalid memory address to time(3) results memory fault instead of
failing with EFAULT.


        (void)time((void *)-1);



Home | Main Index | Thread Index | Old Index