]> granicus.if.org Git - openssl/commit
Fix seg fault in s_time
authorMatt Caswell <matt@openssl.org>
Thu, 12 Mar 2015 16:42:55 +0000 (16:42 +0000)
committerMatt Caswell <matt@openssl.org>
Tue, 17 Mar 2015 13:39:53 +0000 (13:39 +0000)
commitdfef52f6f277327e118fdd0fe34486852c2789b6
tree76cc9fbc7c6c4d33dc62965a9ebf94c2bbaadea9
parent668f6f08c62177ab5893fc26ebb67053aafdffc8
Fix seg fault in s_time

Passing a negative value for the "-time" option to s_time results in a seg
fault. This commit fixes it so that time has to be greater than 0.

Reviewed-by: Andy Polyakov <appro@openssl.org>
apps/s_time.c