Please sign in to comment.
crypto: make malloc failure check cross-platform
`malloc(0)` may return NULL on some platforms. Do not report out-of-memory error unless `malloc` was passed a number greater than `0`. PR-URL: #8352 Reviewed-By: Anna Henningsen <firstname.lastname@example.org> Reviewed-By: James M Snell <email@example.com> Reviewed-By: Fedor Indutny <firstname.lastname@example.org> Reviewed-By: Michael Dawson <email@example.com>
- Loading branch information...
Showing with 1 addition and 6 deletions.