Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util.c: assert that format strings are not empty
If any of these format strings are empty, things can go very wrong at runtime, from garbage output to segfaults (e.g. see Perl#22375). This is a static check, so it could be placed in any source file. I chose util.c because according to the comment at the top, it is the home of "any stuff that people couldn't think of a better place for".
- Loading branch information