Re: Panic with ugen

From: Jay Cornwall <jay_at_evilrealms.net>
Date: Thu, 27 Nov 2003 14:33:31 +0000
Daan Vreeken [PA4DAN] wrote:

> If you have time left, could you perhaps also have a look at kern/51186?
> I have filed it back in March and it's still open. (Fixes a memory corruption 
> bug in ugen).

I'm not a committer, I'm afraid, so it's probably best to get in touch with 
the code maintainer. (imp_at_freebsd.org, if the PR is correct - he did reply at 
the bottom of the PR)

But from a brief look at the code, I can't see anything getting past this line:
   if(sce->fill < sce->cur && sce->cur <= sce->fill + count)

If sce->fill is less than sce->cur, then sce->cur can only be <= (sce->fill + 
count) if count is negative. But I haven't studied the code that closely, so 
maybe I'm just missing something obvious. :)

-- 
Cheers,
Jay

http://www.evilrealms.net/ - Systems Administrator & Developer
http://www.imperial.ac.uk/ - 3rd year CS student
Received on Thu Nov 27 2003 - 05:33:34 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:31 UTC