Skip to content

Conversation

@jmtd
Copy link

@jmtd jmtd commented May 22, 2011

Tomm: please disregard my previous pull request, which was bad. (Sorry, rusty at C). This one works :-)

I experimented with stack-allocated fixed buffers for use with realpath but unfortunately PATH_MAX is not portable.

Ensure that the return of realpath is checked for NULL before
access. Ensure that the return value is free'd before it falls
out of scope. Related tidying up.

Ensure that the return of realpath is checked for NULL before
access.  Ensure that the return value is free'd before it falls
out of scope.  Related tidying up.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant