Displaying 1 result from an estimated 1 matches for "e4814be".
Did you mean:
b7814be
2011 Jun 24
4
[PATCH 0/2] Correct various strndup() problems
The current implementation of strndup() has some shortcomings that can
lead to a fatal error.
- If we pass a maximum string length larger than the copied length, we
will corrupt some data beyond the end of the newly allocated buffer.
- The maximum length does not prevent access to memory beyond the
maximum length, which can lead to unexpectd errors with strings not
terminated by 0.