NetBSD-Bugs archive

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

Re: kern/53029: src/sys/dev/hdaudio/hdafg.c:1267: dead code block ?



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

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/53029: src/sys/dev/hdaudio/hdafg.c:1267: dead code block ?
Date: Wed, 14 Feb 2018 18:22:41 +0000

 i'm curious about
 
 				if (cnt >= maxctls)
 					break;
 				ctl[cnt].ctl_offset = offset;
 				ctl[cnt].ctl_left = offset;
 				ctl[cnt].ctl_right = offset;
 				ctl[cnt].ctl_ndir = HDAUDIO_PINDIR_IN;
 				ctl[cnt++].ctl_dir = HDAUDIO_PINDIR_IN;
 
 which looks (pattern-wise) like an out of boudn write
 


Home | Main Index | Thread Index | Old Index