MCPcopy Create free account
hub / github.com/apache/trafficserver / sdk_sanity_check_null_ptr

Function sdk_sanity_check_null_ptr

src/api/InkAPI.cc:545–549  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

543}
544
545TSReturnCode
546sdk_sanity_check_null_ptr(void const *ptr)
547{
548 return ptr == nullptr ? TS_ERROR : TS_SUCCESS;
549}
550
551// Plugin metric IDs index the plugin RSB, so bounds check against that.
552static TSReturnCode

Callers 15

sdk_alloc_field_handleFunction · 0.85
TSBase64DecodeFunction · 0.85
TSBase64EncodeFunction · 0.85
TSPluginRegisterFunction · 0.85
TSUrlCreateFunction · 0.85
TSUrlCloneFunction · 0.85
TSUrlParseFunction · 0.85
TSUrlStringGetFunction · 0.85
URLPartGetFunction · 0.85
TSStringPercentEncodeFunction · 0.85
TSStringPercentDecodeFunction · 0.85
TSIpStringToAddrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected