shlomif / fc-solve

Freecell Solver - a C library for automatically solving Freecell and some other variants of card Solitaire
https://fc-solve.shlomifish.org/
MIT License
58 stars 12 forks source link

sscanf safety check #91

Closed B1Z0N closed 1 year ago

B1Z0N commented 1 year ago

Hello, as I've seen in all of your sscanf's(and other functions from this family) you are checking for return value and processing invalid data. There's only one exception there. It's this sscanf.

As you know much more about design of this tool I kindly ask you to check if it's ok.

shlomif commented 1 year ago

@B1Z0N : thanks, fixed