Re: fix gkrellmreminder (was Re: Port: gkrellmreminder-2.0.0p10)

2022-01-21 Thread Omar Polo
Theo Buehler writes: > On Fri, Jan 21, 2022 at 07:00:52PM +0100, Omar Polo wrote: >> Hello, >> >> The reminder plugin for gkrellm is broken, and has been for a long time >> apparently. It stores the reminders in a file and uses fscanf with %d >> into a time_t to read the date, which corrupts

Re: fix gkrellmreminder (was Re: Port: gkrellmreminder-2.0.0p10)

2022-01-21 Thread Theo Buehler
On Fri, Jan 21, 2022 at 07:00:52PM +0100, Omar Polo wrote: > Hello, > > The reminder plugin for gkrellm is broken, and has been for a long time > apparently. It stores the reminders in a file and uses fscanf with %d > into a time_t to read the date, which corrupts it. The invalid time is >

fix gkrellmreminder (was Re: Port: gkrellmreminder-2.0.0p10)

2022-01-21 Thread Omar Polo
Hello, The reminder plugin for gkrellm is broken, and has been for a long time apparently. It stores the reminders in a file and uses fscanf with %d into a time_t to read the date, which corrupts it. The invalid time is later passed to localtime(3) which returns NULL and the plugin crashes a