Markus Friedl
fa8ee9ffc4
remove DISPATCH_COMPAT
2012-09-19 11:57:54 +02:00
Damien Miller
5f13a96cef
convert auth2-gss.c gss-genr.c sshconnect2.c to new buffer API
2012-09-19 19:43:19 +10:00
Damien Miller
ab2d02776f
fix whitespace horror
2012-09-19 19:42:57 +10:00
Damien Miller
449fa4049d
Convert auth-options.c auth.c auth2-pubkey.c and channels code to new
...
buffer API
2012-09-19 18:40:19 +10:00
Damien Miller
48e840c69e
fix include guard and some whitespace nits
2012-09-19 18:39:46 +10:00
Damien Miller
7acfe18212
fix error return codes
2012-09-19 15:38:04 +10:00
Damien Miller
725fecd4cc
defatal rsa.[ch]
2012-09-19 05:03:02 +10:00
Damien Miller
2a99b71b39
Include CRC compensation attack detector in per-transport state structure
2012-09-17 21:41:05 +02:00
Markus Friedl
fbbec84071
sync to cvs as of 2012-09-14
2012-09-14 18:59:11 +02:00
Markus Friedl
e3403f3457
update to openssh-6.1
2012-07-30 20:41:29 +02:00
Markus Friedl
41aac846f1
objdump -rd *.o | objdump2.pl -b asn1_d2i_read_bio | dot -Tpdf > asn1_d2i_read_bio.pdf
2012-04-26 11:12:31 +02:00
Markus Friedl
8ed0e3c614
treat all PEM_read_bio_PrivateKey() errors as SSH_ERR_KEY_WRONG_PASSPHRASE
2012-04-06 14:08:12 +02:00
Markus Friedl
19d6c6ae8b
do not leak existing comment
2012-04-02 21:13:32 +02:00
Markus Friedl
0de3e0e043
set BT_MAX_DEPTH for older versions of libexecinfo
2012-04-02 21:13:32 +02:00
Damien Miller
bdc1f63423
fixes - bad message format in ssh_decrypt_challenge(), missing break in ssh_add_identity_constrained()
2012-03-27 09:43:50 +11:00
Damien Miller
4cc6b3c6c5
more verbosity on errors
2012-03-27 09:43:20 +11:00
Damien Miller
a40866a6be
hush warnings for certificate loading if file is not present
2012-03-27 09:42:55 +11:00
Damien Miller
fab052172d
fixes from Markus
2012-03-27 08:57:21 +11:00
Damien Miller
e237a835f2
gracefully skip unrecognised key types
2012-03-26 23:23:34 +11:00
Damien Miller
2c25fb2ede
refactor agent client code
...
removed fatal()
buffer_ => sshbuf_
changed lookup of identies to return a fully-deserialised list of keys
removed AuthenticationConnection abstration; all operations now use plain socket
2012-03-26 23:10:27 +11:00
Damien Miller
67ce107972
sshbuf_free(NULL) should be a no-op
2012-03-26 17:04:40 +11:00
Damien Miller
44e5c0f6b2
memory leak in cert_free()
2012-03-21 10:56:06 +11:00
Damien Miller
d403adfa35
fuzz certificate parsing
2012-03-20 15:09:18 +01:00
Damien Miller
3f5b354ed7
test certificate loading
2012-03-20 15:09:18 +01:00
Damien Miller
cc51f0e811
fix free of uninitialised pointer; found by fuzzer
2012-03-20 15:09:18 +01:00
Damien Miller
3a5cb4965b
correct test names: s/RSA/RSA1 for a few
2012-03-20 15:09:18 +01:00
Damien Miller
0caf1913c7
allow KEY_UNSPEC in sshkey_load_private_cert()
2012-03-20 15:09:18 +01:00
Damien Miller
e0e7ddfa4a
xmalloc.h not needed here
2012-03-20 15:09:17 +01:00
Damien Miller
3f69ecb299
activate leakmalloc support when LEAKMALLOC make variable is set
...
(mostly by markus@)
2012-03-15 13:27:43 +11:00
Damien Miller
dfecc980bc
Merge branch 'master' of /home/djm/cvs/leakmalloc into merge-leakmalloc
2012-03-15 12:24:27 +11:00
Damien Miller
6161ebb123
move everything into subdirectory in preparation for merge to libopenssh
2012-03-15 12:23:01 +11:00
Damien Miller
4e552cbf80
adjust for new paths
2012-03-07 15:34:41 +11:00
Damien Miller
70606ded9d
make into a proper regress test
2012-03-07 14:45:38 +11:00
Damien Miller
de82036ecf
rename example.c => leaky.c
2012-03-07 14:45:00 +11:00
Damien Miller
e41307b545
add some options via LEAKMALLOC_OPTIONS environment
...
X = exit with status 99 on leaks
Q = quiet (useful with X)
D = dump leaks to leakmalloc.out instead of stdout
2012-03-07 14:43:11 +11:00
Damien Miller
fed32729da
reorg directory structure
2012-03-07 14:42:34 +11:00
Damien Miller
989d187309
improve summary
2012-03-07 14:39:30 +11:00
Markus Friedl
077cbaa855
don't leak the test keys and the kex after deserialize
2012-03-07 00:26:57 +01:00
Markus Friedl
9fb8cdc7bd
free the session id and version strings in kex_free()
2012-03-07 00:26:56 +01:00
Markus Friedl
faaf51919a
free the internal state in ssh_packet_close()
2012-03-07 00:26:56 +01:00
Markus Friedl
9e7303d250
don't leak the hostkey-list in ssh_free() ...
...
as well as the pub-key variant of the private hostkey
2012-03-07 00:26:55 +01:00
Damien Miller
4a3c3a7baf
fix some kex-related leaks
2012-03-07 00:26:54 +01:00
Damien Miller
06cbafed01
add a "quiet" mode, activated by -q, that prints nothing to stdout
2012-03-07 00:26:54 +01:00
Damien Miller
bdf8ba65b2
memory leaks in fingerprint tests
2012-03-07 00:26:53 +01:00
Damien Miller
52f8dc5221
memory leak in test
2012-03-07 00:26:53 +01:00
Damien Miller
4364319ce2
oops, sshbuf was never freeing its buffer memory
2012-03-07 00:26:52 +01:00
Damien Miller
b921712025
centralise error handling for sshkey_from_blob, fix leak
2012-03-07 00:26:51 +01:00
Damien Miller
bac1cfe229
make output useful as vim error file, based on patch from markus@
2012-03-07 08:24:20 +11:00
Damien Miller
dadde6f62b
print totals
2012-03-05 17:51:14 +11:00
Damien Miller
4254638087
better comment
2012-03-05 16:50:27 +11:00