mirror of
https://github.com/haproxy/haproxy.git
synced 2026-03-24 03:13:06 -04:00
[CRITICAL] fixed an uninitialized 'pend_pos' field in struct session.
This might cause random crashes when memory is not initialized first. Encountered on Solaris 8 only for now, OpenBSD and Linux seem unaffected.
This commit is contained in:
parent
c3a2e0713f
commit
1a71cc14c9
1 changed files with 1 additions and 0 deletions
|
|
@ -3140,6 +3140,7 @@ int event_accept(int fd) {
|
|||
s->cli_fd = cfd;
|
||||
s->srv_fd = -1;
|
||||
s->srv = NULL;
|
||||
s->pend_pos = NULL;
|
||||
s->conn_retries = p->conn_retries;
|
||||
|
||||
if (s->flags & SN_MONITOR)
|
||||
|
|
|
|||
Loading…
Reference in a new issue