]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blobdiff - arch/powerpc/kernel/process.c
signal: Ensure every siginfo we send has all bits initialized
[mirror_ubuntu-hirsute-kernel.git] / arch / powerpc / kernel / process.c
index 1237f13fed51862cbb5d7d2117c686cc06b2852b..26ea9793d2902f3618356126557aad5db4c1a0de 100644 (file)
@@ -632,6 +632,7 @@ void do_break (struct pt_regs *regs, unsigned long address,
        hw_breakpoint_disable();
 
        /* Deliver the signal to userspace */
+       clear_siginfo(&info);
        info.si_signo = SIGTRAP;
        info.si_errno = 0;
        info.si_code = TRAP_HWBKPT;