gnunet-insert-mp3 SEGVs
Peter F Bradshaw <[email protected]> Wed, 24 Apr 2002 18:33:30 +0800 (WST)
| Newsgroups | gmane.network.gnunet.bugs |
|---|---|
| Message-ID | <Pine.LNX.4.44.0204241808350.4359-100000@goldmund> |
Hi;
gnu-insert-mp3 SEGVs. The problem seems to be in textui/insertmp3.c
at lines 112 and 113 which read:
info.file = fopen(info.filename,"r");
if (0 != get_mp3_info(&info)) {
If the fopen fails (because, for instance info.filename does no exist)
then get_mp3_info() is called will a NULL info.file. This inevitably
results in a SEGV.
Cheers
--
Peter F Bradshaw, [email protected], ICQ 75431157 (exadios).
http://www.exadios.com
PGP public key at http://www.exadios.com/public_key.html
"Needs more salt" - Archimedes