com php-src: Initialize these to make Coverity happy: sapi/fpm/fpm/fastcgi.c
| From: | Rasmus Lerdorf | Date: | Sun, 20 Oct 2013 00:37:59 +0000 |
| Subject: | com php-src: Initialize these to make Coverity happy: sapi/fpm/fpm/fastcgi.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73721@lists.php.net to get a copy of this message | ||
Commit: 813e86765263aa91a3c5c4f72b2c40b7becb58a4
Author: Rasmus Lerdorf <rasmus@lerdorf.com> Sat, 19 Oct 2013 17:37:59 -0700
Parents: a55d3b9295bec513553bff2522c4720737c4c398
Branches: PHP-5.4 PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=813e86765263aa91a3c5c4f72b2c40b7becb58a4
Log:
Initialize these to make Coverity happy
Changed paths:
M sapi/fpm/fpm/fastcgi.c
Diff:
diff --git a/sapi/fpm/fpm/fastcgi.c b/sapi/fpm/fpm/fastcgi.c
index cf3f098..56b6bfd 100644
--- a/sapi/fpm/fpm/fastcgi.c
+++ b/sapi/fpm/fpm/fastcgi.c
@@ -426,8 +426,9 @@ static int fcgi_get_params(fcgi_request *req, unsigned char *p, unsigned char *e
char buf[128];
char *tmp = buf;
size_t buf_size = sizeof(buf);
- int name_len, val_len;
- uint eff_name_len;
+ int name_len = 0;
+ int val_len = 0;
+ uint eff_name_lenk = 0;
char *s;
int ret = 1;
size_t bytes_consumed;