Skip to content

change line size from PATH_MAX to BUFSIZ #64

wants to merge 1 commit into from

2 participants


This was clearly a typo, but it could potentially cause a buffer overflow if PATH_MAX is larger than BUFSIZ.


Unfortunately, this is prone to the same bit rot that caused this potential overflow. I pushed b063272 to deal with this using sizeof.

Thanks for the report.

@falconindy falconindy closed this Jun 17, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.