Andrew Gallatin dedbe8362f 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>
2013-02-25 16:22:40 +00:00
..
2013-02-22 19:23:33 +00:00
2013-02-25 16:22:40 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00
2012-10-10 08:36:38 +00:00