[Bug 1839239] Re: Sox segfault when using --norm without [=dB-level]

2024-10-14 Thread Martin Guy
The problem-specific patch ** Patch added: "0001-Fix-segfault-when-norm-is-passed-with-no-parameter.patch" https://bugs.launchpad.net/ubuntu/+source/sox/+bug/1839239/+attachment/5828054/+files/0001-Fix-segfault-when-norm-is-passed-with-no-parameter.patch -- You received this bug notification

[Bug 1839239] Re: Sox segfault when using --norm without [=dB-level]

2024-10-14 Thread Martin Guy
Thanks for the problem report. This was introduced by sox.sf.net commit 61428b3 "Clean up lsx_malloc() and friends" which Debian imported as a "fix" to CVE-2019-8355. It's caused by lsx_strdup() being called with a NULL pointer from src/sox.c line 2370 ``` norm_level = lsx_strdup(optstate.arg); `

[Bug 2051051] Re: sox cannot use ogg files

2024-10-14 Thread Martin Guy
Your file is actually an Opus file in an Ogg container. Unfortunately Debian (and hence Ubuntu) compiles the Opus format handler if libopusfile-dev in installed but fails to create a libsox-fmt-opus package from it. The required patch to the debian source package is at https://codeberg.org/sox_ng/