IXWebSocket icon indicating copy to clipboard operation
IXWebSocket copied to clipboard

parseHttpHeaders crash !!!

Open MCSQNXA opened this issue 7 months ago • 1 comments

The parseHttpHeaders method in the IXWebSocketHttpHeaders class will result in a string truncation out of bounds error. The specific code is std::string value(lineStr.substr(start, lineStr.size() - start - 2)); There is a probability that specific issues may occur when iOS devices access HTTP services

MCSQNXA avatar Jun 23 '25 17:06 MCSQNXA

Would you care to make a PR for that?

I think someone merged or proposed a fix for this recently but I don't remember it ...

bsergean avatar Sep 02 '25 20:09 bsergean