Hi Martin,

On Wed, Nov 18, 2026 at 05:05:39AM -0800, Martin Mirchev wrote:
> Hi,
> 
> Here are 12 independent BUG/MINOR fixes against current master (586d0eef7),
> as git format-patch files. Patches 1 to 10 are attached here, and 11 and 12
> follow in a reply, as my mail client limits the number of attachments. Each
> one was reproduced on master before the fix and checked again after it; the
> full reg-test suite gives the same result with and without the series (362
> passed, 0 failed).

Thanks, will have a more detailed look. Please avoid posting more than 2-3
small patches at once, as it makes reviews more complicated. Think that it's
unlikely that someone will review 12 patches in one run, and having to go
back to a single message to restart commenting in the middle is a pain. In
this case, just use git send-email and send the plain series starting with
your cover letter as you're doing, but with one message per patch and that's
easier for everyone.

> 1. intops: decode_varint() accepted more than 10 bytes (shift by 67, UB)
> and silently wrapped values >= 2^64. Every value encode_varint() produces
> still round-trips.

I remember us fixing something similar recently, maybe it was for peers
or QUIC then, I don't remember.

> 2. mux-spop: AGENT-HELLO/DISCONNECT keys were matched by prefix
> ("max-frame-size-bogus" counted as max-frame-size).
> 3. mqtt: Will QoS 3, QoS or retain without Will, a 3.1.1 password without a
> username, and 3.1.1 CONNACK codes > 5 were all accepted as valid.
> 4. mux-h2: atoi() in the tune.h2 keywords accepted "16384x", "x" (as 0,
> which means unlimited) and empty values.

For such ones that can affect a config parser and start to reject configs
that work by accident, I prefer that we don't mark them for backporting.
Users will face the issue after upgrading to a new branch, but nothing
will fail on them when they apply a security fix in the same branch.

> 5. log: "sample 10-20,5-30:40" (a range enclosing another) passed the
> overlap check.
> 6. base64: ubase64rev maps '=' to 63, so ub64dec decodes padding as data
> ("AB==" gives 00 1f ff). The cause is an off-by-one in
> dev/base64/base64rev-gen.c, fixed too.
> 7. sample: ungrpc parsed compressed gRPC messages as plain protobuf.
> 8. net_helper: the eth.* converters did not skip 802.1ad (0x88a8) tags.
> This patch touches lines next to my pending "accept an Ethernet header
> ending with the protocol" patch; I can rebase whichever is applied second.

Aren't those only expected to appear between switches ?

> 9. acme: "acme renew" without an argument released ckch_lock without
> holding it.
> 10. activity: "show profiling tasks|memory <N>" read past the table when N
> is larger than it (ASan heap-buffer-overflow; admin level only).
> 11. proto_tcp: a TCP_MD5SIG setsockopt() failure did not give the source
> port back to the port range.
> 12. tools: on x86_64, the CBOR bin encoder wrote integer arguments in
> little-endian order. This is 3.5-dev only, since c1abbb11f.
> 
> Backport notes are in each commit message.

Thanks for these, we'll review and pick them up or comment on them.

Willy


Reply via email to