BUG/MEDIUM: fcgi: fix missing list tail in sample fetch registration
authorWilly Tarreau <w@1wt.eu>
Fri, 27 Sep 2019 20:45:17 +0000 (22:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 27 Sep 2019 20:48:27 +0000 (22:48 +0200)
commitfc41e25c2ea29fd5b4558683627f2d34ae2892d4
treee768680fefe258a4f6610b12c2380d47913fe771
parent78c430616552e024fc1e7a6650302702ae4544d1
BUG/MEDIUM: fcgi: fix missing list tail in sample fetch registration

Ilya reported in bug #300 that ASAN found a read overflow during startup
in the fcgi code due to a missing empty element at the end of the list
of sample fetches. The effect is that will randomly either work or crash
on startup.

No backport is needed, this is solely for 2.1-dev.
src/fcgi-app.c