[Remind-Fans] A 15-year-old bug found by profiling

Dianne Skoll dianne at skoll.ca
Wed Oct 12 20:00:24 EDT 2022


Hi,

I decided to profile Remind with gprof and was getting very odd results.

This commit from 2007 introduced a bug:
https://salsa.debian.org/dskoll/remind/-/commit/b40d5d7984b88f3c559adcd9ae843571e02d2cc9

which I just fixed in this commit:
https://salsa.debian.org/dskoll/remind/-/commit/a25afb97715bde8cc0959607108742417d2a0a01

Luckily, even though the logic was completely backwards, the only
effect it had was to slow down Remind and not cause any crashes or
security vulnerabilities.

I tell ya... this programming business keeps me humble...

Regards,

Dianne.


More information about the Remind-fans mailing list