Project

General

Profile

Bug #3030 ยป 3030-uwsgi.patch

flynn, 2020-11-10 06:32

View differences:

src/mod_scgi.c-orig 2020-11-10 06:54:51.108460005 +0100
183 183
	size_t len;
184 184
	uint16_t uwlen;
185 185

  
186
	if (!key || (!val && val_len)) return -1;
186
	if (!key || !val) return -1;
187 187
	if (key_len > USHRT_MAX || val_len > USHRT_MAX) return -1;
188 188

  
189 189
	len = 2 + key_len + 2 + val_len;
    (1-1/1)