Opened 11 years ago

Closed 11 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:
Has a Patch: no 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 Changed 11 years ago by axeld

Resolution: fixed
Status: newclosed

Fixed in hrev23087.

Note: See TracTickets for help on using tickets.