Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | BUF_strndup: tidy | Emilia Kasper | 2015-09-22 | 1 | -2/+2 |
| | | | | | | | Fix comment, add another overflow check, tidy style Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit de8883e11befde31d9b6cfbbd1fc017c365e0bbf) | ||||
* | Make BUF_strndup() read-safe on arbitrary inputs | Alessandro Ghedini | 2015-09-22 | 1 | -0/+6 |
| | | | | | | | | | | | | | | | BUF_strndup was calling strlen through BUF_strlcpy, and ended up reading past the input if the input was not a C string. Make it explicitly part of BUF_strndup's contract to never read more than |siz| input bytes. This augments the standard strndup contract to be safer. The commit also adds a check for siz overflow and some brief documentation for BUF_strndup(). Reviewed-by: Matt Caswell <matt@openssl.org> (cherry picked from commit 110f7b37de9feecfb64950601cc7cec77cf6130b) | ||||
* | Run util/openssl-format-source -v -c . | Matt Caswell | 2015-01-22 | 1 | -36/+35 |
| | | | | Reviewed-by: Tim Hudson <tjh@openssl.org> | ||||
* | Implement BUF_strnlen() and use it instead of strlen(). | Ben Laurie | 2014-05-21 | 1 | -0/+1 |
| | |||||
* | Constification. | Ben Laurie | 2013-10-01 | 1 | -1/+1 |
| | |||||
* | size_t-fy crypto/buffer. | Andy Polyakov | 2007-10-09 | 1 | -4/+4 |
| | |||||
* | New utility function to reverse a buffer, either by copying or in-place. | Dr. Stephen Henson | 2006-04-10 | 1 | -0/+1 |
| | |||||
* | Fix various incorrect error function codes. | Bodo Möller | 2005-04-26 | 1 | -0/+1 |
| | | | | ("perl util/ck_errf.pl */*.c */*/*.c" still reports many more.) | ||||
* | Make some more API types opaquely available from ossl_typ.h, meaning the | Geoff Thorpe | 2004-05-15 | 1 | -2/+7 |
| | | | | | | | corresponding headers are only required for API functions or structure details. This now includes the bignum types and BUF_MEM. Subsequent commits will remove various dependencies on bn.h and buffer.h and update the makefile dependencies. | ||||
* | Netware-specific changes, | Richard Levitte | 2003-11-28 | 1 | -0/+3 |
| | | | | | | PR: 780 Submitted by: Verdon Walker <VWalker@novell.com> Reviewed by: Richard Levitte | ||||
* | Add BUF_strndup() and BUF_memdup(). Not currently used, but I've code | Richard Levitte | 2003-04-29 | 1 | -0/+4 |
| | | | | that uses them that I'll commit in a few days. | ||||
* | Remove warnings. | Richard Levitte | 2002-11-14 | 1 | -0/+1 |
| | |||||
* | Security fixes brought forward from 0.9.7. | Ben Laurie | 2002-11-13 | 1 | -0/+8 |
| | |||||
* | remove redundant ERR_load_... declarations | Bodo Möller | 2001-12-17 | 1 | -2/+0 |
| | |||||
* | make update | Richard Levitte | 2001-11-15 | 1 | -1/+1 |
| | | | | perl util/mkerr.pl -recurse -write -rebuild | ||||
* | Remove NOPROTO definitions and error code comments. | Ulf Möller | 1999-04-26 | 1 | -12/+0 |
| | |||||
* | Complete rewrite of the error code generation script. It now runs as a single | Dr. Stephen Henson | 1999-04-24 | 1 | -1/+5 |
| | | | | | | | script, translates function codes better and doesn't need the K&R function prototypes to work (NB. the K&R prototypes can't be wiped just yet: they are still needed by the DEF generator...). I also ran the script with the -rewrite option to update all the header and source files. | ||||
* | Massive constification. | Ben Laurie | 1999-04-17 | 1 | -1/+1 |
| | |||||
* | Various cleanups and fixed by Marc and Ralf to start the OpenTLS project | Ralf S. Engelschall | 1998-12-22 | 1 | -1/+0 |
| | |||||
* | Import of old SSLeay release: SSLeay 0.9.0b | Ralf S. Engelschall | 1998-12-21 | 1 | -3/+3 |
| | |||||
* | Import of old SSLeay release: SSLeay 0.8.1b | Ralf S. Engelschall | 1998-12-21 | 1 | -0/+107 |