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

@ -85,7 +85,7 @@ struct cons_pointer make_vso( uint32_t tag, uint64_t payload_size ) {
if ( vso != NULL ) {
memset( vso, 0, padded );
debug_printf( DEBUG_ALLOC,
L"make_vso: about to write tag '%s' into vso at %p\n",
L"make_vso: about to write tag '%4.4s' into vso at %p\n",
tag, vso );
vso->header.tag.value = tag;
result = make_vec_pointer( vso, tag );