Comment 21 for bug 1123588

Matthias Klose (doko) wrote :

which already says ...
"The malloc attribute is used to tell the compiler that a function may be treated as if any non-NULL pointer it returns cannot alias any other pointer valid when the function returns."