You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Kit Chan (JIRA)" <ji...@apache.org> on 2015/12/02 17:22:11 UTC
[jira] [Commented] (TS-4049) CID 1341500: Null pointer
dereferences: Lua plugin
[ https://issues.apache.org/jira/browse/TS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15036057#comment-15036057 ]
Kit Chan commented on TS-4049:
------------------------------
should be fixed by this - https://git1-us-west.apache.org/repos/asf?p=trafficserver.git;a=commit;h=c3d41bac709c3f21571a644124a84ed22d907003
will see the result of next scan before closing
> CID 1341500: Null pointer dereferences: Lua plugin
> ---------------------------------------------------
>
> Key: TS-4049
> URL: https://issues.apache.org/jira/browse/TS-4049
> Project: Traffic Server
> Issue Type: Bug
> Components: Lua
> Reporter: Leif Hedstrom
> Assignee: Kit Chan
> Labels: Coverity
> Fix For: 6.1.0
>
>
> {code}
> ** CID 1341500: Null pointer dereferences (NULL_RETURNS)
> /plugins/experimental/ts_lua/ts_lua_http.c: 354 in ts_lua_http_set_server_resp_no_store()
> ________________________________________________________________________________________________________
> *** CID 1341500: Null pointer dereferences (NULL_RETURNS)
> /plugins/experimental/ts_lua/ts_lua_http.c: 354 in ts_lua_http_set_server_resp_no_store()
> 348 ts_lua_http_ctx *http_ctx;
> 349
> 350 http_ctx = ts_lua_get_http_ctx(L);
> 351
> 352 status = luaL_checknumber(L, 1);
> 353
> CID 1341500: Null pointer dereferences (NULL_RETURNS)
> Dereferencing a null pointer "http_ctx".
> 354 TSHttpTxnServerRespNoStoreSet(http_ctx->txnp, status);
> 355
> 356 return 0;
> 357 }
> 358
> 359 static int
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)