HomeFreeBSD

bcm2835_audio_callback: Don't process garbage if there is no message.

Description

bcm2835_audio_callback: Don't process garbage if there is no message.

If vchi_msg_dequeue failed due to an empty queue, return rather than
treating stack garbage as a valid message.

(cherry picked from commit 4f6be8c788ca0339a84e935515d290b59dbec31b)

Details

Provenance
jhbAuthored on Apr 9 2022, 1:31 AM
Parents
rGd7cd10445841: sbni: Use memset to clear flags structure in attach.
Branches
Unknown
Tags
Unknown