[
https://issues.apache.org/jira/browse/TS-4282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15198109#comment-15198109
]
ASF GitHub Bot commented on TS-4282:
------------------------------------
GitHub user SolidWallOfCode opened a pull request:
https://github.com/apache/trafficserver/pull/527
TS-4282: Check for _do_read returning undef in AdminClient.pm
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/SolidWallOfCode/trafficserver ts-4282
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/527.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #527
----
commit 5bf4fc16876d67188667f59506f3049d839bd1d2
Author: Alan M. Carroll <[email protected]>
Date: 2016-03-16T20:36:23Z
TS-4282: Check for _do_read returning undef in AdminClient.pm
----
> 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
>
> {{_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)