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

            Bug ID: 446754
           Summary: Improve error codes from alloc functions under
                    memcheck
           Product: valgrind
           Version: 3.19 GIT
          Platform: Compiled Sources
                OS: FreeBSD
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: memcheck
          Assignee: jsew...@acm.org
          Reporter: pjfl...@wanadoo.fr
  Target Milestone: ---

Created attachment 144408
  --> https://bugs.kde.org/attachment.cgi?id=144408&action=edit
more errno for allocs

This commit

commit 1c9a0bf58a47e855e6e5bf78a30bcee0af835804
Author: Mark Wielaard <m...@klomp.org>
Date:   Fri Feb 12 23:29:34 2021 +0100

    PR217695 malloc/calloc/realloc/memalign failure doesn't set errno to ENOMEM

started adding some errno functionality to Linux.

The attached patch
a) covers a couple more functions
b) adds EINVAL for aligned variants
c) adds FreeBSD and Solaris

Not yet tested on Linux or Solaris.

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

Reply via email to