diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-06-21 03:20:57 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-06-21 03:20:57 +0000 |
commit | 8040328b2c5c3394666d460fdea4f3fabe13803f (patch) | |
tree | 251d80c6c7d064f5217556aba53e88e43e84319b /usr.sbin | |
parent | b8a006201d7f6e48eb06ef69042f09a1e6caddc9 (diff) |
Just return if nmemb is 0. Avoids a NULL dereference and is
consistent with the behavior of the other libc sort functions.
OK deraadt@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions