[Bug 1892558] [NEW] [SRU] binhex always segfaults
Launchpad Bug Tracker
1892558 at bugs.launchpad.net
Fri Mar 29 14:45:20 UTC 2024
You have been subscribed to a public bug by Sudip Mukherjee (sudipmuk):
[ Impact ]
some of the binaries provided by macutils are completely unusable as they will immediately segfault as soon as they are executed.
The impacted binaries are:
binhex
tomac
frommac
This is because the relevant header file was not included and so as as
result the compiler assumed the functions return an integer.
[ Test Plan ]
1. Install macutils
2. Execute all the binaries provided by macutils for a basic sanity test
binhex -H
frommac -H
hexbin -H
macsave -H
macstream -H
macunpack -H
tomac -H
If the package is not fixed then binhex, tomac and frommac will result in segfault.
[ Where problems could occur ]
There is no change in code, only the relevant header file has been
included. And, so there are minimum chances of a regression. The change
has been part of Debian and also Jammy onwards and there has been no
regression reported.
[ Other Info ]
The testplan only does a basic sanity test. Ideally a macutils user
should test and confirm that everything is working as expected.
[ Original Bug Description ]
Steps to reproduce:
binhex -H
Expected result: binhex prints help information
Actual result: binhex crashes with SIGSEGV
Comments: binhex doesn't only crash with the -H flag, it crashes with
any flag. It appears to crash in the main() function before any argument
handling actually happens.
Version is 2.0b3-16build1.
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: macutils 2.0b3-16build1
ProcVersionSignature: Ubuntu 5.4.0-42.46~18.04.1-generic 5.4.44
Uname: Linux 5.4.0-42-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.16
Architecture: amd64
CurrentDesktop: KDE
Date: Fri Aug 21 20:57:56 2020
Dependencies:
gcc-8-base 8.4.0-1ubuntu1~18.04
libc6 2.27-3ubuntu1.2
libgcc1 1:8.4.0-1ubuntu1~18.04
InstallationDate: Installed on 2020-02-01 (202 days ago)
InstallationMedia: Ubuntu 18.04.2 LTS "Bionic Beaver" - Release amd64 (20190210)
SourcePackage: macutils
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: macutils (Ubuntu)
Importance: Undecided
Status: Fix Released
** Affects: macutils (Ubuntu Focal)
Importance: Undecided
Status: Confirmed
** Tags: amd64 apport-bug bionic
--
[SRU] binhex always segfaults
https://bugs.launchpad.net/bugs/1892558
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list