Check for double buffer submission via MMAL

Open
#707 0 comments 0 reactions 1 assignee View on GitHub

@6by9 is already working on this.

Since Dec 21, 2017.

Assessment

This issue has not been assessed yet.

Description

enhancement

From https://github.com/raspberrypi/firmware/issues/377, MMAL queues go badly wrong if you submit the same buffer twice (circular references in a linked list).
Investigate sanity checking of queues and mmal_port_buffer_send (which uses a queue underneath) to try and protect the system from misbehaving apps.

Dominant language
No language data
Stars
5.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/firmware

All issues in raspberrypi/firmware

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.