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

            Bug ID: 433859
           Summary: Add mismatched detection to C++ 117 aligned new/delete
           Product: valgrind
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: pjfl...@wanadoo.fr
  Target Milestone: ---

Currently new and delete are only considered for matching on whether they are
scalar or array operators.

We should also take alignment into consideration.

In practice, this is largely a theoretical issue as GCC libstdc++ and LLVM
libc++ the delete operators are simply implemented in in terms of the plain
delete. It is always possible for users to replace these operators and for the
replacements to rely on correct alignment values.

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

Reply via email to