Snippets for moon-buggy 1.0.51 from FreeBSD 150arm64
Sourced from https://pkg-status.freebsd.org/ampere5/data/latest-per-pkg/moon-buggy/1.0.51_5/150arm64-default.log.
-
highscore.c:234:21: warning: 'fscanf' may overflow; destination buffer in argument 5 has size 32, but the corresponding specifier may require size 33 [-Wfortify-source] 234 | &score, &level, date, name); | ^ -
realname.c:65:72: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] 65 | sprintf (tmpl, "please enter your name (default: \"%%.%ds\"): ", size); | ~~ ^~~~ | %zu