Module Name: src Committed By: isaki Date: Sat Jul 29 06:30:56 UTC 2017
Modified Files: src/sys/dev: audio.c Log Message: Fix error handling of ring buffers allocation in audioattach(). NULL dereference, dead code, reference to uninitialized variable, and mutex leak. XXX In the current implementation, if audio_alloc_ring() returns error, it is not guaranteed that ringbuf->s.start will be NULL. To generate a diff of this commit: cvs rdiff -u -r1.378 -r1.379 src/sys/dev/audio.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.