GitHub user zwoop opened an issue:

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

    CID 1196420:  Error handling issues  (CHECKED_RETURN): proxy/CoreUtils.cc

    ```
    *** CID 1196420:  Error handling issues  (CHECKED_RETURN)
    /proxy/CoreUtils.cc: 482 in CoreUtils::print_http_hdr(HTTPHdr *, const char 
*)()
    476       if (h->m_heap && h->m_http) {
    477         int r = load_http_hdr(h, &new_handle);
    478     
    479         if (r > 0) {
    480           printf("----------- %s  ------------\n", name);
    481           new_handle.m_mime = new_handle.m_http->m_fields_impl;
       CID 1196420:  Error handling issues  (CHECKED_RETURN)
       Calling "print" without checking return value (as is done elsewhere 26 
out of 28 times).
    482           new_handle.print(nullptr, 0, nullptr, nullptr);
    483           printf("-----------------------------\n\n");
    484         }
    485       }
    486     }
    487     
    ```

----

----


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to