Closed philipnbbc closed 9 months ago
Make sure sscanf processes all characters in commandline options to avoid invalid option values being misinterpreted. A %n is added to the end of format strings to check sscanf has reached the end.
sscanf
%n
Fixes https://github.com/bbc/bmx/issues/38
Make sure
sscanf
processes all characters in commandline options to avoid invalid option values being misinterpreted. A%n
is added to the end of format strings to check sscanf has reached the end.Fixes https://github.com/bbc/bmx/issues/38