diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-09-12 14:54:16 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-09-12 15:37:21 +0200 |
commit | e6681fdd4ab8b017a2827f7c690283aaa97d0928 (patch) | |
tree | 199788a175e1cd1b9712ff2aa1bd4e37e7f8da34 /lib | |
parent | Merge !1512: datamodel: additional headers for json-schema (diff) | |
download | knot-resolver-e6681fdd4ab8b017a2827f7c690283aaa97d0928.tar.xz knot-resolver-e6681fdd4ab8b017a2827f7c690283aaa97d0928.zip |
daemon/session2: fix error handling in *wrap_after()
We need to check the "< 0" condition *before*
incrementing or decrementing the returned layer_ix.
Detected by Coverity :-)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions