Re: [PATCH] lib/asn1_encoder: fix encoding of zero OID components

From: Jarkko Sakkinen

Date: Tue Nov 24 2026 - 04:21:45 EST


On Mon, Nov 23, 2026 at 10:03:11PM -0800, Andrew Morton wrote:
> > For example, 1.2.0 is encoded as 06 02 2a 80 instead of 06 02 2a 00.
> > Emit zero without the continuation bit, as required for the final
> > octet of a base-128 subidentifier.
>
> Super-slim bug and it appears that nothing in the current tree uses
> this code path. But a bug is a bug.

It's a good catch :-)

But yeah, we need a person, this is not anonymous/pseudonym project but
the change itself is apppreciated.

Br, Jarkko