intel / isa-l_crypto

Other
271 stars 80 forks source link

Always check the result of posix_memalign() calls #76

Closed tom-cosgrove-arm closed 3 years ago

tom-cosgrove-arm commented 3 years ago

Also, use same return value when these fail (+1) as used when the output pointer is NULL, rather than using -1. This avoids potential issues when results are combined with with errors += foo().

Change-Id: I0cfa73481315366cd3b8bd7f369fae55960a88a4 Signed-off-by: Tom Cosgrove tom.cosgrove@arm.com

gbtucker commented 3 years ago

integrated