Skip to content

Commit edaa1d8

Browse files
authored
Fix stack smashing (#28)
Expands the array size to fit all assigned elements.
1 parent ddfb337 commit edaa1d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stats.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ char *uwufetch();
5656
*/
5757
char *screenfetch();
5858

59-
#define STATS_SIZE 7
59+
#define STATS_SIZE 8
6060
/**
6161
* Gets all stats.
6262
*/

0 commit comments

Comments
 (0)