]> git.ipfire.org Git - thirdparty/openssh-portable.git/commit
upstream: add some functions to perform random-access read/write
authordjm@openbsd.org <djm@openbsd.org>
Sun, 14 Jul 2019 23:32:27 +0000 (23:32 +0000)
committerDamien Miller <djm@mindrot.org>
Sun, 14 Jul 2019 23:39:34 +0000 (09:39 +1000)
commit101d164723ffbc38f8036b6f3ea3bfef771ba250
tree960920c2529e0b33eeade7b8e73785c38b283571
parent7250879c72d28275a53f2f220e49646c3e42ef18
upstream: 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@

OpenBSD-Commit-ID: 91771fde7732738f1ffed078aa5d3bee6d198409
sshbuf-getput-basic.c
sshbuf.h