Skip to content
Snippets Groups Projects
Commit cfdbdeba 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 dcf8c35f
No related branches found
No related tags found
No related merge requests found
......@@ -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.
Finish editing this message first!
Please register or to comment