Project

General

Profile

Actions

Bug #10880

closed

posix_memalign() should avoid clobbering return parameter on failure

Added by Rich Lowe about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
lib - userland libraries
Start date:
2019-04-28
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:

Description

At present, posix_memalign() always assigns to the parameter through which it returns even on failure.
This is rude, arguably against the standard, and causes a GCC test to fail.

Actions

Also available in: Atom PDF