code-google-com / qmmp

Automatically exported from code.google.com/p/qmmp
0 stars 0 forks source link

Crash - Null-pointer dereference in httpstreamreader.cpp #555

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Change HTTP radio stations several times on playlist.

Affected qmmp versions
0.6.0 - 0.6.3 (and current).

Crash in:
FILE: qmmp/src/plugins/Transports/http/httpstreamreader.cpp
FUNCTION: void HttpStreamReader::checkBuffer()
INSTRUCTION: (qobject_cast<InputSource *>(parent()))->addMetaData(metaData);

Sometimes (qobject_cast<InputSource *>(parent())) returns NULL.

I included my hack/fix in file:
http_streamreader_crash.patch

Original issue reported on code.google.com by ravv....@gmail.com on 1 Sep 2012 at 11:28

Attachments:

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2958.

Original comment by trialuser02 on 21 Oct 2012 at 8:09