Loading
Bug 2029894 - WebRTC backport: Fix double mapoffset application in PipeWire...
Bug 2029894 - WebRTC backport: Fix double mapoffset application in PipeWire video capture a=dmeehan mmap() with mapoffset as the file offset already returns a pointer to the data at that offset, so passing it again to SPA_MEMBER was reading mapoffset bytes past the mapped region. Also queue the buffer back to PipeWire before returning on mmap failure to avoid leaking it. This is a simple backport of an WebRTC upstream change. Upstream commit: 9ee59b4ab343540923a23edd6429064c22571c3b Original Revision: https://phabricator.services.mozilla.com/D296761 Differential Revision: https://phabricator.services.mozilla.com/D297303