You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/28 18:07:51 UTC

[jira] [Commented] (TS-3873) CID 1320627 Uninitialized variables in TSControlMain.c

    [ https://issues.apache.org/jira/browse/TS-3873?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720071#comment-14720071 ] 

ASF subversion and git services commented on TS-3873:
-----------------------------------------------------

Commit 70409d22307a05d59be28be14e821b61361246bb in trafficserver's branch refs/heads/master from [~jpeach@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=trafficserver.git;h=70409d2 ]

TS-3873: fix uninitialized return


> CID 1320627 Uninitialized variables in TSControlMain.c
> ------------------------------------------------------
>
>                 Key: TS-3873
>                 URL: https://issues.apache.org/jira/browse/TS-3873
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Management API, Tools
>            Reporter: Leif Hedstrom
>            Assignee: James Peach
>             Fix For: 6.1.0
>
>
> {code}
> ** CID 1320627:  Uninitialized variables  (UNINIT)
> /mgmt/api/TSControlMain.cc: 1147 in handle_record_describe(int, void *, unsigned long)()
> ________________________________________________________________________________________________________
> *** CID 1320627:  Uninitialized variables  (UNINIT)
> /mgmt/api/TSControlMain.cc: 1147 in handle_record_describe(int, void *, unsigned long)()
> 1141       if (ret == TS_ERR_OKAY) {
> 1142         ret = match.err;
> 1143       }
> 1144     
> 1145     done:
> 1146       ats_free(name);
>    CID 1320627:  Uninitialized variables  (UNINIT)
>    Using uninitialized value "match.err".
> 1147       return match.err;
> 1148     }
> 1149     
> 1150     struct control_message_handler {
> 1151       unsigned flags;
> 1152       TSMgmtError (*handler)(int, void *, size_t);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)