#2802 sss_override segfaults when accidentally adding --help flag to some commands
Closed: Fixed None Opened 5 years ago by lslebodn.

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1265366

Description of problem:
Small bug, but trying to get more information from some of the sss_override
options, adding --help to certain options will cause sss_override to segfault.

Version-Release number of selected component (if applicable):
sssd-client-1.13.0-33.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. sss_override user-del --help
2.
3.

Actual results:
[root@sssd1-13-0-29 ~]# sss_override user-del --help
Segmentation fault (core dumped)


Expected results:
Print help

[root@sssd1-13-0-29 ~]# sss_override user-del
Missing option: Specify name of modified object.

Usage: sss_override user-del NAME

Common options:
  --debug=INT            Enable debug at level



Additional info:

Fields changed

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
owner: somebody => pbrezina
review: True => 0
selected: =>
testsupdated: => 0

No need to block 1.13.1 release over segfault with --help but we do need to fix this for 1.13.2, crashes are bad.

priority: major => blocker

Fields changed

patch: 0 => 1

Fields changed

status: new => assigned

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.13.2

master:

sssd-1-13:

resolution: => fixed
status: assigned => closed

Metadata Update from @lslebodn:
- Issue assigned to pbrezina
- Issue set to the milestone: SSSD 1.13.2

3 years ago

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/3843

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Login to comment on this ticket.

Metadata