Bug 436933 - "mkisofs -no-emul-boot /blah" causes a segmentation fault
Summary: "mkisofs -no-emul-boot /blah" causes a segmentation fault
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: cdrtools
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-03-11 08:53 UTC by Andrew Ryan
Modified: 2014-06-11 11:08 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-08-14 08:49:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
check that cbe->boot_image isn't NULL (586 bytes, patch)
2008-03-11 08:53 UTC, David Robinson
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2008:0574 0 normal SHIPPED_LIVE cdrtools bug fix update 2008-10-15 15:21:33 UTC

Description David Robinson 2008-03-11 08:53:58 UTC
+++ This bug was initially created as a clone of Bug #436932 +++

Description of problem:
When mkisofs's -no-emul-boot option is used but an image isn't specified (-b
image) mkisofs will segfault.

Version-Release number of selected component (if applicable):
mkisofs-2.01-10

How reproducible:
100%

Steps to Reproduce:
1. mkisofs -no-emul-boot /blah
  
Actual results:
# mkisofs -no-emul-boot /blah
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
Segmentation fault

Expected results:
no segfault

Additional info:
Patch to correct the problem is attached.

Comment 1 David Robinson 2008-03-11 08:53:58 UTC
Created attachment 297583 [details]
check that cbe->boot_image isn't NULL

Comment 2 Phil Knirsch 2008-05-14 13:36:45 UTC
Proposing bug for RHEL-5.3 FasTrack and granting Devel ACK.

Read ya, Phil


Comment 6 RHEL Program Management 2008-06-10 12:26:30 UTC
This bugzilla was reviewed by QE as a non-FasTrack request.
It has since been proposed for FasTrack. The qa_ack has 
been reset. QE needs to re-review this bugzilla for FasTrack.

Comment 12 errata-xmlrpc 2008-08-14 08:49:40 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2008-0574.html

Comment 14 Jörg Schilling 2014-06-11 11:08:21 UTC
If you did use an original version of mkisofs, you would see this:

mkisofs -no-emul-boot /blah
Setting input-charset to 'ISO8859-1' from locale.
mkisofs: Missing boot image name, use -eltorito-boot option.

The text in 

http://rhn.redhat.com/errata/RHBA-2008-0574.html

claims that RedHat did upgrade cdrtools, but this is not true.
RedHat still ships the defective dead fork from 10 years ago.

If you like to get fixes for the various documented bugs, upgrade
to reent original code from:

https://sourceforge.net/projects/cdrtools/files/alpha/
or
https://sourceforge.net/projects/cdrtools/files/


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