• Rob Shearman's avatar
    wininet: Fix potential buffer overrun in HttpQueryInfoA. · 719cd82f
    Rob Shearman authored
    If HTTP_QUERY_CUSTOM is specified then the buffer contains a
    null-terminated string on input and data of length len on output. The
    code wasn't taking into account that the input len could be less than
    the length of the string and thus could result in the allocated buffer
    being overrun with the call to WideCharToMultiByte.
    719cd82f
http.c 121 KB