diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-18 22:53:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-03-18 22:53:28 +0000 |
commit | 6e358d45d80e889d12cf556fbd2f2b30ebf10e17 (patch) | |
tree | e8b65e38bf605d32a32adf6dbcbe7feef2fdcaea /sys/dev/pci/if_sisreg.h | |
parent | f382a99baa824008c6e23400446d23172b4344d9 (diff) |
Remove useless check for leading blanks in the month name. The
code didn't adjust len after stripping blanks so even if a month
*did* start with a blank we'd end up copying garbage at the end.
Also convert a malloc + memcpy to strdup and fix a memory leak in
the wide char version if mbstowcs() fails. From Andre Smagin
Diffstat (limited to 'sys/dev/pci/if_sisreg.h')
0 files changed, 0 insertions, 0 deletions