| Summary: | Syscall param fstatat(file_name) points to unaddressable byte(s) at __fxstatat / statx_generic / statx / std::sys::unix::fs::try_statx | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | mh |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | mark |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch | ||
|
Description
mh
2021-02-26 08:34:21 UTC
This is somewhat unfortunate since it removes another valid check for bogus addresses passed to the kernel. Maybe it is time for rust to come with a default suppression file? But I can see why you want this when running Rust code under valgrind. Pushed as: commit 5d45e212a66fe83f593693adf452d4ea78dcf1d3 Author: Mike Hommey <mh@glandium.org> Date: Fri Feb 26 17:09:52 2021 +0900 sys_newfstatat: don't complain if |file_name| is NULL. This is a followup to 2a7d3ae76, in the case rust code runs against a glibc that supports statx but a kernel that doesn't, in which case glibc falls back to fstatat. https://bugs.kde.org/show_bug.cgi?id=433641 |