Opened 12 years ago

Closed 12 years ago

#1659 closed bug (fixed)

broken realpath() implementation in libroot

Reported by: kaliber Owned by: axeld
Priority: normal Milestone: R1
Component: System/ Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


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, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev23087.

Note: See TracTickets for help on using tickets.