summaryrefslogtreecommitdiffstats
path: root/include/string.h
diff options
context:
space:
mode:
authorgallatin <gallatin@FreeBSD.org>2013-02-25 16:22:40 +0000
committergallatin <gallatin@FreeBSD.org>2013-02-25 16:22:40 +0000
commit8a331753e53a40640cde8d3849d85f1a45dc2e00 (patch)
tree3ba3cafcd547af976909c6e4ca04e158b1c269cc /include/string.h
parent45aa5f8ade6f19f71ec9cdd068cc159d90abfab8 (diff)
downloadFreeBSD-src-8a331753e53a40640cde8d3849d85f1a45dc2e00.zip
FreeBSD-src-8a331753e53a40640cde8d3849d85f1a45dc2e00.tar.gz
Several cleanups and fixes to mxge:
- Remove vestigial null pointer tests after malloc(..., M_WAITOK). - Remove vestigal qualhack union - Use strlcpy() instead of the error-prone strncpy() when parsing EEPROM and copying strings - Check the MAC address in the EEPROM strings more strictly. - Expand the macro MXGE_NEXT_STRING() at its only user. Due to a typo, the macro was very confusing. - Remove unnecessary buffer limit check. The buffer is double-NUL terminated per construction. PR: kern/176369 Submitted by: Christoph Mallon <christoph.mallon gmx.de>
Diffstat (limited to 'include/string.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud