Thread (6 messages) 6 messages, 4 authors, 2019-02-22

Re: [PATCH] powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning

flat view

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2019-02-19 01:04:19

Meelis Roos [off-list ref] writes:
quoted
Rather than relying on that we can pass an explict end_pos based on
the sizeof(vrsave). The result should be exactly the same but it's
more obviously not over-reading/writing the stack and it avoids the
compiler warning.
It works on my PowerMac G4 with Debian-ports unstable with gcc 8.
Thanks.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help