Bug 17688

Summary: es_callback() in /sys/pci/es1370.c does not check play_speed
Product: Base System Reporter: stake <stake>
Component: kernAssignee: greid
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.4-RELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description stake 2000-03-30 14:20:01 UTC
es_callback() in /sys/pci/es1370.c does not check play_speed,
so an invalid ioctl() causes integer divide fault in kernel mode.

Fix: Here is a temporary patch to avoid this problem.
How-To-Repeat: set 0 as SNDCTL_DSP_SPEED

  speed = 0;
  ioctl(fd, SNDCTL_DSP_SPEED, &speed);
Comment 1 Poul-Henning Kamp freebsd_committer freebsd_triage 2001-06-06 21:41:24 UTC
Responsible Changed
From-To: freebsd-bugs->cg

Sound dude is Cameron...
Comment 2 greid freebsd_committer freebsd_triage 2001-07-13 02:38:45 UTC
State Changed
From-To: open->feedback

Is this still a problem with the newpcm sources? 


Comment 3 greid freebsd_committer freebsd_triage 2001-07-13 02:38:45 UTC
Responsible Changed
From-To: cg->greid

This isn't a newpcm problem and hence not Cameron's. I'll deal with feedback.
Comment 4 greid freebsd_committer freebsd_triage 2001-07-13 02:46:06 UTC
State Changed
From-To: feedback->closed

Mail to originator bounces.