kib
d68f9d50f6
Improve standard compliance for memset_s() and abort_handler_s().
...
abort_handler_s() currently simply calls abort(), though the standard
specifies more: "Writes an implementation-defined message to stderr
which must include the string pointed to by msg and calls abort()."
memset_s() is missing error condition "n > smax", and does not invoke
the constraint handler after filling the buffer: "following errors are
detected at runtime and call the currently installed constraint
handler function after storing ch in every location of the destination
range [dest, dest+destsz) if dest and destsz are themselves valid",
one of the errors is "n > smax" itself.
Submitted by: Yuri Pankov <yuripv@gmx.com>
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D11991
2017-08-12 15:18:17 +00:00
..
2016-08-14 23:38:50 +00:00
2013-05-28 20:57:40 +00:00
2015-08-24 01:53:18 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-08-24 01:51:10 +00:00
2015-10-17 19:55:58 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2017-03-30 04:57:26 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2016-08-14 23:38:50 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2017-03-18 00:51:39 +00:00
2017-03-18 00:53:24 +00:00
2013-05-28 20:57:40 +00:00
2017-08-12 15:18:17 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2014-05-30 01:09:07 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2014-03-07 15:35:54 +00:00
2013-05-28 20:57:40 +00:00
2015-06-04 21:54:46 +00:00
2013-05-28 20:57:40 +00:00
2015-09-20 03:51:15 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-08-09 00:19:14 +00:00
2014-03-07 15:35:54 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2014-06-23 08:25:03 +00:00
2013-08-31 22:32:42 +00:00
2013-05-28 20:57:40 +00:00
2015-04-06 03:21:22 +00:00
2016-02-26 22:14:19 +00:00
2015-04-06 03:21:22 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-08-26 23:28:10 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2014-12-21 12:36:36 +00:00
2013-05-28 20:57:40 +00:00
2017-03-18 00:53:24 +00:00
2016-01-22 20:36:03 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-08-09 00:19:14 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2017-03-30 04:57:26 +00:00
2016-08-14 23:38:50 +00:00
2016-08-14 23:38:50 +00:00
2016-08-14 23:38:50 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2017-04-16 19:12:07 +00:00
2016-01-13 21:50:08 +00:00
2016-01-13 21:49:01 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2013-05-28 20:57:40 +00:00
2015-08-07 23:41:26 +00:00
2013-05-28 20:57:40 +00:00