Debian Patches

Status for tty-clock/2.3-3

Patch Description Author Forwarded Bugs Origin Last update
0001-ttyclock.c-always-use-s-style-format-for-printf-styl.patch [PATCH] ttyclock.c: always use "%s"-style format for printf()-style functions

`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

ttyclock.c:270:71: error: format not a string literal and no format arguments [-Werror=format-security]
270 | mvwprintw(ttyclock.datewin, (DATEWINH / 2), 1, ttyclock.date.datestr);
| ~~~~~~~~~~~~~^~~~~~~~

Let's wrap all the missing places with "%s" format.
Sergei Trofimovich <slyich@gmail.com> no 2021-11-04

All known versions for source package 'tty-clock'

Links