[jira] [Updated] (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 ] Leif Hedstrom updated TS-4049: -- Fix Version/s: (was: 6.1.0) > 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 > > {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)
[jira] [Updated] (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 ] Leif Hedstrom updated TS-4049: -- Labels: Coverity (was: ) > 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)
[jira] [Updated] (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 ] Leif Hedstrom updated TS-4049: -- Assignee: Kit Chan > 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)