lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <176375537924.3973666.8147842755858554191.b4-ty@kernel.org>
Date: Fri, 21 Nov 2025 12:02:59 -0800
From: Namhyung Kim <namhyung@...nel.org>
To: acme@...nel.org, Hrishikesh Suresh <hrishikesh123s@...il.com>
Cc: peterz@...radead.org, mingo@...hat.com, mark.rutland@....com, 
 alexander.shishkin@...ux.intel.com, jolsa@...nel.org, irogers@...gle.com, 
 adrian.hunter@...el.com, james.clark@...aro.org, 
 linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf: replace strcpy() with strncpy() in
 util/jitdump.c

On Wed, 19 Nov 2025 23:16:10 -0500, Hrishikesh Suresh wrote:
> Usage of strcpy() can lead to buffer overflows. Therefore, it has been
> replaced with strncpy(). The output file path is provided as a parameter
> and might be restricted by command-line by default. But this defensive
> patch will prevent any potential overflow, making the code more robust
> against future changes in input handling.
> 
> Testing:
> - ran perf test from tools/perf and did not observe any regression with
>   the earlier code
> 
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ