diff options
author | Tom Cosgrove <tom@cvs.openbsd.org> | 2017-05-11 11:52:19 +0000 |
---|---|---|
committer | Tom Cosgrove <tom@cvs.openbsd.org> | 2017-05-11 11:52:19 +0000 |
commit | ad2227ce541f4680147d70e42e7d4191100ecad4 (patch) | |
tree | e668a460aae9bca5bbee748e15290acedd57a209 | |
parent | 1d966e4e31ff8838e686b92982a16b81c6be730d (diff) |
arc4random_buf should be bounded buffer, not bounded string
ok millert@
-rw-r--r-- | include/stdlib.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 66393e51ea4..0374313a112 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdlib.h,v 1.70 2017/05/10 21:48:29 millert Exp $ */ +/* $OpenBSD: stdlib.h,v 1.71 2017/05/11 11:52:18 tom Exp $ */ /* $NetBSD: stdlib.h,v 1.25 1995/12/27 21:19:08 jtc Exp $ */ /*- @@ -308,7 +308,7 @@ u_quad_t strtouq(const char *__restrict, char **__restrict, int); uint32_t arc4random(void); uint32_t arc4random_uniform(uint32_t); void arc4random_buf(void *, size_t) - __attribute__((__bounded__ (__string__,1,2))); + __attribute__((__bounded__ (__buffer__,1,2))); #endif /* __BSD_VISIBLE */ |