NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/57890 CVS commit: src/sys/dev/hdaudio



The following reply was made to PR kern/57890; it has been noted by GNATS.

From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
Cc: 
Subject: PR/57890 CVS commit: src/sys/dev/hdaudio
Date: Mon, 29 Jan 2024 18:55:51 +0000

 Module Name:	src
 Committed By:	riastradh
 Date:		Mon Jan 29 18:55:51 UTC 2024
 
 Modified Files:
 	src/sys/dev/hdaudio: hdafg.c
 
 Log Message:
 hdaudio(4): Tighten hdafg_freem.
 
 The fix for PR kern/57890 in hdafg.c 1.29 included more conditionals
 than needed, covering cases that can't happen: if allocm returns
 null, audio(4) does not call freem; and if hdafg_allocm returns
 nonnull, then what audio(4) passes to hdafg_freem had better be
 either the playback or the capture buffer address.
 
 
 To generate a diff of this commit:
 cvs rdiff -u -r1.30 -r1.31 src/sys/dev/hdaudio/hdafg.c
 
 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.
 


Home | Main Index | Thread Index | Old Index