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
>Organization:
>Environment:
>Description:

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

>How-To-Repeat:

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

>Fix:

Unknown.



Home | Main Index | Thread Index | Old Index