openssl/apps
Steven Danneman 8530039a30 Fix double array increment in s_client mysql connect
The packet parsing code for the server version string was incrementing
the array index twice on every iteration. This meant that strings with
an even number of characters would pass, but strings with an odd number
(ex: 5.7.18-0ubuntu0.16.04.1) would cause the pos variable to get out
of sync.

This would cause a later failure with "MySQL packet is broken."

CLA: trivial

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3799)
2017-06-29 08:20:14 -04:00
..
demoSRP
app_rand.c Use randomness not entropy 2017-06-27 12:14:49 -04:00
apps.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
apps.h Use constants rather than macros for the cipher bytes in the apps 2017-06-21 14:45:36 +01:00
asn1pars.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
build.info Add a simple store utility command 2017-06-29 11:55:31 +02:00
ca-cert.srl
ca-key.pem
ca-req.pem
ca.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
CA.pl.in
cert.pem
ciphers.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
client.pem
cms.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
crl2p7.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
crl.c Switch command-line utils to new nameopt API. 2017-04-25 12:37:17 -04:00
ct_log_list.cnf
dgst.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
dh1024.pem
dh2048.pem
dh4096.pem
dhparam.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
dsa512.pem
dsa1024.pem
dsa-ca.pem
dsa-pca.pem
dsa.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
dsap.pem
dsaparam.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ec.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
ecparam.c Modify Sun copyright to follow OpenSSL style 2017-06-20 11:13:45 -04:00
enc.c Ensure a space after colon in enc -v 2017-06-20 14:14:48 -04:00
engine.c engine app: print out information on STORE loaders and STORE FILE handlers 2017-06-29 11:55:32 +02:00
errstr.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
gendsa.c
genpkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
genrsa.c
nseq.c
ocsp.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
openssl-vms.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
openssl.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
openssl.cnf Added support for ESSCertIDv2 2017-05-03 09:04:23 +02:00
opt.c Make clear error message if opt_<number> fails 2017-06-20 11:33:01 +02:00
passwd.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pca-cert.srl
pca-key.pem
pca-req.pem
pkcs7.c Switch command-line utils to new nameopt API. 2017-04-25 12:37:17 -04:00
pkcs8.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkcs12.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkey.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkeyparam.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
pkeyutl.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
prime.c
privkey.pem
progs.pl Reformat progs.pl; add ARIA support 2017-06-21 08:44:56 -04:00
rand.c
rehash.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
req.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
req.pem
rsa8192.pem
rsa.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
rsautl.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
s512-key.pem
s512-req.pem
s1024key.pem
s1024req.pem
s_apps.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
s_cb.c Print Ed25519 in s_client/s_server 2017-06-21 14:11:01 +01:00
s_client.c Fix double array increment in s_client mysql connect 2017-06-29 08:20:14 -04:00
s_server.c Use constants rather than macros for the cipher bytes in the apps 2017-06-21 14:45:36 +01:00
s_socket.c Fix return value checking for BIO_sock_init 2017-06-26 15:19:12 +02:00
s_time.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
server2.pem
server.pem
server.srl
sess_id.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
smime.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
speed.c Use randomness not entropy 2017-06-27 12:14:49 -04:00
spkac.c Fix possible usage of NULL pointers in apps/spkac.c 2017-06-10 02:22:22 +08:00
srp.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
storeutl.c STORE 'file' scheme loader: refactor the treatment of matches 2017-06-29 11:55:33 +02:00
testCA.pem
testdsa.h Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
testrsa.h
timeouts.h
ts.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
tsget.in tsget.in: remove call of WWW::Curl::Easy::global_cleanup 2017-06-25 22:14:30 +02:00
verify.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
version.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00
vms_decc_init.c
vms_term_sock.c
vms_term_sock.h
win32_init.c
x509.c Clean up a bundle of codingstyle stuff in apps directory 2017-06-12 16:11:05 -04:00