commit | 9bdd7bc63d94501e649bc0f5c0c3d4a4288004cc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Feb 12 11:59:35 2019 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Feb 12 11:59:35 2019 +0100 |
tree | 80b670bdd166bc8f72f952ff6177d4bb942d9ee7 | |
parent | 4eee38aa577c37dfd761e2f2d10cfa54fbb6a662 [diff] |
BUILD/MINOR: peers: remove an impossible null test in intencode() intencode() tests for the nullity of the target pointer passed in argument, but the code calling intencode() never does so and happily dereferences it. gcc at -O3 detects this as a potential null deref. Let's remove this incorrect and misleading test. If this pointer was null, the code would already crash in the calling functions. This must be backported to stable versions.