Page MenuHomeFreeBSD

sound examples: Fix buffer mapping/allocation
ClosedPublic

Authored by meka_tilda.center on Nov 26 2025, 6:43 PM.
Tags
None
Referenced Files
F157795082: D53939.id167154.diff
Mon, May 25, 6:47 AM
Unknown Object (File)
Sun, May 17, 1:47 PM
Unknown Object (File)
Sun, May 17, 7:25 AM
Unknown Object (File)
Sat, May 16, 11:27 PM
Unknown Object (File)
Thu, May 14, 1:43 PM
Unknown Object (File)
Mon, May 11, 6:20 PM
Unknown Object (File)
Mon, May 11, 5:05 PM
Unknown Object (File)
Mon, May 11, 12:19 PM
Subscribers

Details

Summary

The buffer in struct config should be allocated or mmap'ed. The code without this patch allocates the buffer unconditionally, even for mmap configs.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable