GNOME Bugzilla – Bug 581444
[multipartdemux] free memory read of buffer timestamp
Last modified: 2009-05-05 15:14:01 UTC
Multipartdemux sets the timestamp of the output buffer to the timestamp of the incoming buffer after flushing the adapter. The flush may have freed the incoming buffer (as far as I understand...). Patch follows.
Created attachment 134014 [details] [review] [multipartdemux] Don't read from the incoming buffer after flushing the adapter
commit e0099bbeb20528e8241d64fca8eb6abd7e5b5b93 Author: Arnout Vandecappelle <arnout@mind.be> Date: Tue May 5 17:07:13 2009 +0200 multipartdemux: avoid reading from invalid memory Read the timestamp of the incomming buffer before we push it in the adapter and flush it out again as the buffer might be unreffed then and we read from invalid memory. Fixes #581444.