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

            Bug ID: 509139
           Summary: Update BadSize error messages
    Classification: Developer tools
           Product: valgrind
      Version First 3.25 GIT
       Reported In:
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

The message is currently something like

memalign() invalid size value: 0

For consistency I think that should be something like

Invalid size value: 0 (memalign() size of 0 is implementation defined)

At present 4 functions are affected
posix_memalign - implementation defined by POSIX
memalign - non-standard that can and does do just about anything
aligned_alloc - implementation defined by ISO C which passes the buck and says
it is implementation defined
free_sized_aligned - can't remember why I did this (but I didn't do free_sized)

I need to revisit my research into what all these functions do on new glibc,
old glibc, FreeBSD, Solaris, macOS, musl, ptmalloc and maybe a couple more.

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

Reply via email to