OpenBSD CVS

CVS log for src/lib/libcrypto/Attic/mem.c


[BACK] Up to [local] / src / lib / libcrypto

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.19, Wed Apr 16 03:24:53 2014 UTC (10 years, 1 month ago) by beck
Branch: MAIN
CVS Tags: HEAD
Changes since 1.18: +0 -0 lines
FILE REMOVED

Your operating system memory allocation functions are your friend. If they
are not please fix your operating system. Replace mem.c with an API-compatible
wrapper that just calls the system functions and does not allow a one word
modification of a variable in a running shared library to turn on memory
debug functions that expose things that should not be seen.
ok tedu@

Revision 1.18 / (download) - annotate - [select for diffs], Wed Apr 16 01:35:37 2014 UTC (10 years, 1 month ago) by matthew
Branch: MAIN
Changes since 1.17: +18 -35 lines
Diff to previous 1.17 (colored)

Remove disabled code that wouldn't work now that cleanse_ptr was
removed.

Also, fix some nearby KNF nits that were bothering me.

ok beck

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 15 13:41:53 2014 UTC (10 years, 1 month ago) by jsing
Branch: MAIN
Changes since 1.16: +236 -199 lines
Diff to previous 1.16 (colored)

First pass at applying KNF to the OpenSSL code, which almost makes it
readable. This pass is whitespace only and can readily be verified using
tr and md5.

Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 13 15:25:29 2014 UTC (10 years, 2 months ago) by miod
Branch: MAIN
CVS Tags: butholakala
Changes since 1.15: +1 -1 lines
Diff to previous 1.15 (colored)

Merge conflicts; remove MacOS, Netware, OS/2, VMS and Windows build machinery.

Revision 1.1.1.10 / (download) - annotate - [select for diffs] (vendor branch), Sun Apr 13 15:16:32 2014 UTC (10 years, 2 months ago) by miod
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_1_0_1_g
Changes since 1.1.1.9: +1 -1 lines
Diff to previous 1.1.1.9 (colored)

Import OpenSSL 1.0.1g

Revision 1.15 / (download) - annotate - [select for diffs], Sat Oct 13 21:25:12 2012 UTC (11 years, 7 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.14: +2 -0 lines
Diff to previous 1.14 (colored)

resolve conflicts

Revision 1.1.1.9 / (download) - annotate - [select for diffs] (vendor branch), Sat Oct 13 21:23:33 2012 UTC (11 years, 7 months ago) by djm
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_1_0_1_c
Changes since 1.1.1.8: +6 -0 lines
Diff to previous 1.1.1.8 (colored)

import OpenSSL-1.0.1c

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Sun Apr 22 01:39:22 2012 UTC (12 years, 1 month ago) by djm
Branch: OPENBSD_5_1
Changes since 1.13: +4 -0 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

MFC

mem.c
revision 1.14
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +4 -0
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

asn1/a_d2i_fp.c
revision 1.6
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +40 -14
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

buffer/buffer.c
revision 1.9
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +17 -0
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Sun Apr 22 01:38:23 2012 UTC (12 years, 1 month ago) by djm
Branch: OPENBSD_5_0
Changes since 1.13: +4 -0 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

MFC

mem.c
revision 1.14
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +4 -0
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

asn1/a_d2i_fp.c
revision 1.6
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +40 -14
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

buffer/buffer.c
revision 1.9
date: 2012/04/19 22:57:38;  author: djm;  state: Exp;  lines: +17 -0
cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 19 22:57:38 2012 UTC (12 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2
Changes since 1.13: +4 -0 lines
Diff to previous 1.13 (colored)

cherrypick fix for CVE-2012-2110: libcrypto ASN.1 parsing heap overflow
ok miod@ deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Fri Oct 1 22:58:53 2010 UTC (13 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_1_BASE, OPENBSD_5_0_BASE, OPENBSD_4_9_BASE, OPENBSD_4_9
Branch point for: OPENBSD_5_1, OPENBSD_5_0
Changes since 1.12: +17 -48 lines
Diff to previous 1.12 (colored)

resolve conflicts, fix local changes

Revision 1.1.1.8 / (download) - annotate - [select for diffs] (vendor branch), Fri Oct 1 22:54:02 2010 UTC (13 years, 8 months ago) by djm
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_1_0_0_f, openssl_1_0_0_e, openssh_1_0_0_a
Changes since 1.1.1.7: +16 -48 lines
Diff to previous 1.1.1.7 (colored)

import OpenSSL-1.0.0a

Revision 1.12 / (download) - annotate - [select for diffs], Fri Jan 9 12:15:22 2009 UTC (15 years, 5 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.11: +46 -1 lines
Diff to previous 1.11 (colored)

resolve conflicts

Revision 1.1.1.7 / (download) - annotate - [select for diffs] (vendor branch), Fri Jan 9 12:13:50 2009 UTC (15 years, 5 months ago) by djm
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_0_9_8_k, openssl_0_9_8_j
Changes since 1.1.1.6: +46 -1 lines
Diff to previous 1.1.1.6 (colored)

import openssl-0.9.8j

Revision 1.11 / (download) - annotate - [select for diffs], Sat Sep 6 12:17:48 2008 UTC (15 years, 9 months ago) by djm
Branch: MAIN
Changes since 1.10: +5 -5 lines
Diff to previous 1.10 (colored)

resolve conflicts

Revision 1.1.1.6 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 6 12:15:39 2008 UTC (15 years, 9 months ago) by djm
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_0_9_8_h
Changes since 1.1.1.5: +5 -5 lines
Diff to previous 1.1.1.5 (colored)

import of OpenSSL 0.9.8h

Revision 1.10 / (download) - annotate - [select for diffs], Thu Apr 8 08:03:12 2004 UTC (20 years, 2 months ago) by markus
Branch: MAIN
CVS Tags: pre_openssl_0_9_8h, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2, OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0, OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored)

merge 0.9.7d

Revision 1.1.1.5 / (download) - annotate - [select for diffs] (vendor branch), Wed Apr 7 20:41:32 2004 UTC (20 years, 2 months ago) by markus
Branch: openssl, SSLeay, OPENSSL
CVS Tags: openssl_0_9_7j, OPENSSL_0_9_7G, OPENSSL_0_9_7D
Changes since 1.1.1.4: +11 -7 lines
Diff to previous 1.1.1.4 (colored)

import openssl-0.9.7d

Revision 1.9 / (download) - annotate - [select for diffs], Sat Oct 25 12:41:02 2003 UTC (20 years, 7 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.8: +7 -3 lines
Diff to previous 1.8 (colored)

don't destroy old pointer if realloc fails; from Daniel Lucq; ok deraadt@

Revision 1.8 / (download) - annotate - [select for diffs], Mon May 12 02:18:35 2003 UTC (21 years, 1 month ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.7: +42 -3 lines
Diff to previous 1.7 (colored)

merge 0.9.7b with local changes; crank majors for libssl/libcrypto

Revision 1.1.1.4 / (download) - annotate - [select for diffs] (vendor branch), Sun May 11 21:34:27 2003 UTC (21 years, 1 month ago) by markus
Branch: openssl, SSLeay, OPENSSL
CVS Tags: OPENSSL_0_9_7C, OPENSSL_0_9_7B
Changes since 1.1.1.3: +46 -1 lines
Diff to previous 1.1.1.3 (colored)

import 0.9.7b (without idea and rc5)

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Sun Feb 23 16:16:02 2003 UTC (21 years, 3 months ago) by miod
Branch: OPENBSD_3_1
Changes since 1.4: +6 -0 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

MFC (markus@):
check for size < 0 when allocating memory, from openssl (-r1.34)

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Sat Feb 22 22:14:48 2003 UTC (21 years, 3 months ago) by margarida
Branch: OPENBSD_3_2
Changes since 1.6: +6 -0 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Pull patch from current:
Fix by markus@

check for size < 0 when allocating memory, from openssl (-r1.34)

markus@ deraadt@ ok

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 21 12:39:17 2003 UTC (21 years, 3 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.6: +6 -0 lines
Diff to previous 1.6 (colored)

check for size < 0 when allocating memory, from openssl (-r1.34)

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 14 11:18:02 2002 UTC (21 years, 9 months ago) by markus
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE
Branch point for: OPENBSD_3_2
Changes since 1.5: +3 -0 lines
Diff to previous 1.5 (colored)

merge with openssl-0.9.7-stable-SNAP-20020911,
new minor for libcrypto (_X509_REQ_print_ex)
tested by miod@, pb@

Revision 1.1.1.3 / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 12 20:43:35 2002 UTC (21 years, 9 months ago) by markus
Branch: openssl, SSLeay, OPENSSL
CVS Tags: OPENSSL_0_9_7_STABLE_SNAP_20020911
Changes since 1.1.1.2: +3 -0 lines
Diff to previous 1.1.1.2 (colored)

import openssl-0.9.7-stable-SNAP-20020911 (without idea)

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Thu Sep 5 12:49:42 2002 UTC (21 years, 9 months ago) by markus
Branch: openssl, SSLeay, OPENSSL
CVS Tags: OPENSSL_0_9_7_BETA3, OPENSSL_0_9_7_BETA1
Changes since 1.1.1.1: +230 -234 lines
Diff to previous 1.1.1.1 (colored)

import openssl-0.9.7-beta1

Revision 1.5 / (download) - annotate - [select for diffs], Wed May 15 02:29:10 2002 UTC (22 years, 1 month ago) by beck
Branch: MAIN
Changes since 1.4: +102 -25 lines
Diff to previous 1.4 (colored)

OpenSSL 0.9.7 stable 2002 05 08 merge

Revision 1.4 / (download) - annotate - [select for diffs], Fri Dec 15 02:57:02 2000 UTC (23 years, 6 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_3_1_BASE, OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9
Branch point for: OPENBSD_3_1
Changes since 1.3: +31 -20 lines
Diff to previous 1.3 (colored)

openssl-engine-0.9.6 merge

Revision 1.3 / (download) - annotate - [select for diffs], Sun Mar 19 11:08:29 2000 UTC (24 years, 2 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_2_8_BASE, OPENBSD_2_8, OPENBSD_2_7_BASE, OPENBSD_2_7
Changes since 1.2: +135 -303 lines
Diff to previous 1.2 (colored)

OpenSSL 0.9.5 merge

*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs

Revision 1.2 / (download) - annotate - [select for diffs], Wed Sep 29 04:35:24 1999 UTC (24 years, 8 months ago) by beck
Branch: MAIN
CVS Tags: OPENBSD_2_6_BASE, OPENBSD_2_6
Changes since 1.1: +152 -76 lines
Diff to previous 1.1 (colored)

OpenSSL 0.9.4 merge

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Mon Oct 5 20:12:33 1998 UTC (25 years, 8 months ago) by ryker
Branch: openssl, SSLeay, OPENSSL
CVS Tags: SSLeay_0_9_0b, OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of SSLeay-0.9.0b with RSA and IDEA stubbed + OpenBSD build
functionality for shared libs.

Note that routines such as sslv2_init and friends that use RSA will
not work due to lack of RSA in this library.

Needs documentation and help from ports for easy upgrade to full
functionality where legally possible.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Oct 5 20:12:33 1998 UTC (25 years, 8 months ago) by ryker
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.