Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de writes:
dlls/wininet/http.c: HTTP_HttpOpenRequestA Calculate size from the same argument that is used later Check for possible NULL arguments
It makes no sense to check for NULL when computing the length and then still put the strings into the buffer. If the strings can really be NULL this must be handled properly everywhere, or not at all.