commit | 5581c27b579cbfc53afb0ca04cdeebe7e2200131 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed May 13 12:24:53 2015 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed May 13 15:31:34 2015 +0200 |
tree | bc37935d74246a72128195bc57b73a525e3b5491 | |
parent | f2c87353a7f8160930b5f342bb6d6ad0991ee3d1 [diff] |
BUG/MEDIUM: checks: do not dereference a list as a tcpcheck struct The method used to skip to next rule in the list is wrong, it assumes that the list element starts at the same offset as the rule. It happens to be true on most architectures since the list is the first element for now but it's definitely wrong. Now the code doesn't crash anymore when the struct list is moved anywhere else in the struct tcpcheck_rule. This fix must be backported to 1.5.