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 20:59:11 UTC

[jira] [Resolved] (TS-4049) CID 1341500: Null pointer dereferences: Lua plugin

     [ https://issues.apache.org/jira/browse/TS-4049?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kit Chan resolved TS-4049.
--------------------------
    Resolution: Duplicate

Resolved in TS-4045

> 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)