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

            Bug ID: 492214
           Summary: statx(fd, NULL, AT_EMPTY_PATH) is supported since
                    Linux 6.11 but not supported in valgrind
    Classification: Developer tools
           Product: valgrind
           Version: unspecified
          Platform: unspecified
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: shankerwangm...@gmail.com
  Target Milestone: ---

Created attachment 172972
  --> https://bugs.kde.org/attachment.cgi?id=172972&action=edit
[PATCH] sys_statx: support for statx(fd, NULL, AT_EMPTY_PATH)

This causes valgrind to report `Address 0x0 is not stack'd, malloc'd or
(recently) free'd` when `statx` is used in that way.

The attached patch addresses this issues by allowing passing in NULL when
AT_EMPTY_PATH is set in the `flags`.

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

Reply via email to