Squashed commit of the following:
commit
6b32a70e6296eef35610e0789ba026e06d362f6c
Author: Shravan Rangaraju <shrarang@cisco.com>
Date: Tue May 22 19:31:32 2018 -0400
appid: create referer object only for non-null string
{
if ( referer )
delete referer;
- referer = new std::string((const char*)new_referer, len);
+ if ( new_referer and len ) referer = new std::string((const char*)new_referer, len);
+ else referer = nullptr;
}
void AppIdHttpSession::update_x_working_with(const uint8_t* new_xww, int32_t len)