uxn

Varvara Ordinator, written in ANSI C(SDL2)
git clone https://git.eamoncaddigan.net/uxn.git
Log | Files | Refs | README | LICENSE

commit 42ade9e8c8d37c212675a5928a6029577a9c74c4
parent 9e663250bf9841a33a3358982fa7aac533483186
Author: Devine Lu Linvega <aliceffekt@gmail.com>
Date:   Wed, 22 Feb 2023 12:45:13 -0800

Merge branch 'main' of git.sr.ht:~rabbits/uxn

Diffstat:
Msrc/devices/file.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/devices/file.c b/src/devices/file.c @@ -65,7 +65,7 @@ static Uint16 get_entry(char *p, Uint16 len, const char *pathname, const char *basename, int fail_nonzero) { struct stat st; - if(len < strlen(basename) + 7) + if(len < strlen(basename) + 8) return 0; if(stat(pathname, &st)) return fail_nonzero ? sprintf(p, "!!!! %s\n", basename) : 0;