Opened 17 years ago

Closed 17 years ago

#1659 closed bug (fixed)

broken realpath() implementation in libroot

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: System/libroot.so Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

http://www.opengroup.org/onlinepubs/000095399/functions/realpath.html

I understand "If resolved_name is a null pointer, the behavior of realpath() is implementation-defined." but it shouldn't be a crash.

#include <stdlib.h>
main() {
    char *newpath = realpath("/bin", NULL);
}

Change History (1)

comment:1 by axeld, 17 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev23087.

Note: See TracTickets for help on using tickets.