https://bugs.kde.org/show_bug.cgi?id=379094

            Bug ID: 379094
           Summary: Valgrind reports INTERNAL ERROR in rt_sigsuspend
                    syscall wrapper
           Product: valgrind
           Version: 3.13 SVN
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: iv...@ivosh.net
  Target Milestone: ---

Valgrind reports INTERNAL ERROR when a bogus address is passed to
rt_sigsuspend(mask) syscall wrapper.

That's because the syscall wrapper blindly passes mask (ARG1) to
VG_(sigdelset)() which in turn dereferences ARG1. The syscall wrapper needs to
check first if the memory can be safely dereferenced via
ML_(safe_to_deref)(ARG1, sizeof(vki_sigset_t)).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to