this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix buffer overflow in `tic_fs_changedir` (#2658)

authored by

Alice and committed by
GitHub
70b01118 ca5c9216

+1 -1
+1 -1
src/studio/fs.c
··· 498 498 499 499 void tic_fs_changedir(tic_fs* fs, const char* dir) 500 500 { 501 - char temp[TICNAME_MAX]; 501 + char temp[TICNAME_MAX+1]; 502 502 503 503 if (strlen(fs->work) > 0) { 504 504 snprintf(temp, TICNAME_MAX+1, "%s/%s", fs->work, dir);