{"action":"opened","issue":{"url":"https://api.github.com/repos/apache/trafficserver/issues/1283","repository_url":"https://api.github.com/repos/apache/trafficserver","labels_url":"https://api.github.com/repos/apache/trafficserver/issues/1283/labels{/name}","comments_url":"https://api.github.com/repos/apache/trafficserver/issues/1283/comments","events_url":"https://api.github.com/repos/apache/trafficserver/issues/1283/events","html_url":"https://github.com/apache/trafficserver/issues/1283","id":198212600,"number":1283,"title":"CID 1367526:  CID 1367525 : money_trace/money_trace.cc","user":{"login":"zwoop","id":202131,"avatar_url":"https://avatars.githubusercontent.com/u/202131?v=3","gravatar_id":"","url":"https://api.github.com/users/zwoop","html_url":"https://github.com/zwoop","followers_url":"https://api.github.com/users/zwoop/followers","following_url":"https://api.github.com/users/zwoop/following{/other_user}","gists_url":"https://api.github.com/users/zwoop/gists{/gist_id}","starred_url":"https://api.github.com/users/zwoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwoop/subscriptions","organizations_url":"https://api.github.com/users/zwoop/orgs","repos_url":"https://api.github.com/users/zwoop/repos","events_url":"https://api.github.com/users/zwoop/events{/privacy}","received_events_url":"https://api.github.com/users/zwoop/received_events","type":"User","site_admin":false},"labels":[{"id":401975009,"url":"https://api.github.com/repos/apache/trafficserver/labels/Coverity","name":"Coverity","color":"fef2c0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/apache/trafficserver/milestones/2","html_url":"https://github.com/apache/trafficserver/milestone/2","labels_url":"https://api.github.com/repos/apache/trafficserver/milestones/2/labels","id":1761237,"number":2,"title":"7.1.0","description":"","creator":{"login":"zwoop","id":202131,"avatar_url":"https://avatars.githubusercontent.com/u/202131?v=3","gravatar_id":"","url":"https://api.github.com/users/zwoop","html_url":"https://github.com/zwoop","followers_url":"https://api.github.com/users/zwoop/followers","following_url":"https://api.github.com/users/zwoop/following{/other_user}","gists_url":"https://api.github.com/users/zwoop/gists{/gist_id}","starred_url":"https://api.github.com/users/zwoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwoop/subscriptions","organizations_url":"https://api.github.com/users/zwoop/orgs","repos_url":"https://api.github.com/users/zwoop/repos","events_url":"https://api.github.com/users/zwoop/events{/privacy}","received_events_url":"https://api.github.com/users/zwoop/received_events","type":"User","site_admin":false},"open_issues":46,"closed_issues":158,"state":"open","created_at":"2016-05-11T22:45:45Z","updated_at":"2016-12-31T02:02:36Z","due_on":"2017-02-15T08:00:00Z","closed_at":null},"comments":0,"created_at":"2016-12-31T02:02:36Z","updated_at":"2016-12-31T02:02:36Z","closed_at":null,"body":"```\r\n*** CID 1367526:  Null pointer dereferences  (REVERSE_INULL)\r\n/plugins/experimental/money_trace/money_trace.cc: 57 in freeTransactionData(txndata *)()\r\n51         TSfree(txn_data->client_request_mt_header);\r\n52       }\r\n53       if (txn_data->new_span_mt_header != NULL) {\r\n54         LOG_DEBUG(\"freeing txn_data->new_span_mt_header.\");\r\n55         TSfree(txn_data->new_span_mt_header);\r\n56       }\r\n   CID 1367526:  Null pointer dereferences  (REVERSE_INULL)\r\n   Null-checking \"txn_data\" suggests that it may be null, but it has already been dereferenced on all paths leading to the check.\r\n57       if (txn_data != NULL) {\r\n58         LOG_DEBUG(\"freeing txn_data.\");\r\n59         TSfree(txn_data);\r\n60       }\r\n61     }\r\n62     \r\n```\r\n\r\nand\r\n\r\n```\r\n*** CID 1367525:  Resource leaks  (RESOURCE_LEAK)\r\n/plugins/experimental/money_trace/money_trace.cc: 147 in mt_check_request_header(tsapi_httptxn *)()\r\n141           LOG_DEBUG(\"no money trace header was found in the request.\");\r\n142         }\r\n143       } else {\r\n144         LOG_DEBUG(\"failed to retrieve the client request.\");\r\n145       }\r\n146       TSHandleMLocRelease(bufp, hdr_loc, field_loc);\r\n   CID 1367525:  Resource leaks  (RESOURCE_LEAK)\r\n   Variable \"txn_data\" going out of scope leaks the storage it points to.\r\n147     }\r\n148     \r\n149     /**\r\n150      * The TS_EVENT_HTTP_SEND_RESPONSE_HDR callback.\r\n151      *\r\n152      * Adds the money trace header received in the client request to the\r\n\r\n```"}}
{"actor":{"display_login":"zwoop"}}