Re: [dev][sbase] Readlink doesn't null-terminate buf

From: Galos, David <galosd83_AT_students.rowan.edu>
Date: Tue, 9 Jul 2013 19:41:26 -0400

> {PATH_MAX}
> Maximum number of bytes in a pathname, including the
> terminating null character.[1]

I stand corrected. I have moved the declaration of 'n' to
the beginning of main (which while not technically required
for c89 compliance, is stylistically consistent with the
rest of the project) and applied the patch.

David Galos
Received on Wed Jul 10 2013 - 01:41:26 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 10 2013 - 01:48:05 CEST