[
https://issues.apache.org/jira/browse/TS-2457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom reassigned TS-2457:
---------------------------------
Assignee: Leif Hedstrom
> isnan called on atoi - undefined behaviour
> ------------------------------------------
>
> Key: TS-2457
> URL: https://issues.apache.org/jira/browse/TS-2457
> Project: Traffic Server
> Issue Type: Bug
> Components: Plugins, Quality
> Reporter: Radim Kolar
> Assignee: Leif Hedstrom
> Fix For: 4.2.0
>
> Attachments: patch-protocol-atoi
>
>
> found by clang analyzer
> !isnan(atoi(argv[2])) results in undefined behaviour.
> Fix: use strtol, replacement for atoi with error checking and more input
> format support. can do octal and hexadecimal input out of the box
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)