Heap corruption during channel scanning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Me TV |
Fix Released
|
High
|
Unassigned |
Bug Description
For certain initial tunning files channel scan option "Scan using an initial scan file" may crash application due to heap corruption. Example of the file is /usr/share/
Initiation of scanning with mentioned file produces:
01/10/2010 03:53:23: Initial tuning file: '/usr/share/
01/10/2010 03:53:23: Thread 'Scan' created
01/10/2010 03:53:23: Thread 'Scan' started
01/10/2010 03:53:23: Processing line: 'A 57000000 QAM256'
*** glibc detected *** me-tv: double free or corruption (fasttop): 0x00007f12c4016070 ***
======= Backtrace: =========
Issue is caused by whitespace squeeze implementation in StringSplitter:
Complete log attached.
Changed in me-tv: | |
status: | Fix Committed → Fix Released |
Yeah, that's a really nasty implementation. I don't think that I need a class either, could just be a function that returns a std::vector< Glib::ustring> . I'll reimplement that for the next release.