diff options
author | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-10-16 23:50:16 +0200 |
---|---|---|
committer | Dr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> | 2018-10-17 12:02:29 +0200 |
commit | aeec793b4bee929cef8ae35ec4b5a783a6e1d7ed (patch) | |
tree | eec73db71deeb9e6775933f0c2a886db104ad4b8 /doc/man3/EVP_bf_cbc.pod | |
parent | 92ebf6c4c21ff4b41ba1fd69af74b2039e138114 (diff) |
Fix: 'openssl ca' command crashes when used with 'rand_serial' option
Commit ffb46830e2df introduced the 'rand_serial' option. When it is used,
the 'serialfile' does not get initialized, i.e. it remains a NULL pointer.
This causes a crash when the NULL pointer is passed to the rotate_serial()
call.
This commit fixes the crash and unifies the pointer checking before
calling the rotate_serial() and save_serial() commands.
Fixes #7412
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7417)
Diffstat (limited to 'doc/man3/EVP_bf_cbc.pod')
0 files changed, 0 insertions, 0 deletions