aboutsummaryrefslogtreecommitdiff
path: root/utils/python-rpc/framework/daemon.py
diff options
context:
space:
mode:
authorjeffro256 <jeffro256@tutanota.com>2025-09-28 12:40:53 -0500
committerselsta <selsta@sent.at>2026-05-16 02:40:03 +0200
commit7c543c82205c3522510e8da616edc795922ce9f3 (patch)
tree295f77ff48cb65b7932327230667cad03faf775c /utils/python-rpc/framework/daemon.py
parent528cbac17a6c372d1698c82e30df0fdfc78a5ccc (diff)
downloadmonzero-core-7c543c82205c3522510e8da616edc795922ce9f3.tar.gz
monzero-core-7c543c82205c3522510e8da616edc795922ce9f3.tar.xz
monzero-core-7c543c82205c3522510e8da616edc795922ce9f3.zip
daemon: fix print_cn command when 0 connections
Deferencing the result of `std::max_element()` when `res.connections` has 0 elements leads to UB, and segfaults in practice. Co-authored-by: iamamyth <user@example.com>
Diffstat (limited to 'utils/python-rpc/framework/daemon.py')
0 files changed, 0 insertions, 0 deletions