<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/buffer/buffer.c, branch libressl-v2.2.7</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=libressl-v2.2.7'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2015-08-02T21:54:23+00:00</updated>
<entry>
<title>This commit was manufactured by cvs2git to create branch 'OPENBSD_5_8'.</title>
<updated>2015-08-02T21:54:23+00:00</updated>
<author>
<name>cvs2svn</name>
<email>admin@example.com</email>
</author>
<published>2015-08-02T21:54:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a'/>
<id>urn:sha1:67fcb4ef3942fb3a0f1e18f8ebbe7464120d485a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only import cryptlib.h in the four source files that actually need it.</title>
<updated>2014-07-11T08:44:49+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-11T08:44:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=74e2c009c83ad374bd6acdcfc376a384e25ab007'/>
<id>urn:sha1:74e2c009c83ad374bd6acdcfc376a384e25ab007</id>
<content type='text'>
Remove the openssl public includes from cryptlib.h and add a small number
of includes into the source files that actually need them. While here,
also sort/group/tidy the includes.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Stop including standard headers via cryptlib.h - pull in the headers that</title>
<updated>2014-07-10T13:58:23+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-07-10T13:58:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=c917c683bc93c68fbf4310ac181f7906e76b3c94'/>
<id>urn:sha1:c917c683bc93c68fbf4310ac181f7906e76b3c94</id>
<content type='text'>
are needed in the source files that actually require them.

ok beck@ miod@
</content>
</entry>
<entry>
<title>Replace memset(a, 0, ...); free(a); by explicit_bzero(a, ...); free(a); in</title>
<updated>2014-07-09T16:51:09+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-09T16:51:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a2694938f51e09289418ebb0c543b181fd4d929b'/>
<id>urn:sha1:a2694938f51e09289418ebb0c543b181fd4d929b</id>
<content type='text'>
fear a smartass-optimizing compiler decides memset is useless immediately
before free().

ok jsing@ deraadt@ tedu@
</content>
</entry>
<entry>
<title>tags as requested by miod and tedu</title>
<updated>2014-06-12T15:49:31+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-12T15:49:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=59f4f2c61d71e266d37dd2fc97615b3fd35b4721'/>
<id>urn:sha1:59f4f2c61d71e266d37dd2fc97615b3fd35b4721</id>
<content type='text'>
</content>
</entry>
<entry>
<title>realloc with NULL is same as malloc</title>
<updated>2014-06-01T22:14:53+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-01T22:14:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d58d5e2b67c3b3655aa59a382c87a1890fd4dfcb'/>
<id>urn:sha1:d58d5e2b67c3b3655aa59a382c87a1890fd4dfcb</id>
<content type='text'>
ok guenther
</content>
</entry>
<entry>
<title>Commit this before the head-scratching leads to premature baldness:</title>
<updated>2014-06-01T15:10:53+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2014-06-01T15:10:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=717067e4cee6765e5c81f8fe6701a5d4741d6e76'/>
<id>urn:sha1:717067e4cee6765e5c81f8fe6701a5d4741d6e76</id>
<content type='text'>
    memset(a-&gt;data, 0, (unsigned int)a-&gt;max);
but the decl is:
    size_t max;
size_t could be larger than int, especially in some of the systems OpenSSL
purports to support.

How do _intentionally truncating_ casts like enter into a codebase?
Lack of understanding of C, at a minimum.  Generally the objects are
small, but this code is _intentionally unready_ for large objects.
ok miod
</content>
</entry>
<entry>
<title>More KNF.</title>
<updated>2014-04-26T13:07:16+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-04-26T13:07:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=a1c73b72875dcb25545f111b3779cf0f0ebf9c88'/>
<id>urn:sha1:a1c73b72875dcb25545f111b3779cf0f0ebf9c88</id>
<content type='text'>
</content>
</entry>
<entry>
<title>remove OPENSSL_realloc_clean usage here - replace with intrinsics to make</title>
<updated>2014-04-17T16:30:59+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2014-04-17T16:30:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=29d25d7d30e1d53fae58f4e2229c9ef758b54ca5'/>
<id>urn:sha1:29d25d7d30e1d53fae58f4e2229c9ef758b54ca5</id>
<content type='text'>
it obvious what should happen.
ok tedu@
</content>
</entry>
<entry>
<title>Initial KNF.</title>
<updated>2014-04-17T13:58:24+00:00</updated>
<author>
<name>jsing</name>
<email></email>
</author>
<published>2014-04-17T13:58:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=83f887261aa740d406437b134c1850b51f98ba53'/>
<id>urn:sha1:83f887261aa740d406437b134c1850b51f98ba53</id>
<content type='text'>
</content>
</entry>
</feed>
