Bug 1402137 - Segfault with bad openssl engines directory
Summary: Segfault with bad openssl engines directory
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss Enterprise Web Server 2
Classification: JBoss
Component: httpd
Version: 2.1.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Weinan Li
QA Contact: Michal Karm Babacek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-06 21:13 UTC by Robert Bost
Modified: 2019-06-13 12:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-13 12:20:01 UTC
Type: Bug


Attachments (Terms of Use)
coredump httpd-2.2.26-55.ep6.el6.x86_64 (2.42 MB, application/x-core)
2016-12-06 21:13 UTC, Robert Bost
no flags Details

Description Robert Bost 2016-12-06 21:13:11 UTC
Created attachment 1228681 [details]
coredump httpd-2.2.26-55.ep6.el6.x86_64

Description of problem:

When the openssl engines directory is not correct, httpd segfaults on startup:

Version-Release number of selected component (if applicable): EWS 2.1.2

How reproducible: always

Steps to Reproduce:
# export OPENSSL_ENGINES=/bad/path
# ./apachectl start 
Syntax error on line 74 of /etc/httpd/conf.d/ssl.conf:
SSLCryptoDevice: Invalid argument; must be one of: 'builtin' (none), 'dynamic' (Dynamic engine loading support)
./apachectl: line 102:  2314 Segmentation fault      (core dumped) $HTTPD $OPTIONS -k $ARGV


Actual results: Segmentation fault on startup

Expected results: No segfault and clean failure.

Additional info:
core dump is attached for httpd-2.2.26-55.ep6.el6.x86_64

Not super high priority since segfault happens during shutdown.


Note You need to log in before you can comment on or make changes to this bug.