[asterisk-dev] [svn-commits] dbailey: branch 1.4 r177039 - /branches/1.4/main/utils.c

asterisk at ntplx.net asterisk at ntplx.net
Wed Feb 18 12:35:30 CST 2009


Same crash. Do you want me to open a real bug on it?


Quoting SVN commits to the Digium repositories <svn-commits at lists.digium.com>:

> Author: dbailey
> Date: Wed Feb 18 11:41:05 2009
> New Revision: 177039
>
> URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=177039
> Log:
> Merged revisions 177035 manually from
> https://origsvn.digium.com/svn/asterisk/trunk
>
> ........
>   r177035 | dbailey | 2009-02-18 11:24:07 -0600 (Wed, 18 Feb 2009) | 2 lines
>
>   Fixed error where a check for an zero length, terminated string was needed.
> ........
>
> Modified:
>     branches/1.4/main/utils.c
>
> Modified: branches/1.4/main/utils.c
> URL:   
> http://svn.digium.com/svn-view/asterisk/branches/1.4/main/utils.c?view=diff&rev=177039&r1=177038&r2=177039
> ==============================================================================
> --- branches/1.4/main/utils.c (original)
> +++ branches/1.4/main/utils.c Wed Feb 18 11:41:05 2009
> @@ -1263,7 +1263,7 @@
>  	   otherwise, use the empty space at the end of the current
>  	   pool
>  	*/
> -	if (fields[index][0] != '0') {
> +	if (fields[index][0] != '\0') {
>  		target = (char *) fields[index];
>  		available = strlen(fields[index]) + 1;
>  	} else {
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/svn-commits
>
>






More information about the asterisk-dev mailing list