OpenBSD CVS

CVS log for src/usr.bin/ssh/sshbuf-getput-basic.c


[BACK] Up to [local] / src / usr.bin / ssh

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.13 / (download) - annotate - [select for diffs], Wed May 25 06:03:44 2022 UTC (2 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, HEAD
Changes since 1.12: +10 -10 lines
Diff to previous 1.12 (colored)

revert previous; it was broken (spotted by Theo)

Revision 1.12 / (download) - annotate - [selected], Wed May 25 00:31:13 2022 UTC (2 years ago) by djm
Branch: MAIN
Changes since 1.11: +11 -11 lines
Diff to previous 1.11 (colored)

make SSHBUF_DBG/SSHBUF_TELL (off by default and only enabled via
#define) dump to stderr rather than stdout

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jun 5 03:25:35 2020 UTC (3 years, 11 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored) to selected 1.12 (colored)

make sshbuf_putb(b, NULL) a no-op

Revision 1.10 / (download) - annotate - [select for diffs], Fri Dec 13 19:09:37 2019 UTC (4 years, 5 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.9: +4 -1 lines
Diff to previous 1.9 (colored) to selected 1.12 (colored)

allow sshbuf_put_stringb(buf, NULL); ok markus@

Revision 1.9 / (download) - annotate - [select for diffs], Fri Sep 6 04:53:27 2019 UTC (4 years, 8 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored) to selected 1.12 (colored)

lots of things were relying on libcrypto headers to transitively
include various system headers (mostly stdlib.h); include them
explicitly

Revision 1.8 / (download) - annotate - [select for diffs], Sun Jul 14 23:32:27 2019 UTC (4 years, 10 months ago) by djm
Branch: MAIN
Changes since 1.7: +162 -1 lines
Diff to previous 1.7 (colored) to selected 1.12 (colored)

add some functions to perform random-access read/write operations
inside buffers with bounds checking. Intended to replace manual
pointer arithmetic wherever possible.

feedback and ok markus@

Revision 1.7 / (download) - annotate - [select for diffs], Thu Jun 1 04:51:58 2017 UTC (7 years ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored) to selected 1.12 (colored)

fix casts re constness

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 16 11:00:17 2016 UTC (7 years, 11 months ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored) to selected 1.12 (colored)

Include stdarg.h for va_copy as per man page.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Oct 20 23:24:25 2015 UTC (8 years, 7 months ago) by mmcc
Branch: MAIN
CVS Tags: OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.4: +4 -4 lines
Diff to previous 1.4 (colored) to selected 1.12 (colored)

Compare pointers to NULL rather than 0.

ok djm@

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 14 15:02:39 2015 UTC (9 years, 4 months ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.3: +37 -1 lines
Diff to previous 1.3 (colored) to selected 1.12 (colored)

avoid BIGNUM in KRL code by using a simple bitmap;
feedback and ok markus

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jan 12 15:18:07 2015 UTC (9 years, 4 months ago) by djm
Branch: MAIN
Changes since 1.2: +12 -7 lines
Diff to previous 1.2 (colored) to selected 1.12 (colored)

apparently memcpy(x, NULL, 0) is undefined behaviour according to
C99 (cf. sections 7.21.1 and 7.1.4), so check skip memcpy calls when
length==0; ok markus@

Revision 1.2 / (download) - annotate - [select for diffs], Thu Dec 4 01:49:59 2014 UTC (9 years, 5 months ago) by djm
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.12 (colored)

convert KRL code to new buffer API

ok markus@

Revision 1.1 / (download) - annotate - [select for diffs], Wed Apr 30 05:29:56 2014 UTC (10 years, 1 month ago) by djm
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6
Diff to selected 1.12 (colored)

New buffer API; the first installment of the conversion/replacement
of OpenSSH's internals to make them usable as a standalone library.

This includes a set of wrappers to make it compatible with the
existing buffer API so replacement can occur incrementally.

With and ok markus@

Thanks also to Ben Hawkes, David Tomaschik, Ivan Fratric, Matthew
Dempsky and Ron Bowes for a detailed review.

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.