[PATCH] Fix bugs introduced by recent improvements to readdir_plus
- make sure cd->buffer is always inside a page - previously if an entry fit perfectly in the remainder of a page, cd->buffer would end up pointing past the end of that page. - make sure num_entry_words is always correct, even on the error path.
Showing
Please register or sign in to comment