<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/string, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-01-22T21:52:07Z</updated>
<entry>
<title>MFC: 325765 (imp) Add notes about overlapping copies.</title>
<updated>2019-01-22T21:52:07Z</updated>
<author>
<name>Rodney W. Grimes</name>
<email>rgrimes@FreeBSD.org</email>
</author>
<published>2019-01-22T21:52:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=12895df329c08b51b1cd6b81cc8706c37ceabe4f'/>
<id>urn:sha1:12895df329c08b51b1cd6b81cc8706c37ceabe4f</id>
<content type='text'>
Add notes to each of these that specifically state that results are
undefined if the strings overlap. In the case of memcpy, we document
the overlapping behavior on FreeBSD (pre-existing). For str*, it is
left unspecified, however, since the default (and x86) implementations
do not handle overlapping strings properly.

PR: 223653
Approved by:	phk (mentor)
</content>
</entry>
<entry>
<title>MFC r338051:</title>
<updated>2018-08-22T13:45:15Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-08-22T13:45:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a215de1825585341974dfccea2ebfd377c0ab685'/>
<id>urn:sha1:a215de1825585341974dfccea2ebfd377c0ab685</id>
<content type='text'>
Provide set_constraint_handler_s(3) man page.
</content>
</entry>
<entry>
<title>MFC r338049:</title>
<updated>2018-08-22T13:44:24Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-08-22T13:44:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1df354b34fa97a6d1f2c9d72e24b8aa8870d08b2'/>
<id>urn:sha1:1df354b34fa97a6d1f2c9d72e24b8aa8870d08b2</id>
<content type='text'>
Clarify that memset_s(3) requires __STDC_WANT_LIB_EXT1__ for visibility.
Fix typos and other nits.
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFC r329361:</title>
<updated>2018-02-24T18:16:28Z</updated>
<author>
<name>Cy Schubert</name>
<email>cy@FreeBSD.org</email>
</author>
<published>2018-02-24T18:16:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5f1c3ee7293c541578505e9cab7c800504a0b94f'/>
<id>urn:sha1:5f1c3ee7293c541578505e9cab7c800504a0b94f</id>
<content type='text'>
Document memset_s(3). memset_s(3) is defined in
C11 standard (ISO/IEC 9899:2011) K.3.7.4.1 The memset_s function
(p: 621-622)

Fix memset(3) portion of the man page by replacing the first argument
(destination) "b" with "dest", which is more descriptive than "b".
This also makes it consistent with the term used in the memset_s()
portion of the man page.

See also http://en.cppreference.com/w/c/string/byte/memset.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D13682
</content>
</entry>
<entry>
<title>MFC r322427:</title>
<updated>2017-08-19T09:38:43Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-08-19T09:38:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2f90ec7e832970541d964b157c8803979336653f'/>
<id>urn:sha1:2f90ec7e832970541d964b157c8803979336653f</id>
<content type='text'>
Improve standard compliance for memset_s() and abort_handler_s().
</content>
</entry>
<entry>
<title>MFC r322426:</title>
<updated>2017-08-15T09:40:57Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2017-08-15T09:40:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a49e3fc4d72cea4a4b42e07f1aa6950c4ac17951'/>
<id>urn:sha1:a49e3fc4d72cea4a4b42e07f1aa6950c4ac17951</id>
<content type='text'>
Fix indent.
</content>
</entry>
<entry>
<title>MFC r304106:</title>
<updated>2017-05-31T06:47:56Z</updated>
<author>
<name>Xin LI</name>
<email>delphij@FreeBSD.org</email>
</author>
<published>2017-05-31T06:47:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4e19e4c1ec30d9b617ce6c66287366c465739123'/>
<id>urn:sha1:4e19e4c1ec30d9b617ce6c66287366c465739123</id>
<content type='text'>
Add timingsafe_bcmp and timingsafe_memcmp.

Obtained from:	OpenBSD
Reviewed by:	trasz
</content>
</entry>
<entry>
<title>MFC r317034:</title>
<updated>2017-05-01T12:42:06Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2017-05-01T12:42:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=73b18f37dae47fc42d40c97d1095c92e530e902b'/>
<id>urn:sha1:73b18f37dae47fc42d40c97d1095c92e530e902b</id>
<content type='text'>
Fix strcoll_l disagreeing with strxfrm by reworking the forward order case in
wcscoll_l().

Illumos fixed this while grabbing back our patches:
https://www.illumos.org/rb/r/402/

This does not 100% fix what postgresql folks reported as there is still a
remaining issue: https://www.illumos.org/issues/7962, it improves the situation

The initial issue was reported in postgresql mailing lists:
https://www.postgresql.org/message-id/flat/111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com#111D0E27-A8F3-4A84-A4E0-B0FB703863DF@s24.com

Submitted by:	Yuri Pankov &lt;yuri.pankov@nexenta.com&gt;
Obtained from:	Illumos
</content>
</entry>
</feed>
