Commit 5b7efee517 for bind

commit 5b7efee517cf7a6d06bab92116dead0fec1df543
Author: Michal Nowak <mnowak@isc.org>
Date:   Thu Jun 4 12:47:27 2026 +0000

    Fix corpus lookup for fuzz_-prefixed binaries

    The fuzz binaries are named fuzz_<name> while their corpora live in
    <name>.in.  When run with no arguments the harness derived the corpus
    directory from argv[0] without stripping the fuzz_ prefix, so it
    looked for fuzz_<name>.in, found nothing and exited successfully
    without testing anything - making "meson test --suite fuzz" a no-op.
    Strip the fuzz_ prefix instead of the "lt-" one, which came from the
    libtool wrappers of the autoconf build and has nothing to strip any
    more.

    Assisted-by: Claude:claude-opus-4-8

diff --git a/fuzz/main.c b/fuzz/main.c
index ce6ff4bc0e..9191f39f6f 100644
--- a/fuzz/main.c
+++ b/fuzz/main.c
@@ -127,7 +127,8 @@ main(int argc, char **argv) {
 	}

 	target = (target != NULL) ? target + 1 : argv[0];
-	tail = isc_string_stripprefix(target, "lt-");
+	/* The binaries are named fuzz_<name>, the corpora are <name>.in. */
+	tail = isc_string_stripprefix(target, "fuzz_");
 	if (tail != NULL) {
 		target = tail;
 	}