Bug 1477284 - segmentation fault when running thin_delta with wrong -- option
segmentation fault when running thin_delta with wrong -- option
Status: ASSIGNED
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: device-mapper-persistent-data (Show other bugs)
7.4
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Joe Thornber
Jakub Krysl
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-08-01 11:37 EDT by Jakub Krysl
Modified: 2017-09-15 07:31 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jakub Krysl 2017-08-01 11:37:13 EDT
Description of problem:
If thin_delta is ran with wrong -- option (eg. not --thin1, --help...), it produces segmentation fault.

[28278.820618] thin_delta[8678]: segfault at a ip 00007f81bdc11e4c sp 00007ffe9dd7e808 error 4 in libc-2.17.so[7f81bdb8b000+1b8000]

Version-Release number of selected component (if applicable):
device-mapper-persistent-data-0.7.0-0.1.rc6.el7

How reproducible:
100%

Steps to Reproduce:
1.thin_delta --whatever_wrong

Actual results:
Segmentation fault (core dumped)

Expected results:
Unknown option

Additional info:
Comment 2 Joe Thornber 2017-09-15 07:31:59 EDT
Fixed with this patch:

https://github.com/jthornber/thin-provisioning-tools/commit/a424417475ad29092b0636f4558b8b83651a37cd

New release to follow in the next few days.

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