Loading
Bug 2054625 - WebRTC backport: Video capture: validate PipeWire camera frame...
Bug 2054625 - WebRTC backport: Video capture: validate PipeWire camera frame size to prevent OOB read r=pehrsons Check spa_chunk::size is not larger than mmap'ed buffer, which would lead to an out-of-bounds read when the frame is copied. Validate that chunk offset + size does not exceed maxsize before processing. This is a simple backport of an WebRTC upstream change. Upstream commit: 612430e8266881eaff478b0000cacc90fb71c918 Differential Revision: https://phabricator.services.mozilla.com/D316000