Sanitising debug-printf formats, mostly.

This commit is contained in:
Simon Brooke 2021-09-12 13:41:27 +01:00
parent be5cc4e528
commit 2c96e7c30d
No known key found for this signature in database
GPG key ID: A7A4F18D1D4DF987
9 changed files with 26 additions and 5 deletions

View file

@ -324,7 +324,7 @@ make_string_like_thing( wint_t c, struct cons_pointer tail, uint32_t tag ) {
} else {
// \todo should throw an exception!
debug_printf( DEBUG_ALLOC,
L"Warning: only NIL and %s can be prepended to %s\n",
L"Warning: only NIL and %4.4s can be prepended to %4.4s\n",
tag, tag );
}