[OpenSIPS-Devel] [opensips] append '\0' null character to the end of db_url in macro init_db_url (#475)

Jarrod Baumann notifications at github.com
Wed Apr 22 16:02:51 CEST 2015


> @@ -454,6 +454,7 @@ int estimate_available_rows( int payload_size, int column_count);
>  		} else {\
>  			_db_url.len = strlen(_db_url.s); \
>  		} \
> +		_db_url.s[_db_url.len+1] = '\0'; \

Lol, where is your sense of adventure @razvancrainea ???

---
Reply to this email directly or view it on GitHub:
https://github.com/OpenSIPS/opensips/pull/475/files#r28874546
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20150422/9f9624c6/attachment.htm>


More information about the Devel mailing list