Skip to content
Snippets Groups Projects
Commit 41f451bb authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Resolve GCC 12.2 warnings

warning: ‘%s’ directive writing up to 128 bytes into a region of size 74
note: ‘sprintf’ output between 21 and 179 bytes into a destination of size 80
parent 7aa6f21e
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
......@@ -142,7 +142,7 @@ rlogin_connect(struct bbslist *bbs)
/* Negotiate with GHost and bail if there's apparently no GHost listening. */
if (bbs->conn_type == CONN_TYPE_MBBS_GHOST) {
char sbuf[80];
char sbuf[180];
char rbuf[10];
int idx, ret;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment