bug in shaker
| Date | 1999-10-26 18:10 |
| From | Daniel Lopez |
| Subject | bug in shaker |
Csound causes a divide by zero exception if you pass 0 to the kbeans argument of
the shaker opcode.
There is a line in the file shaker.c:
p->wait_time = RAND_MAX / p->num_beans;
which is where the crash actually occurs.
Daniel
Here is an example .csd file:
|