]> git.gsnw.org Git - fping.git/commit
Replace atoi/atof with stroul/strtod
authorDavid Schweikert <david@schweikert.ch>
Wed, 24 Dec 2025 06:17:35 +0000 (07:17 +0100)
committerDavid Schweikert <david@schweikert.ch>
Sun, 28 Dec 2025 08:04:17 +0000 (09:04 +0100)
commit0980e9ed65b1857019f1695a96b8b7ff7ed052dc
tree984fe03e1fd1df67b0c5c86acbc07ca8aee861b1
parent24866e92a7637b4a32ceef82bf2cc7366e1bd1e7
Replace atoi/atof with stroul/strtod

This improves validation of the flag values (so that for example
-c 3foobar is not accepted anymore).
src/fping.c