public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: "Yoann Congal" <yoann.congal@smile.fr>
To: <adongare@cisco.com>, <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [scarthgap] [PATCH V2 1/2] vim: Fix CVE-2026-25749
Date: Mon, 30 Mar 2026 22:52:54 +0200	[thread overview]
Message-ID: <DHGEY5KEC0UG.1XDWZWAJC5ZTL@smile.fr> (raw)
In-Reply-To: <173697.1774894874030687760@lists.openembedded.org>

On Mon Mar 30, 2026 at 8:21 PM CEST, Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco) via lists.openembedded.org wrote:
> Hi Yoann,
>
> Thank you for reviewing the patch. I have double-checked the formatting against the upstream repository.
>
> The context lines starting with tabs rather than a single space exactly match the original upstream source code indentation in src/tag.c for that specific block. I kept the formatting identical to the upstream commit to ensure consistency and avoid introducing any unintended whitespace or indentation issues.

Hello,

I think I was not clear enough. Let me be more precise.
I'm not talking about indentation style in the upstream file tag.c
(those can be either spaces or tabs, that is perfectly fine).

I'm talking about the format of the patch modifying this file. For
example, your CVE-2026-25749.patch file:

As per
https://www.gnu.org/software/diffutils/manual/html_node/Detailed-Unified.html:
> The lines common to both files begin with a space character. The lines
> that actually differ between the two files have one of the following
> indicator characters in the left print column:

But, in you patch you actually got a tab instead of the space meaning
that both before/after state have the same line (in another word: context).

Using "cat -t" to display tab:
 $ cat -nt meta/recipes-support/vim/files/CVE-2026-25749.patch
    33	--- a/src/tag.c
    34	+++ b/src/tag.c
    35	@@ -3348,7 +3348,7 @@ get_tagfname(
    36	^I    if (tnp->tn_hf_idx > tag_fnames.ga_len || *p_hf == NUL)
        ^ Here, there is a tab where the format says it should be a
		space to indicate context.

But some lines later this is fine:
    44	diff --git a/src/testdir/test_help.vim b/src/testdir/test_help.vim
    45	index dac153d86..f9e4686bb 100644
    46	--- a/src/testdir/test_help.vim
    47	+++ b/src/testdir/test_help.vim
    48	@@ -222,4 +222,13 @@ func Test_helptag_navigation()
    49	 endfunc
	    ^ here, this is a space to indicate that this line is context.
		(Like every other patch you will find in the oe-core repository)

Is this more clear?

> Please let me know if you would still prefer me to modify it!

Yes, I still like a properly formatted patch please.

I don't know how you generated this patch but I recommend using devtool:
https://docs.yoctoproject.org/dev/ref-manual/devtool-reference.html#updating-a-recipe

Regards,

>
> Thanks, Anil

-- 
Yoann Congal
Smile ECS



  reply	other threads:[~2026-03-30 20:53 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-09  7:02 [OE-core] [Whinlatter] [PATCH 1/2] vim v9.1.1683: Fix CVE-2026-25749 Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-09  7:02 ` [OE-core] [Whinlatter] [PATCH 2/2] vim v9.1.1683: Fix CVE-2026-26269 Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-10 23:56 ` [OE-core] [Whinlatter] [PATCH 1/2] vim v9.1.1683: Fix CVE-2026-25749 Yoann Congal
2026-03-11  9:13   ` Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-11  9:45     ` [OE-core] [scarthgap] [PATCH V2 1/2] vim: " Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-11  9:45       ` [OE-core] [scarthgap] [PATCH V2 2/2] vim: Fix CVE-2026-26269 Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-19 23:52       ` [OE-core] [scarthgap] [PATCH V2 1/2] vim: Fix CVE-2026-25749 Yoann Congal
2026-03-30 18:21         ` Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-30 20:52           ` Yoann Congal [this message]
2026-03-31  8:54             ` Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-31 11:18               ` [OE-core] " Yoann Congal
2026-03-11  9:51     ` [OE-core] [Whinlatter] " Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-11  9:51       ` [OE-core] [Whinlatter] [PATCH V2 2/2] vim: Fix CVE-2026-26269 Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-11 11:24         ` Yoann Congal
2026-03-16 12:35           ` Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-16 13:59             ` [OE-core] [Whinlatter] [PATCH V3] " Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-19 23:54               ` Yoann Congal
2026-03-30 18:28                 ` Anil Dongare -X (adongare - E INFOCHIPS PRIVATE LIMITED at Cisco)
2026-03-30 20:54                   ` [OE-core] " Yoann Congal

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=DHGEY5KEC0UG.1XDWZWAJC5ZTL@smile.fr \
    --to=yoann.congal@smile.fr \
    --cc=adongare@cisco.com \
    --cc=openembedded-core@lists.openembedded.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