[PATCH] msvcp90: mark _invalid_parameter as noreturn (Coverity)

Piotr Caban piotr.caban at gmail.com
Mon Jan 6 04:40:52 CST 2014


On 01/04/14 18:25, Marcus Meissner wrote:
> 1147947 Dereference after null check
>
> after not seeing that _invalid_parameter will not return,
> so just mark the function as such, perhaps coverity then notices it.
The function may return if application sets custom invalid parameter 
handler. I guess it shouldn't be marked as DECLSPEC_NORETURN. Probably 
all the places where it's used should be changed to return an error 
after calling _invalid_parameter.



More information about the wine-devel mailing list