https://bz.apache.org/bugzilla/show_bug.cgi?id=64404
Bug ID: 64404
Summary: [mod_proxy_uwsgi] Fix a crash bug with h2 protocol
Product: Apache httpd-2
Version: 2.4.43
Hardware: PC
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P2
Component: mod_proxy
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 37212
--> https://bz.apache.org/bugzilla/attachment.cgi?id=37212&action=edit
patch for fix a crash bug
I found a crash bug in mod_proxy_uwsgi.c with h2 protocol.
Accoding to core dump, a crash point was in following line#178 in
mod_proxy_uwsgi.c:
>> headerlen += 2 + strlen(env[j].key) + 2 + strlen(env[j].val);
I confirmed value of env[j] like following:
(lldb) p env[j].key
(char *const) $4 = 0x00000008015d5e9f "H2_STREAM_ID"
(lldb) p env[j].val
(char *const) $3 = 0x0000000000000000 <no value available>
So I consider that env[j].val is nullable.
Please apply attached my patch.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]