Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make macro safer when strlcpy() is not available
Macro would previously trigger an out-of-bound write if passed a size of zero. Also, the size was not protected against a possible operator precedence issue. Signed-off-by: Loren M. Lang <[email protected]> Signed-off-by: Aaron Conole <[email protected]>
- Loading branch information