[
https://issues.apache.org/jira/browse/TS-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198294#comment-15198294
]
ASF GitHub Bot commented on TS-4282:
------------------------------------
Github user SolidWallOfCode commented on the pull request:
https://github.com/apache/trafficserver/pull/527#issuecomment-197579454
Nope, it's wrong - let me fix it (should use `undefined` rather than `==
undef`). Too long since I really worked in Perl.
> Socket read failure isn't handled in AdminClient.pm
> ---------------------------------------------------
>
> Key: TS-4282
> URL: https://issues.apache.org/jira/browse/TS-4282
> Project: Traffic Server
> Issue Type: Bug
> Components: Management API
> Reporter: Alan M. Carroll
> Assignee: Alan M. Carroll
> Fix For: 6.2.0
>
>
> {{_do_read}} can return {{undef}} but its caller {{get_stat}} doesn't check
> and so can generate errors by attempting to deference {{undef}}.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)