mirror of
https://github.com/moparisthebest/curl
synced 2025-02-28 09:21:50 -05:00
schannel: Fix out of bounds array
Bug born in changes made several days ago 9a91e80. Bug: http://curl.haxx.se/mail/lib-2015-04/0199.html Reported-by: Brian Chrisman
This commit is contained in:
parent
55db5bdff7
commit
926cb9ff65
@ -283,7 +283,7 @@ schannel_connect_step2(struct connectdata *conn, int sockindex)
|
||||
struct ssl_connect_data *connssl = &conn->ssl[sockindex];
|
||||
unsigned char *reallocated_buffer;
|
||||
size_t reallocated_length;
|
||||
SecBuffer outbuf[2];
|
||||
SecBuffer outbuf[3];
|
||||
SecBufferDesc outbuf_desc;
|
||||
SecBuffer inbuf[2];
|
||||
SecBufferDesc inbuf_desc;
|
||||
|
Loading…
x
Reference in New Issue
Block a user