Public bug reported:

Hi

After having done some fuzz testing with zzuf I saw that feeding
Soundconverter with malformed mp3 files crashes the program due to a
segmentation fault. These were the commands used for the test:

This first command was used to generate hundreds of malformed .mp3
files:

for i in {10..15}; do for f in *.mp3;do zzuf -r 0.04 -s $i < "$f" >
"$i-$f"; done; done

And this second command was used to feed soundconverter with the
malformed files.

LC_ALL=C; LANG=C; for f in *.mp3; do timeout 3 soundconverter -b -m
audio/x-wav -s .wav "$f"; done &>fuzzing_soundconverter.log

You can find more information explaining how to use zzuf through the
following sources:

https://fuzzing-project.org/tutorial1.html

http://caca.zoy.org/wiki/zzuf

I hope you find this information useful.

Kind regards.

** Affects: soundconverter (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1579927

Title:
  Segmentation Fault caused by malformed audio files.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/soundconverter/+bug/1579927/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to