Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
haproxy
0002-BUG-MINOR-fix-listening-IP-address-storage...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-BUG-MINOR-fix-listening-IP-address-storage-for-front.patch of Package haproxy
From 254646083703fba5cc86cba31118e20f45784ce6 Mon Sep 17 00:00:00 2001 From: Vincent Bernat <vincent@bernat.im> Date: Thu, 19 May 2016 11:29:43 +0200 Subject: [PATCH 02/14] BUG/MINOR: fix listening IP address storage for frontends (cont) Commit 6e6158 was incomplete. There was an additional aggregate copy that may trigger a similar case in the future. (cherry picked from commit 6e46ff11e9c0d0b9266226ad911362c8a62ee458) --- src/cfgparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index c118bd4..b0f837e 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -296,7 +296,7 @@ int str2listener(char *str, struct proxy *curproxy, struct bind_conf *bind_conf, l->bind_conf = bind_conf; l->fd = fd; - l->addr = ss; + memcpy(&l->addr, &ss, sizeof(ss)); l->xprt = &raw_sock; l->state = LI_INIT; -- 2.6.6
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor