Re: cvs: php4 /main SAPI.c

From: Date: Mon, 10 Feb 2003 20:30:58 +0000
Subject: Re: cvs: php4 /main SAPI.c
References: 1  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-18627@lists.php.net to get a copy of this message
At 21:18 10.02.2003, you wrote:
moriyoshi               Mon Feb 10 15:18:08 2003 EDT
Modified files:
    /php4/main  SAPI.c
Log: Fixed possible snprintf problem # besides snprintf returns int value, not uint / size_t...
Why not use spprintf before you make it even more complex? Something like this: if(!strstr(lower_temp,"realm")) {
        efree(result);
        spprintf(&result, 0, "%s realm=\"%ld\"",ptr, myuid);
}

« previous php.cvs (#18627) next »