Thread (3 messages) flat view 3 messages, 3 authors, 2021-03-22

Re: [PATCH] arm64: kdump: update ppos when reading elfcorehdr

From: Will Deacon <will@kernel.org>
Date: 2021-03-22 13:24:10
Also in: lkml

On Fri, 19 Mar 2021 16:50:54 -0400, Pavel Tatashin wrote:
The ppos points to a position in the old kernel memory (and in case of
arm64 in the crash kernel since elfcorehdr is passed as a segment). The
function should update the ppos by the amount that was read. This bug is
not exposed by accident, but other platforms update this value properly.
So, fix it in ARM64 version of elfcorehdr_read() as well.
Applied to arm64 (for-next/fixes), thanks!

[1/1] arm64: kdump: update ppos when reading elfcorehdr
      https://git.kernel.org/arm64/c/141f8202cfa4

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help