Leif Hedstrom created TS-4049:
---------------------------------
Summary: 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
{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)