Bug 1592455 - bct_dump segfaults on non-rsa system
Summary: bct_dump segfaults on non-rsa system
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cbootimage
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Nicolas Chauvet (kwizart)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-18 14:49 UTC by Jiri Kastner
Modified: 2018-07-11 20:16 UTC (History)
1 user (show)

Fixed In Version: cbootimage-1.8-1.el7 cbootimage-1.8-1.fc27 cbootimage-1.8-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-07-11 18:11:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
bct from ac100 (3.98 KB, application/octet-stream)
2018-06-18 14:49 UTC, Jiri Kastner
no flags Details

Description Jiri Kastner 2018-06-18 14:49:36 UTC
Created attachment 1452659 [details]
bct from ac100

Description of problem:
while dumping bct downloaded from ac100, bct_dump segfaulted

Version-Release number of selected component (if applicable):
1.7-5

How reproducible:
always

Steps to Reproduce:
1. dnf install cbootimage
2. bct_dump ac100-orig.bct
3. check output

Actual results:
# Bootloader[0].Bl AES Hash  = b299dfabc359e4060147599babbe2936;
Segmentation fault (core dumped)


Expected results:
...
# Bootloader[0].Bl AES Hash  = b299dfabc359e4060147599babbe2936;
# Bootloader[0].RsaPssSigBl:

DevType[0] = NvBootDevType_Sdmmc;
DeviceParam[0].SdmmcParams.ClockDivider           = 0x0000000c;
DeviceParam[0].SdmmcParams.DataWidth              = NvBootSdmmcDataWidth_8Bit;
...

Additional info:
fixed in https://github.com/NVIDIA/cbootimage/commit/64045f993c2cd8989838aeaad3d22107d96d5596

Comment 1 Fedora Update System 2018-06-18 20:58:42 UTC
cbootimage-1.8-1.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-a505bf985f

Comment 2 Fedora Update System 2018-06-18 21:06:42 UTC
cbootimage-1.8-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-960c2fb656

Comment 3 Fedora Update System 2018-06-19 16:36:12 UTC
cbootimage-1.8-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-960c2fb656

Comment 4 Fedora Update System 2018-06-19 16:57:08 UTC
cbootimage-1.8-1.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-a505bf985f

Comment 5 Fedora Update System 2018-06-20 08:05:06 UTC
cbootimage-1.8-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bfce46fb2a

Comment 6 Fedora Update System 2018-06-20 14:57:10 UTC
cbootimage-1.8-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2018-bfce46fb2a

Comment 7 Fedora Update System 2018-07-11 18:11:13 UTC
cbootimage-1.8-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2018-07-11 19:28:14 UTC
cbootimage-1.8-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2018-07-11 20:16:29 UTC
cbootimage-1.8-1.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.


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