]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: ssl: use __objt_* variant when retrieving counters
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 26 Jul 2021 07:59:06 +0000 (09:59 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Mon, 26 Jul 2021 07:59:06 +0000 (09:59 +0200)
commit2bf5d41ada0aaa7b996b75e42ba1327fc7507bef
treeca0d12de5ba67258f0f0fe80ae3e6c8b568beea9
parent1f923391d1841435de7891682f585c040faef2bc
MINOR: ssl: use __objt_* variant when retrieving counters

Use non-checked function to retrieve listener/server via obj_type. This
is done as a previous obj_type function ensure that the type is well
known and the instance is not NULL.

Incidentally, this should prevent the coverity report from the #1335
github issue which warns about a possible NULL dereference.
src/ssl_sock.c