We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b43545 commit 28712a3Copy full SHA for 28712a3
1 file changed
platforms/unix/vm/sqUnixMain.c
@@ -535,7 +535,7 @@ getAttributeString(sqInt id)
535
osName = malloc(strlen(info.sysname) + strlen(info.release) + 2);
536
strcpy(osName,info.sysname);
537
osName[strlen(info.sysname)] = ' ';
538
- strcat(osName,info.release);
+ strcpy(osName + strlen(info.sysname) + 1,info.release);
539
return osName;
540
#endif
541
}
0 commit comments