diff options
| author | Xi Wang <xi.wang@gmail.com> | 2011-11-25 23:01:18 -0500 |
|---|---|---|
| committer | Andreas Schneider <asn@cryptomilk.org> | 2012-10-22 21:00:08 +0200 |
| commit | cab00c3bfcc88e7321fb9670956758cdee50f49c (patch) | |
| tree | f1ff4bbb85362015e99e8cec6d18322b86f59bc7 /src/string.c | |
| parent | d404ad71525a5cad91d030e20c5346470b20e46d (diff) | |
| download | libssh-cab00c3bfcc88e7321fb9670956758cdee50f49c.tar.gz libssh-cab00c3bfcc88e7321fb9670956758cdee50f49c.tar.xz libssh-cab00c3bfcc88e7321fb9670956758cdee50f49c.zip | |
pki: Fix integer overflow in ssh_pki_import_privkey_file().
If the file size is ULONG_MAX, the call to malloc() may allocate a
small buffer, leading to a memory corruption.
Diffstat (limited to 'src/string.c')
0 files changed, 0 insertions, 0 deletions
