projects
/
haproxy-2.1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9376baa
)
BUG/MEDIUM: contrib/spoa-server: Fix ipv4_address used instead of ipv6_address
author
Gilchrist Dadaglo
<dadaglo@amazon.com>
Mon, 24 Aug 2020 19:21:35 +0000
(19:21 +0000)
committer
Christopher Faulet
<cfaulet@haproxy.com>
Mon, 7 Sep 2020 07:31:36 +0000
(09:31 +0200)
Typo leads to checking the wrong object for memory issues
This patch must be backported as far as 2.0.
(cherry picked from commit
d00ce06d9dfe3fd7cd277faf0d8da9ee21dd3765
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
(cherry picked from commit
dadf4315e1eb0768c8eb57dad7a3a39048b65618
)
Signed-off-by: Christopher Faulet <cfaulet@haproxy.com>
contrib/spoa_server/ps_python.c
patch
|
blob
|
history
diff --git
a/contrib/spoa_server/ps_python.c
b/contrib/spoa_server/ps_python.c
index
3ad9323
..
433e4c5
100644
(file)
--- a/
contrib/spoa_server/ps_python.c
+++ b/
contrib/spoa_server/ps_python.c
@@
-309,7
+309,7
@@
static int ps_python_start_worker(struct worker *w)
}
ipv6_address = PyObject_GetAttrString(module_ipaddress, "IPv6Address");
- if (ipv4_address == NULL) {
+ if (ipv6_address == NULL) {
PyErr_Print();
return 0;
}