Bug 141093
| Summary: | segfault in mkisofs | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | John Summerfield <debian> |
| Component: | cdrtools | Assignee: | Harald Hoyer <harald> |
| Status: | CLOSED WONTFIX | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 4.0 | CC: | jturner |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-12-07 17:15:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
John Summerfield
2004-11-29 07:44:53 UTC
Will have to poke into why mkisofs is falling over, but your second example above isn't correct mkisofs syntax in the first place, hence the error message. Both the boot catalog and the boot image need to be specified relative to the source paths listed on the command line, so the command above is telling mkisofs to look for "Isolinux/isolinux.bin" and "Isolinux/boot.cat" in the "/tmp/Isolinux" and "/var/local/mirrors/linux/RHEL/3.95/i386/os" directories, where, of course, it doesn't exist. Running the following command does indeed work, however: mkisofs -o EL395-dvd.iso -b isolinux.bin -A 'EL/3.95 i386' -V 'EL/3.95 i386' -J -R -T -q -x ./lost+found -c boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -x ./isolinux /tmp/Isolinux /var/local/mirrors/linux/RHEL/3.95/i386/os Fix summary typo. I since have create a working commandline. I'venot yet established that it does what I want though. I suggest that mkisofs should be properly validating parameter info including checking for consistency and that it's not doing this. This would likely give rise to erroneous messages and segfaults, and quite possibly in some contexts, security exposures. I know my commandline was wrong, but that doesn't make messages about null pointers (whoops I didn't actually show that one) permissable. Luckily I still have one: + mkisofs -o EL394-dvd.iso -b isolinux/isolinux.bin -A 'EL/3.94 i386' -V 'EL/3.9 4 i386' -J -R -T -q -x ./lost+found -c isolinux/boot.cat -no-emul-boot -boot-loa d-size 4 -boot-info-table /tmp/isolinux /var/local/mirrors/linux/RHEL/3.95/i386/ os Unknown file type (unallocated) /tmp/isolinux/.. - ignoring and continuing. mkisofs: Error: (NULL POINTER) and /var/local/mirrors/linux/RHEL/3.95/i386/os/is olinux/boot.cat have the same Joliet name |