Commit e028aa3
committed
Merge bitcoin-core#650: secp256k1/src/tests.c: Properly handle sscanf return value
a11c76c secp256k1/src/tests.c: Properly handle sscanf return value (Mustapha Abiola)
Pull request description:
This pull request fixes a bug which allows the `sh` variable to be used uninitialised
when sscanf(3) returns EOF.
Signed-off-by: Mustapha Abiola <[email protected]>
ACKs for top commit:
sipa:
ACK a11c76c.
practicalswift:
utACK a11c76c
real-or-random:
ACK a11c76c I looked at the code
Tree-SHA512: fd9660a18e39ecf9366db94ccbcec2682b020223f4f982a4356ddf56c2fbdafa5edcd830db37be12b661c1ec0b15c57b9f34ba59ef4460187c9c2478376fbc881 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5180 | 5180 | | |
5181 | 5181 | | |
5182 | 5182 | | |
5183 | | - | |
| 5183 | + | |
5184 | 5184 | | |
5185 | 5185 | | |
5186 | 5186 | | |
| |||
0 commit comments