3 ms·
I believe they have a bit of a point, because it isn’t locally obvious that randlen will match the zero-terminated length of randstr, at https://github.com/curl
by layer8 3y ago
I believe they have a bit of a point, because it isn’t locally obvious that randlen will match the zero-terminated length of randstr, at https://github.com/curl/curl/blob/1d8e8c9ad1ff3351386422535f4c066db6a9ea88/lib/ws.c#L579 https://github.com/curl/curl/blob/1d8e8c9ad1ff3351386422535f.... It depends on the exact behavior and interface
contract of the external function Curl_base64_encode(). A static analyzer might rightfully flag this. The LLM does a bad job of explaining this though.