diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2012-10-12 11:35:20 +0200 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2012-11-14 17:10:57 +0100 |
commit | 1699adfa036ffc66c62fdbb784610445cbebfc6e (patch) | |
tree | 311f73e8c59bdd2b1c956b0d6492c9eb926ad534 /src/misc.c | |
parent | db81310d719878cc04b23e4033fbe19fa0b1f8a3 (diff) | |
download | libssh-1699adfa036ffc66c62fdbb784610445cbebfc6e.tar.gz libssh-1699adfa036ffc66c62fdbb784610445cbebfc6e.tar.xz libssh-1699adfa036ffc66c62fdbb784610445cbebfc6e.zip |
CVE-2012-4562: Fix a possible infinite loop in buffer_reinit().
If needed is bigger than the highest power of two or a which fits in an
integer we will loop forever.
Diffstat (limited to 'src/misc.c')
0 files changed, 0 insertions, 0 deletions