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

            Bug ID: 378535
           Summary: Valgrind reports INTERNAL ERROR in execve syscall
                    wrapper
           Product: valgrind
           Version: 3.13 SVN
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          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 execve(argv)
or execve(envp) syscall wrapper.

That's because ML_(pre_argv_envp)() blindly dereferences address passed by the
client program. The syscall wrapper should check at least that the first entry
of argv and envp belongs to a valid client memory segment (there needs to be
always at least one entry for terminating NULL).

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

Reply via email to