A bug exists which allows the sh variable to be used uninitialized when sscanf returns EOF.
Observe:
A simple fix would be to explicitly test if sscanf's return value is equal to 1.
A bug exists which allows the sh variable to be used uninitialized when sscanf returns EOF.
Observe:
A simple fix would be to explicitly test if sscanf's return value is equal to 1.
Good catch. Can you open a pull request to fix this?
Good catch. Can you open a pull request to fix this?
Done.