| Summary: | x86 sys_modify_ldt wrapper crashes on bad ptr | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Mark Wielaard <mark> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.12 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Fix crash in sys_modify_ldt wrapper on bad ptr. | ||
|
Description
Mark Wielaard
2016-09-26 16:15:40 UTC
Created attachment 101298 [details]
Fix crash in sys_modify_ldt wrapper on bad ptr.
Make sure ptr is safe_to_deref if not NULL.
Also fixup some corner case error return codes.
We have to do that ourselves since we never actually call into the kernel.
valgrind svn r15995 |