zwoop opened a new issue, #10026: URL: https://github.com/apache/trafficserver/issues/10026
``` *** CID 1513219: Null pointer dereferences (REVERSE_INULL) /src/traffic_cache_tool/[CacheScan.cc](http://cachescan.cc/): 357 in ct::CacheScan::check_url(swoc::_1_5_1::MemSpan<char> &, URLImpl *)() 351 in_bound = true; // nullptr is valid 352 } else if (mem.contains(const_cast<char *>(url->m_ptr_scheme))) { 353 in_bound = true; 354 } 355 356 return in_bound && mem.contains(reinterpret_cast<char *>(url)) && CID 1513219: Null pointer dereferences (REVERSE_INULL) Null-checking "url" suggests that it may be null, but it has already been dereferenced on all paths leading to the check. 357 !(url == nullptr || url->m_length <= 0 || url->m_type != HDR_HEAP_OBJ_URL); 358 } 359 360 Errata 361 CacheScan::get_alternates(const char *buf, int length, bool search) 362 { ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
