<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openbsd/src/lib/libcrypto/bn/bn_print.c, branch OPENBSD_6_8_BASE</title>
<subtitle>A mirror of https://github.com/libressl/openbsd.git
</subtitle>
<id>https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE</id>
<link rel='self' href='https://git.lua4.win/openbsd/atom?h=OPENBSD_6_8_BASE'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/'/>
<updated>2017-01-29T17:49:23+00:00</updated>
<entry>
<title>Send the function codes from the error functions to the bit bucket,</title>
<updated>2017-01-29T17:49:23+00:00</updated>
<author>
<name>beck</name>
<email></email>
</author>
<published>2017-01-29T17:49:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=d1f47bd292f36094480caa49ada36b99a69c59b0'/>
<id>urn:sha1:d1f47bd292f36094480caa49ada36b99a69c59b0</id>
<content type='text'>
as was done earlier in libssl. Thanks inoguchi@ for noticing
libssl had more reacharounds into this.
ok jsing@ inoguchi@
</content>
</entry>
<entry>
<title>If BN_div_word() fails (by returning (BN_ULONG)-1) or if the division</title>
<updated>2016-10-17T03:30:14+00:00</updated>
<author>
<name>guenther</name>
<email></email>
</author>
<published>2016-10-17T03:30:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9'/>
<id>urn:sha1:02f5f4c1d4ea0ed62e460c1178fae38b6e8fa0c9</id>
<content type='text'>
fails to reduce the input in the expected space then fail out instead
of overflowing the allocated buffer.

combines openssl commits 28a89639da50b1caed4ff3015508f23173bf3e49 and
3612ff6fcec0e3d1f2a598135fe12177c0419582

ok doug@ beck@
</content>
</entry>
<entry>
<title>Add bounds checking for BN_hex2bn/BN_dec2bn.</title>
<updated>2016-03-02T06:16:11+00:00</updated>
<author>
<name>doug</name>
<email></email>
</author>
<published>2016-03-02T06:16:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=f4e95f97ea9c7fe75b429a3364b1449e83bb1b81'/>
<id>urn:sha1:f4e95f97ea9c7fe75b429a3364b1449e83bb1b81</id>
<content type='text'>
Need to make sure i * 4 won't overflow.  Based on OpenSSL:

commit 99ba9fd02fd481eb971023a3a0a251a37eb87e4c

input + ok bcook@
ok beck@
</content>
</entry>
<entry>
<title>remove excessive brackets on pointer math</title>
<updated>2015-09-28T18:58:33+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-09-28T18:58:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=9e65350789e73f16ebd0672704b928a0f3dcb8a7'/>
<id>urn:sha1:9e65350789e73f16ebd0672704b928a0f3dcb8a7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Redo 1.25, without the NULL deref.</title>
<updated>2015-09-27T19:41:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2015-09-27T19:41:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=ba7d6609fcab2f8dc72ed84e09920aee9da75aa9'/>
<id>urn:sha1:ba7d6609fcab2f8dc72ed84e09920aee9da75aa9</id>
<content type='text'>
ok sthen@ bcook@
</content>
</entry>
<entry>
<title>Revert bn_print.c:r1.25 ("handle negative-zero in BN_bn2dec() too") for</title>
<updated>2015-09-18T09:00:04+00:00</updated>
<author>
<name>sthen</name>
<email></email>
</author>
<published>2015-09-18T09:00:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=8a2b62a8c45beb43a75c8994a301e68c2f3a2e18'/>
<id>urn:sha1:8a2b62a8c45beb43a75c8994a301e68c2f3a2e18</id>
<content type='text'>
now, it has a NULL deref. Segfault reported by Mikolaj Kucharski, ok bcook
</content>
</entry>
<entry>
<title>Handle negative-zero in BN_bn2dec() too, just like in BN_print().</title>
<updated>2015-09-13T16:02:11+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-09-13T16:02:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=5313e1a6e8d465ce51e34471a7b90930aaadf2e9'/>
<id>urn:sha1:5313e1a6e8d465ce51e34471a7b90930aaadf2e9</id>
<content type='text'>
ok miod
</content>
</entry>
<entry>
<title>BN does support negative-zero -- BN_print() sets the standard here.</title>
<updated>2015-09-13T15:59:29+00:00</updated>
<author>
<name>deraadt</name>
<email></email>
</author>
<published>2015-09-13T15:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=cd6c582063a3fd8f331646e17db3d5bb97124e53'/>
<id>urn:sha1:cd6c582063a3fd8f331646e17db3d5bb97124e53</id>
<content type='text'>
BN_bn2hex() had a 1-byte overflow when creating "-0\0".  Reported to
me a while back by unknown person -- did not have enough experience
to push this through then.
advice from jsing, ok miod
</content>
</entry>
<entry>
<title>if (x) FOO_free(x) -&gt; FOO_free(x).</title>
<updated>2014-07-12T16:03:37+00:00</updated>
<author>
<name>miod</name>
<email></email>
</author>
<published>2014-07-12T16:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/openbsd/commit/?id=068bf464df6ef084067943863d776f59762bfaf0'/>
<id>urn:sha1:068bf464df6ef084067943863d776f59762bfaf0</id>
<content type='text'>
Improves readability, keeps the code smaller so that it is warmer in your
cache.

review &amp; ok deraadt@
</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>
</feed>
