| Summary: | rpmlint complains of wso2 shared libraries calling exit | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Robert Rati <rrati> |
| Component: | condor-aviary | Assignee: | Pete MacKinnon <pmackinn> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Martin Bukatovic <mbukatov> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | Development | CC: | esammons, ltoscano, matt, mbukatov, mkudlej, pmackinn, tstclair |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | wso2-wsf-cpp-2.1.0-8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-05-06 13:52:27 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Robert Rati
2011-09-26 14:33:22 UTC
libwso2_wsf.so's exit comes from src/main/Environment.cpp in two places: . Environment::getEnv when axutil_env_create_all returns NULL, which could happen if wsf_c/axis2c/util/src/env.c's axutil_env_create_with_error_log_thread_pool returns NULL, except axutil_env_create_all will seg fault before returning NULL . Environment::initialize, in the same situation as getEnv above libaxutil.so's exit comes from wsf_c/axis2c/util/src/dir_handler.c's axutil_dir_handler_list_service_or_module_dirs if AXIS2_GETCWD (#define'd to getcwd on unix and _getcwd on windows) fails. The getcwd buffer has a static size of 500. Tested on RHEL 5.9/6.4 - i386/x86_64
for packages: wso2-wsf-cpp-2.1.0-10 wso2-axis2-2.1.0-10
# rpmlint wso2-wsf-cpp-2.1.0-10.el5.i386.rpm wso2-axis2-2.1.0-10.el5.i386.rpm
wso2-wsf-cpp.i386: W: obsolete-not-provided wso2-rampart
wso2-wsf-cpp.i386: W: one-line-command-in-%post /sbin/ldconfig
wso2-wsf-cpp.i386: W: one-line-command-in-%postun /sbin/ldconfig
wso2-axis2.i386: W: one-line-command-in-%post /sbin/ldconfig
wso2-axis2.i386: W: one-line-command-in-%postun /sbin/ldconfig
2 packages and 0 specfiles checked; 0 errors, 5 warnings.
# rpmlint wso2-wsf-cpp-2.1.0-10.el6.i686.rpm wso2-axis2-2.1.0-10.el6.i686.rpm
wso2-wsf-cpp.i686: W: spelling-error %description -l en_US SecurityPolicy -> Security Policy, Security-policy, Security
wso2-wsf-cpp.i686: W: obsolete-not-provided wso2-rampart
wso2-wsf-cpp.i686: W: one-line-command-in-%post /sbin/ldconfig
wso2-wsf-cpp.i686: W: one-line-command-in-%postun /sbin/ldconfig
wso2-axis2.i686: W: one-line-command-in-%post /sbin/ldconfig
wso2-axis2.i686: W: one-line-command-in-%postun /sbin/ldconfig
2 packages and 0 specfiles checked; 0 errors, 6 warnings.
There is no warning shared-lib-calls-exit on any of tested platform/versions.
>>> VERIFIED
|