Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Apr 2026 07:09:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 292811] sys/kern/imgact_elf.c:2722:18: error: variable 'structsize' is uninitialized when passed as a const pointer argument here
Message-ID:  <bug-292811-227-z54JMUgrah@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-292811-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292811

Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |giorgitchankvetadze1997@gma
                   |                            |il.com

--- Comment #1 from Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> ---
Created attachment 269403
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=269403&action=edit
Initialize structsize to 0 in note_procstat_auxv

The attached patch resolves the uninitialized variable warning and prevents
potential stack data leakage into ELF notes.

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

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-292811-227-z54JMUgrah>