diff options
author | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2019-10-03 18:49:59 +0200 |
---|---|---|
committer | Anderson Toshiyuki Sasaki <ansasaki@redhat.com> | 2019-10-07 11:41:30 +0200 |
commit | fe18ef279881b65434e3e44fc4743e4b1c7cb891 (patch) | |
tree | ea099100544ad2be9c2cd948d33d4bf26c96b8ab /COPYING | |
parent | 689f1b0a6b8a40bf15917abed450b568c031285b (diff) | |
download | libssh-fe18ef279881b65434e3e44fc4743e4b1c7cb891.tar.gz libssh-fe18ef279881b65434e3e44fc4743e4b1c7cb891.tar.xz libssh-fe18ef279881b65434e3e44fc4743e4b1c7cb891.zip |
pki_crypto: Use temporary pointer when using i2d_*
These functions modify the provided pointer by advancing to the end of
if (point to the byte after the last written). This makes the pointer
invalid, making necessary to use a temporary variable.
Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions