Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-4049

CID 1341500: Null pointer dereferences: Lua plugin

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • None
    • None
    • Lua

    Description

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

      Attachments

        Issue Links

          Activity

            People

              kichan Shu Kit Francis Chan
              zwoop Leif Hedstrom
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: