[Bug 298085] hastd/hastctl abort on a legitimate zero-size protocol message (hast_proto_recv_hdr asserts non-NULL on an empty ebuf)

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 01 Sep 2026 16:24:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298085

--- Comment #5 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
(In reply to Mark Johnston from comment #3)
Callers of hast_proto_recv_hdr() get an nvlist.  If hdr.size == 0, that nvlist
is empty and nv_get_*() fails, which the code already checks for.

-- 
You are receiving this mail because:
You are the assignee for the bug.