mirror of
https://github.com/cuberite/polarssl.git
synced 2025-08-16 09:06:22 -04:00

sprintf( (char *) buf, "%s\r\n", base ); Above code generates Wformat-overflow warning since both buf and base are of same size. buf should be sizeof( base ) + characters added in the format. In this case format 2 bytes for "\r\n".