GitHub user zwoop opened an issue:

    https://github.com/apache/trafficserver/issues/1290

    CID 1367516:  Null pointer dereferences  (FORWARD_NULL): wccp/WccpConfig.cc

    ```
    *** CID 1367516:  Null pointer dereferences  (FORWARD_NULL)
    /lib/wccp/WccpConfig.cc: 528 in wccp::CacheImpl::loadServicesFromFile(const 
char *)()
    522         zret.pull(load_routers(prop, Seed_Router).doNotLog());
    523       }
    524     
    525       int idx, nsvc;
    526       for (idx = 0, nsvc = svc_list.childCount(); idx < nsvc; ++idx) {
    527         int x; // scratch int.
       CID 1367516:  Null pointer dereferences  (FORWARD_NULL)
       Assigning: "md5_key" = "NULL".
    528         const char *md5_key = 0;
    529         ts::ConstBuffer text;
    530         SecurityOption security_style = SECURITY_NONE;
    531         bool use_group_local_security = false;
    532         Value const &svc_cfg          = svc_list[idx];
    533         int svc_line                  = svc_cfg.getSourceLine();
    ```


----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to