Red Hat Bugzilla – Bug 1477284
segmentation fault when running thin_delta with wrong -- option
Last modified: 2018-04-10 09:18:07 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:
Fixed with this patch: https://github.com/jthornber/thin-provisioning-tools/commit/a424417475ad29092b0636f4558b8b83651a37cd New release to follow in the next few days.
device-mapper-persistent-data-0.7.2-1.el7 returns message with 'unrecognized option' instead of segmentation fault, retcode is 1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:0776