Lang
Correctness
double_goto
double_goto
The second goto statement will always be executed.
incorrect-use-ato-fn
incorrect-use-ato-fn
Avoid the ‘ato*()’ family of functions. Their use can lead to undefined behavior, integer overflows, and lack of appropriate error handling. Instead prefer the ‘strtol*()’ family of functions.
c-string-equality
c-string-equality
Using == on char* performs pointer comparison, use strcmp instead
incorrect-use-sscanf-fn
incorrect-use-sscanf-fn
Avoid ‘sscanf()’ for number conversions. Its use can lead to undefined behavior, slow processing, and integer overflows. Instead prefer the ‘strto*()’ family of functions.