mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Felix Hoffmann <f3lix.dev@gmx.de>
To: Lachlan Hodges <lachlan.hodges@morsemicro.com>
Cc: linux-wireless@vger.kernel.org,
	Dan Callaghan <dan.callaghan@morsemicro.com>,
	Arien Judge <arien.judge@morsemicro.com>,
	Johannes Berg <johannes@sipsolutions.net>,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH wireless] wifi: mm81x: validate YAPS receive framing
Date: Wed,  7 Oct 2026 11:30:13 +0200	[thread overview]
Message-ID: <20261007093013.17116-1-f3lix.dev@gmx.de> (raw)
In-Reply-To: <lrsghye5vfzs5o4pljrbm2ubfcxgc3mkcpyc2sbutsq6td6qug@36liwxdx6j5i>

Hi Lachlan,

Thank you for the review.

Yes, YAPS_DELIM_GET_PKT_SIZE() makes the intent clearer. I have changed v2
to use it through the signed pkt_size local, so encoded sizes below the
reserved page remain negative and are rejected. The upper-bound check adds
YAPS_RESERVED_PAGE_SIZE back to preserve its existing encoded-size semantics.

I will send v2 as a separate thread.

Thanks,
Felix

      reply	other threads:[~2026-10-07  9:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-10 20:10 Felix Hoffmann
2026-10-07  3:15 ` Lachlan Hodges
2026-10-07  9:30   ` Felix Hoffmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261007093013.17116-1-f3lix.dev@gmx.de \
    --to=f3lix.dev@gmx.de \
    --cc=arien.judge@morsemicro.com \
    --cc=dan.callaghan@morsemicro.com \
    --cc=johannes@sipsolutions.net \
    --cc=lachlan.hodges@morsemicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®