]> granicus.if.org Git - sudo/commit
Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 17:00:31 +0000 (17:00 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2003 17:00:31 +0000 (17:00 +0000)
commit5b40c964de29ca2ed24ed6a9519314a98cd761a0
tree5c12788706757d8557ea5cd2dcd291add48693b1
parent96376b6d4e594f37a8a29bc759bc3cb189189b9e
Oflow test of nmemb > SIZE_MAX / size is fine (don't need >=).
Use memcpy() instead of strcpy() in estrdup() so this is strcpy()-free.
alloc.c