Fix: container-wrapper: size container operation can throw
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Jun 2023 17:42:50 +0000 (13:42 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Thu, 8 Jun 2023 17:42:50 +0000 (13:42 -0400)
commit58561706ca99e043a4687a776dc781bdf7e78e07
tree7156d3a0723d39b181e46633e5ddabf8b502a9ae
parent29784e2373ff4d82370f584f4e4e9722cda172a8
Fix: container-wrapper: size container operation can throw

  1512923 Uncaught exception
  If the exception is ever thrown, the program will crash.

  In lttng::​utils::​random_access_container_wrapper<lttng_action const *, lttng_action const *, lttng::​ctl::​details::​const_action_list_operations>::​size(): A C++ exception is thrown but never caught (CWE-248)

Reported-by: Coverity Scan
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I5f8bffc64fb239e59b272985f6b3c959d238da0a
src/common/container-wrapper.hpp
This page took 0.025323 seconds and 4 git commands to generate.