Menu

#1 Segfault in akai.c

open
nobody
None
5
2008-07-14
2008-07-14
Anonymous
No

Hi,

Thanks for this great utility. I experienced a segfault and noticed from the source comments this is a known problem. With gdb and some printfs I found that in the inner loop sample is sometimes NULL. I fixed this, but it might be a mere symptomatic fix, not a fix of the actual problem.

cvs diff: Diffing .
cvs diff: Diffing src
Index: src/akai.c
===================================================================
RCS file: /cvsroot/abrowse/abrowse/src/akai.c,v
retrieving revision 1.6
diff -r1.6 akai.c
126c126
< if (keygrp->zone[i][0] != 0) {
---
> if (keygrp->zone[i][0] != 0 && keygrp->zone_sample[i]) {

You can reach me at : arne at arnebrasseur , followed by dot net.

Discussion


Log in to post a comment.