Xymon Mailing List Archive search

xymon package for Ubuntu 24.04.1 LTS

3 messages in this thread

list Bruce Ferrell · Fri, 25 Oct 2024 10:59:12 -0700 ·
The distribution package this distro seems to be failing for various of 
the binaries; ghostlist.sh is failing with buffer overflow crashes.


Any suggestions on doing a correct build on this?
list Roland Rosenfeld · Fri, 25 Oct 2024 20:47:36 +0200 ·
Hi Bruce!
quoted from Bruce Ferrell

On Fr, 25 Okt 2024, Bruce Ferrell wrote:
The distribution package this distro seems to be failing for various of the
binaries; ghostlist.sh is failing with buffer overflow crashes.

Any suggestions on doing a correct build on this?
This is a known issue, which was discussed some weeks ago on this list
(sadly the list archive currently doesn't add new entries).

It's a bug in md5hash() in lib/digest.c, which is triggered in Ubuntu
24.04 (and newer), which compile with -D_FORTIFY_SOURCE=3.

As a workaround, you can compile xymon with -D_FORTIFY_SOURCE=2 or
as a solution you can apply the attached patch.

You will find more information about this issue in
https://bugs.launchpad.net/ubuntu/+source/xymon/+bug/2078638
There's also a reference to a PPA
https://launchpad.net/~waveform/+archive/ubuntu/xymon that has this
patch applied.

Hopefully Ubuntu will release patched versions of the package soon.

Greetings
Roland
Attachments (1)
list Bruce Ferrell · Sun, 27 Oct 2024 08:25:15 -0700 ·

On 10/25/24 11:47 AM, Roland Rosenfeld wrote:
Hi Bruce!

On Fr, 25 Okt 2024, Bruce Ferrell wrote:
The distribution package this distro seems to be failing for various of the
binaries; ghostlist.sh is failing with buffer overflow crashes.

Any suggestions on doing a correct build on this?
This is a known issue, which was discussed some weeks ago on this list
(sadly the list archive currently doesn't add new entries).

It's a bug in md5hash() in lib/digest.c, which is triggered in Ubuntu
24.04 (and newer), which compile with -D_FORTIFY_SOURCE=3.

As a workaround, you can compile xymon with -D_FORTIFY_SOURCE=2 or
as a solution you can apply the attached patch.

You will find more information about this issue in
https://bugs.launchpad.net/ubuntu/+source/xymon/+bug/2078638
There's also a reference to a PPA
https://launchpad.net/~waveform/+archive/ubuntu/xymon that has this
patch applied.

Hopefully Ubuntu will release patched versions of the package soon.

Greetings
Roland
Thanks Roland!