From: Andrei Pavel Date: Mon, 6 Apr 2026 16:37:30 +0000 (+0300) Subject: [#4272] Spellchecks X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3a1a190827cd7364d98227d044fc6a5743dca82;p=thirdparty%2Fkea.git [#4272] Spellchecks --- diff --git a/src/fuzz/fuzz_agent.cc b/src/fuzz/fuzz_agent.cc index f46c76786c..0392c2e5e4 100644 --- a/src/fuzz/fuzz_agent.cc +++ b/src/fuzz/fuzz_agent.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -44,7 +44,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { ctx.parseString(payload, type); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Parse payload to JSON @@ -61,7 +61,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { simpleParser.checkTlsSetup(elem); simpleParser.parse(ctxPtr, elem, checkOnly); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_cc.cc b/src/fuzz/fuzz_cc.cc index 61e6054e9d..db4252cf3d 100644 --- a/src/fuzz/fuzz_cc.cc +++ b/src/fuzz/fuzz_cc.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -55,7 +55,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { feed.toElement(); feed.getErrorMessage(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Try parse payload to Element pointer @@ -72,28 +72,28 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { parser.parseIntTriplet(elem, val1); parser.parseIntTriplet(elem, val2); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target checkRequired try { SimpleParser::checkRequired(required, elem); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target checkKeywords try { SimpleParser::checkKeywords(keywords, elem); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target deriveParams try { SimpleParser::deriveParams(elem, Element::createMap(), params); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_crypto.cc b/src/fuzz/fuzz_crypto.cc index b9dc736255..8359e0f244 100644 --- a/src/fuzz/fuzz_crypto.cc +++ b/src/fuzz/fuzz_crypto.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -42,7 +42,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ctx.verify(&record, tsig_data.data(), tsig_data.size()); } catch (const isc::Exception&) { - // Slient ezceptions + // Silent exceptions } // HMAC @@ -58,7 +58,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { static_cast(fdp.ConsumeIntegralInRange(0, 6)), sig.data(), sig.size()); } catch (const isc::Exception&) { - // Slient ezceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_d2.cc b/src/fuzz/fuzz_d2.cc index d9944d86c9..b3e2bfae62 100644 --- a/src/fuzz/fuzz_d2.cc +++ b/src/fuzz/fuzz_d2.cc @@ -1,10 +1,10 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this // file, You can obtain one at http://mozilla.org/MPL/2.0/. //////////////////////////////////////////////////////////////////////////////// -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -69,7 +69,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { ctx.parseString(payload, type); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Parse payload to JSON @@ -85,7 +85,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { D2SimpleParser::setAllDefaults(elem); simpleParser.parse(ctxPtr, elem, checkOnly); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Prepare buffer @@ -95,7 +95,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { NameChangeRequest::fromFormat(NameChangeFormat::FMT_JSON, buf); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target Message fromWire @@ -103,7 +103,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { Message msg(Message::PARSE); msg.fromWire(buf); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target D2UpdateMessage fromWire (Inbound) @@ -113,7 +113,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { D2UpdateMessage message(D2UpdateMessage::INBOUND); message.fromWire(payload.data(), payload.size(), &tsigctx) ; } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target D2UpdateMessage fromWire (Outbound) @@ -123,7 +123,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { D2UpdateMessage message(D2UpdateMessage::OUTBOUND); message.fromWire(payload.data(), payload.size(), &tsigctx); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_dhcp_parser4.cc b/src/fuzz/fuzz_dhcp_parser4.cc index 3557125491..9120918a80 100644 --- a/src/fuzz/fuzz_dhcp_parser4.cc +++ b/src/fuzz/fuzz_dhcp_parser4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/fuzz_dhcp_parser6.cc b/src/fuzz/fuzz_dhcp_parser6.cc index d75d4c77ba..f5b0092064 100644 --- a/src/fuzz/fuzz_dhcp_parser6.cc +++ b/src/fuzz/fuzz_dhcp_parser6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/fuzz_dhcp_pkt4.cc b/src/fuzz/fuzz_dhcp_pkt4.cc index 1a021cf10a..e48c4ddbf9 100644 --- a/src/fuzz/fuzz_dhcp_pkt4.cc +++ b/src/fuzz/fuzz_dhcp_pkt4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -162,7 +162,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } */ } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // srv.reset(); diff --git a/src/fuzz/fuzz_dhcp_pkt6.cc b/src/fuzz/fuzz_dhcp_pkt6.cc index d30e506f78..03dff438df 100644 --- a/src/fuzz/fuzz_dhcp_pkt6.cc +++ b/src/fuzz/fuzz_dhcp_pkt6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -119,7 +119,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { srv->processDhcp6Query(pkt); } } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } srv.reset(); diff --git a/src/fuzz/fuzz_dhcp_pkt_process4.cc b/src/fuzz/fuzz_dhcp_pkt_process4.cc index d23fb669c2..576997370c 100644 --- a/src/fuzz/fuzz_dhcp_pkt_process4.cc +++ b/src/fuzz/fuzz_dhcp_pkt_process4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -143,27 +143,27 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call accept for packet checking try { srv->fuzz_accept(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call sanityCheck for packet checking try { MyDhcpv4Srv::fuzz_sanityCheck(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -173,9 +173,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call select subnet @@ -188,18 +188,18 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ctx->subnet_ = srv->fuzz_selectSubnet(pkt, drop, false); } } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call processLocalizedQuery4 try { srv->processLocalizedQuery4(ctx, false); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare callout handle @@ -228,9 +228,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease4_offer(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -252,9 +252,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { leases4_committed(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_dhcp_pkt_process6.cc b/src/fuzz/fuzz_dhcp_pkt_process6.cc index cbe78139a2..9f77c4a281 100644 --- a/src/fuzz/fuzz_dhcp_pkt_process6.cc +++ b/src/fuzz/fuzz_dhcp_pkt_process6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -127,27 +127,27 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call sanityCheck for packet checking try { srv->fuzz_sanityCheck(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call process functions after the accept and check try { srv->processDhcp6Query(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -157,9 +157,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call select subnet @@ -167,18 +167,18 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { bool drop = false; ctx.subnet_ = srv->fuzz_selectSubnet(pkt, drop); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call processLocalizedQuery6 try { srv->processLocalizedQuery6(ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare callout handle @@ -199,9 +199,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { leases6_committed(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_dhcpsrv.cc b/src/fuzz/fuzz_dhcpsrv.cc index 285dce201a..ffe858ac4d 100644 --- a/src/fuzz/fuzz_dhcpsrv.cc +++ b/src/fuzz/fuzz_dhcpsrv.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -145,7 +145,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { ccdp.parse(dict, payload_elem, AF_INET); ccdp.parse(dict, payload_elem, AF_INET6); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } @@ -156,7 +156,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { scf.parse(payload_elem, fdp.ConsumeBool()); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } @@ -167,7 +167,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { ControlSocketsParser csp; csp.parse(srv, elem); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -176,7 +176,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { Subnet6ConfigParser scf(fdp.ConsumeBool()); scf.parse(elem, fdp.ConsumeBool()); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -185,7 +185,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { D2ClientConfigParser d2p; d2p.parse(elem); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Host Reservation parsing @@ -195,7 +195,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { HostReservationParser4 hrp; hrp.parse(SubnetID(10), elem, fdp.ConsumeBool()); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -204,7 +204,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { HostReservationParser6 hrp; hrp.parse(SubnetID(10), elem, fdp.ConsumeBool()); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_dhcpsrv_csv_lease.cc b/src/fuzz/fuzz_dhcpsrv_csv_lease.cc index 9f131b4a9f..e33695b8ce 100644 --- a/src/fuzz/fuzz_dhcpsrv_csv_lease.cc +++ b/src/fuzz/fuzz_dhcpsrv_csv_lease.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/fuzz_eval4.cc b/src/fuzz/fuzz_eval4.cc index 6f33f48448..89f1216a18 100644 --- a/src/fuzz/fuzz_eval4.cc +++ b/src/fuzz/fuzz_eval4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -70,7 +70,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { try { ctx.convertNestLevelNumber(payload, loc); } catch(const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_eval6.cc b/src/fuzz/fuzz_eval6.cc index f06138b2e9..13aa3cadcf 100644 --- a/src/fuzz/fuzz_eval6.cc +++ b/src/fuzz/fuzz_eval6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -70,7 +70,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { try { ctx.convertNestLevelNumber(payload, loc); } catch(const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_hook_ddns_tuning4.cc b/src/fuzz/fuzz_hook_ddns_tuning4.cc index 9cad2b002d..7074832dd3 100644 --- a/src/fuzz/fuzz_hook_ddns_tuning4.cc +++ b/src/fuzz/fuzz_hook_ddns_tuning4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -133,9 +133,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -146,9 +146,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call select subnet @@ -161,9 +161,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { ctx->subnet_ = srv->fuzz_selectSubnet(pkt, drop, false); } } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz ddns4_update @@ -184,9 +184,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } ddns4_update(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_ddns_tuning6.cc b/src/fuzz/fuzz_hook_ddns_tuning6.cc index f9ff810f65..77cb19e2e1 100644 --- a/src/fuzz/fuzz_hook_ddns_tuning6.cc +++ b/src/fuzz/fuzz_hook_ddns_tuning6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -122,9 +122,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -135,9 +135,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call select subnet @@ -145,9 +145,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { bool drop = false; ctx.subnet_ = srv->fuzz_selectSubnet(pkt, drop); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz ddns6_update @@ -163,9 +163,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("subnet6", ctx.subnet_); ddns6_update(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_hook_flex_id4.cc b/src/fuzz/fuzz_hook_flex_id4.cc index 4de4f2bc51..0a24f09490 100644 --- a/src/fuzz/fuzz_hook_flex_id4.cc +++ b/src/fuzz/fuzz_hook_flex_id4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -90,9 +90,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query4", pkt); pkt4_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_flex_id6.cc b/src/fuzz/fuzz_hook_flex_id6.cc index a2e6acab54..c3cad738e7 100644 --- a/src/fuzz/fuzz_hook_flex_id6.cc +++ b/src/fuzz/fuzz_hook_flex_id6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -81,9 +81,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query6", pkt); pkt6_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_lease_query4.cc b/src/fuzz/fuzz_hook_lease_query4.cc index 2204a19cb4..852d259706 100644 --- a/src/fuzz/fuzz_hook_lease_query4.cc +++ b/src/fuzz/fuzz_hook_lease_query4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -91,9 +91,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query4", pkt); buffer4_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_lease_query6.cc b/src/fuzz/fuzz_hook_lease_query6.cc index e507b2701e..1f3c2756d3 100644 --- a/src/fuzz/fuzz_hook_lease_query6.cc +++ b/src/fuzz/fuzz_hook_lease_query6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -82,9 +82,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query6", pkt); buffer6_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_radius4.cc b/src/fuzz/fuzz_hook_radius4.cc index cd16813352..18a980f11a 100644 --- a/src/fuzz/fuzz_hook_radius4.cc +++ b/src/fuzz/fuzz_hook_radius4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -131,9 +131,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -144,9 +144,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz subnet4_select @@ -166,9 +166,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } subnet4_select(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak @@ -190,9 +190,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease4_release(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -213,9 +213,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease4_decline(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_hook_radius6.cc b/src/fuzz/fuzz_hook_radius6.cc index c7af450431..96edd6aba0 100644 --- a/src/fuzz/fuzz_hook_radius6.cc +++ b/src/fuzz/fuzz_hook_radius6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -122,9 +122,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -135,9 +135,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz subnet6_select @@ -151,9 +151,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { cfgmgr.getCurrentCfg()->getCfgSubnets6()->getAll()); subnet6_select(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak @@ -174,9 +174,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease6_decline(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -197,9 +197,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease6_release(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_hook_run_script4.cc b/src/fuzz/fuzz_hook_run_script4.cc index daa4082ef4..1924009294 100644 --- a/src/fuzz/fuzz_hook_run_script4.cc +++ b/src/fuzz/fuzz_hook_run_script4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -131,9 +131,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -144,9 +144,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call lease4_release @@ -163,9 +163,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease4_release(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -187,9 +187,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease4_decline(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -213,9 +213,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { leases4_committed(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_hook_run_script6.cc b/src/fuzz/fuzz_hook_run_script6.cc index e3af6174f0..0f270e407f 100644 --- a/src/fuzz/fuzz_hook_run_script6.cc +++ b/src/fuzz/fuzz_hook_run_script6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -123,9 +123,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -136,9 +136,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Call lease6_decline @@ -155,9 +155,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease6_decline(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -179,9 +179,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { lease6_release(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -204,9 +204,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { leases6_committed(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak @@ -235,9 +235,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { addr6_register(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean up to avoid mem leak diff --git a/src/fuzz/fuzz_hook_tsig.cc b/src/fuzz/fuzz_hook_tsig.cc index 069fbe34d3..75b77665be 100644 --- a/src/fuzz/fuzz_hook_tsig.cc +++ b/src/fuzz/fuzz_hook_tsig.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -50,7 +50,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { ctx.verify(&record, wire.data(), wire.size()); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target key exchange @@ -58,7 +58,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { auto val = fdp.ConsumeIntegralInRange(-5, 10); TKeyExchange::statusToText(static_cast(val)); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_hook_user_chk4.cc b/src/fuzz/fuzz_hook_user_chk4.cc index 60a832de5f..f2d89981aa 100644 --- a/src/fuzz/fuzz_hook_user_chk4.cc +++ b/src/fuzz/fuzz_hook_user_chk4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -118,7 +118,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } } } catch (...) { - // Slient exceptions + // Silent exceptions } Pkt4Ptr pkt; @@ -172,9 +172,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query4", pkt); pkt4_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak @@ -186,9 +186,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -198,9 +198,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz subnet4_select @@ -220,9 +220,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } subnet4_select(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_hook_user_chk6.cc b/src/fuzz/fuzz_hook_user_chk6.cc index 8a3bfdd421..99da476cde 100644 --- a/src/fuzz/fuzz_hook_user_chk6.cc +++ b/src/fuzz/fuzz_hook_user_chk6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -123,7 +123,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { } } } catch (...) { - // Slient exceptions + // Silent exceptions } Pkt6Ptr pkt; @@ -167,9 +167,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { handle->setArgument("query6", pkt); pkt6_receive(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak @@ -181,9 +181,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->fuzz_classifyPacket(pkt); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Prepare client context @@ -193,9 +193,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { try { srv->earlyGHRLookup(pkt, ctx); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Fuzz subnet6_select @@ -210,9 +210,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { cfgmgr.getCurrentCfg()->getCfgSubnets6()->getAll()); subnet6_select(*handle); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception& e) { - // Slient exceptions + // Silent exceptions } // Clean handle to avoid mem leak diff --git a/src/fuzz/fuzz_http.cc b/src/fuzz/fuzz_http.cc index 43922daa88..70029000b3 100644 --- a/src/fuzz/fuzz_http.cc +++ b/src/fuzz/fuzz_http.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -112,9 +112,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { request.finalize(); request.reset(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -139,9 +139,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { response.finalize(); response.reset(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -151,9 +151,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { json.finalize(); json.reset(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -164,9 +164,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { copyHttpHeaders(headers, response); CfgHttpHeaderstoElement(headers); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try{ @@ -175,9 +175,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { cfg.parse(Element::fromJSON(payload)); cfg.toElement(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try{ @@ -185,9 +185,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { Url url(payload); url.isValid(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try{ @@ -196,9 +196,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { HttpDateTime::fromRfc1123(payload); HttpDateTime::fromRfc850(payload); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } try { @@ -207,9 +207,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* Data, size_t Size) { request.reset(); response.reset(); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_ioaddress.cc b/src/fuzz/fuzz_ioaddress.cc index 1a1a11eb5c..459eb7bb9e 100644 --- a/src/fuzz/fuzz_ioaddress.cc +++ b/src/fuzz/fuzz_ioaddress.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/fuzz_mysql4.cc b/src/fuzz/fuzz_mysql4.cc index 94cb6ef4c0..e4adac9eea 100644 --- a/src/fuzz/fuzz_mysql4.cc +++ b/src/fuzz/fuzz_mysql4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -95,14 +95,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { dhcp_backend.getGlobalParameter4(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target getAllSubnets4 try { dhcp_backend.getAllSubnets4(selector); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target createUpdateSubnet4 @@ -130,14 +130,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { t1, t2, t3, sid)); dhcp_backend.createUpdateSubnet4(selector, subnet); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target deleteSubnet4 try { dhcp_backend.deleteSubnet4(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target createUpdateOption4 @@ -154,7 +154,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { dhcp_backend.createUpdateOption4(selector, opt_name, opt_desc); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } } catch (const isc::Exception&) { // Silent top-level exceptions diff --git a/src/fuzz/fuzz_mysql6.cc b/src/fuzz/fuzz_mysql6.cc index 074585d3c6..5332bede46 100644 --- a/src/fuzz/fuzz_mysql6.cc +++ b/src/fuzz/fuzz_mysql6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -95,14 +95,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { dhcp_backend.getGlobalParameter6(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target getAllSubnets6 try { dhcp_backend.getAllSubnets6(selector); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target createUpdateSubnet6 @@ -135,14 +135,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { t1, t2, t3, t4, sid)); dhcp_backend.createUpdateSubnet6(selector, subnet); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target deleteSubnet6 try { dhcp_backend.deleteSubnet6(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } // Target createUpdateOption6 @@ -159,7 +159,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { dhcp_backend.createUpdateOption6(selector, opt_name, opt_desc); } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } } catch (const isc::Exception&) { // Silent top-level exceptions diff --git a/src/fuzz/fuzz_pgsql4.cc b/src/fuzz/fuzz_pgsql4.cc index 490374606a..d5c2164c2d 100644 --- a/src/fuzz/fuzz_pgsql4.cc +++ b/src/fuzz/fuzz_pgsql4.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -95,7 +95,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { break; } } catch (const isc::Exception&) { - // Slient exceptions use default unassigned server selector + // Silent exceptions use default unassigned server selector } try { @@ -107,35 +107,35 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { backend.selectQuery(0, binds, PgSqlConnection::ConsumeResultRowFun([](PgSqlResult&, int) {})); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target insertQuery try { backend.insertQuery(0, binds); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target updateDeleteQuery try { backend.updateDeleteQuery(0, binds); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level getGlobalParameter4 try { dhcp_backend.getGlobalParameter4(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level getAllSubnets4 try { dhcp_backend.getAllSubnets4(selector); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level createUpdateSubnet4 @@ -161,14 +161,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { Subnet4Ptr subnet(Subnet4::create(address, fdp.ConsumeIntegralInRange(0, 32), t1, t2, t3, sid)); dhcp_backend.createUpdateSubnet4(selector, subnet); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level deleteSubnet4 try { dhcp_backend.deleteSubnet4(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level createUpdateOption4 @@ -185,10 +185,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { dhcp_backend.createUpdateOption4(selector, opt_name, opt_desc); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } } catch (const isc::Exception& e) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_pgsql6.cc b/src/fuzz/fuzz_pgsql6.cc index 633250f76f..f0e33bd8d5 100644 --- a/src/fuzz/fuzz_pgsql6.cc +++ b/src/fuzz/fuzz_pgsql6.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -94,7 +94,7 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { break; } } catch (const isc::Exception&) { - // Slient exceptions use default unassigned server selector + // Silent exceptions use default unassigned server selector } try { @@ -106,35 +106,35 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { backend.selectQuery(0, binds, PgSqlConnection::ConsumeResultRowFun([](PgSqlResult&, int) {})); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target insertQuery try { backend.insertQuery(0, binds); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target updateDeleteQuery try { backend.updateDeleteQuery(0, binds); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level getGlobalParameter6 try { dhcp_backend.getGlobalParameter6(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level getAllSubnets6 try { dhcp_backend.getAllSubnets6(selector); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level createUpdateSubnet6 @@ -165,14 +165,14 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { Subnet6Ptr subnet(Subnet6::create(address, fdp.ConsumeIntegralInRange(0, 128), t1, t2, t3, t4, sid)); dhcp_backend.createUpdateSubnet6(selector, subnet); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level deleteSubnet6 try { dhcp_backend.deleteSubnet6(selector, fdp.ConsumeRandomLengthString(32)); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } // Target upper level createUpdateOption6 @@ -189,10 +189,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { dhcp_backend.createUpdateOption6(selector, opt_name, opt_desc); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/fuzz_util.cc b/src/fuzz/fuzz_util.cc index 283ab56adb..077db5a3eb 100644 --- a/src/fuzz/fuzz_util.cc +++ b/src/fuzz/fuzz_util.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -35,54 +35,54 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { str::tokens(payload, delim, isEscape); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str quotedStringToBinary try { str::quotedStringToBinary(payload); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str decodeFormattedHexString try { str::decodeFormattedHexString(payload, out); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str decodeColonSeparatedHexString try { str::decodeColonSeparatedHexString(payload, out); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str decodeSeparatedHexString try { str::decodeSeparatedHexString(payload, delim, out); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str trim try { str::trim(payload); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target str lowercase/uppercase @@ -91,9 +91,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { str::lowercase(temp); str::uppercase(temp); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target CSVRow @@ -104,18 +104,18 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { row.readAtEscaped(i); } } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target encodeUtf8 try { encode::encodeUtf8(payload); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Prepare posix_time object @@ -136,9 +136,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { try { ptimeToText(pt); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } // Target durationToText @@ -146,9 +146,9 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t* data, size_t size) { time_duration td = pt.time_of_day(); isc::util::durationToText(td); } catch (const isc::Exception&) { - // Slient exceptions + // Silent exceptions } catch (const boost::exception&) { - // Slient exceptions + // Silent exceptions } return 0; diff --git a/src/fuzz/helper_func.cc b/src/fuzz/helper_func.cc index 2472f3f7aa..86e6e7fca3 100644 --- a/src/fuzz/helper_func.cc +++ b/src/fuzz/helper_func.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -58,7 +58,7 @@ namespace fuzz { try { fs::remove(file_path); } catch (...) { - // Slient exceptions + // Silent exceptions } } } diff --git a/src/fuzz/helper_func.h b/src/fuzz/helper_func.h index e20ae6c2a4..831a04dd8c 100644 --- a/src/fuzz/helper_func.h +++ b/src/fuzz/helper_func.h @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/mysqlmock.cc b/src/fuzz/mysqlmock.cc index b0d2b93782..f5b4bd5870 100644 --- a/src/fuzz/mysqlmock.cc +++ b/src/fuzz/mysqlmock.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this diff --git a/src/fuzz/pgmock.cc b/src/fuzz/pgmock.cc index d885e5a8ed..ac6a16a2f2 100644 --- a/src/fuzz/pgmock.cc +++ b/src/fuzz/pgmock.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2025 Ada Logcis Ltd. +// Copyright (C) 2025 Ada Logics Ltd. // // This Source Code Form is subject to the terms of the Mozilla Public // License, v. 2.0. If a copy of the MPL was not distributed with this @@ -38,7 +38,7 @@ extern "C" void pgmock_load_bytes(const uint8_t* data, size_t size) { g_fdp = new FuzzedDataProvider(data, size); } -// Helper to duplcate string and drop const for return +// Helper to duplicate string and drop const for return static char* dupstr(const char* s) { if (!s) { return nullptr;