[CRT]
authorPierre Schweitzer <pierre@reactos.org>
Fri, 4 Sep 2015 16:41:51 +0000 (16:41 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Fri, 4 Sep 2015 16:41:51 +0000 (16:41 +0000)
commit975826e064b644fc475738c881eedba6f038bb90
tree28ca92d3c6ab43315a780dc6b8c0f23627754c65
parent3d95d5dd1403a28a87bfda82329d927bf64de4ff
[CRT]
Fix rand_s implementation so that it doesn't leak resources, so that it doesn't dereference null pointer, so that it matches MSDN documentation (https://msdn.microsoft.com/fr-fr/library/sxtz2fa8.aspx)

CID 716561
CID 716668

svn path=/trunk/; revision=69005
reactos/lib/sdk/crt/math/rand.c