> It's unlikely that Alexandre saw you question if you didn't CC him. But > anyway... > Sorry, I thought the BTS CCs the submitter automatically.
> I've debugged it a bit, and I think it only happens if TERM is unset. > This is not something that is likely to ever happen, so I changed > severity accordingly. > > The minimal reproducer is: > > $ env -u TERM cmatrix -f > Segmentation fault > > I believe the culrpit is this line: > > if (force && strcmp("linux", getenv("TERM"))) { > > If getenv() returns NULL, then strcmp() crashes. > I've reached the same conclusion (now) compiling cmatrix with debug symbols and running gdb. The problem is cmatrix is unmaintained upstream since 2002. What do you suggest: must I do a simple patch, configure it in the package and then send it upstream? I'm trying to learn the right way to maintain packages. I appreciate your critics :) Thanks. -- Diego F. Durán <di...@goedi.net> | http://www.goedi.net GPG: C225 945F A4D2 D853 556A 0B40 93AD BF5D FA33 2496
signature.asc
Description: This is a digitally signed message part