From: Lawrence S. <ljs...@us...> - 2022-02-23 19:55:57
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via 98cc111e505b81ed90daf133ec44ff8c0fa49aa0 (commit) via a9a893420d05b5d2e2553da562b2711795bc3721 (commit) from 6ce15aff975014867f1e9b8aa80b840b1db85714 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 98cc111e505b81ed90daf133ec44ff8c0fa49aa0 Merge: 6ce15af a9a8934 Author: Luke Benstead <ka...@gm...> Date: Wed Feb 23 19:48:14 2022 +0000 Merge pull request #69 from KallistiOS/fix-sizeof-issue-in-fs-dclsocket Fix an incorrect sizeof() statement that caused corruption commit a9a893420d05b5d2e2553da562b2711795bc3721 Author: Luke Benstead <ka...@gm...> Date: Wed Feb 23 19:43:43 2022 +0000 Fix an incorrect sizeof() statement that caused corruption ----------------------------------------------------------------------- Summary of changes: kernel/arch/dreamcast/fs/fs_dclsocket.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/arch/dreamcast/fs/fs_dclsocket.c b/kernel/arch/dreamcast/fs/fs_dclsocket.c index 307e789..aa221f4 100644 --- a/kernel/arch/dreamcast/fs/fs_dclsocket.c +++ b/kernel/arch/dreamcast/fs/fs_dclsocket.c @@ -588,7 +588,7 @@ static int dcls_stat(vfs_handler_t *vfs, const char *fn, struct stat *rv, memcpy(cmd->id, "DC13", 4); cmd->address = htonl((uint32) &filestat); - cmd->size = htonl(sizeof(struct stat)); + cmd->size = htonl(sizeof(dcload_stat_t)); strcpy((char *)(cmd->data), fn); send(dcls_socket, cmd, sizeof(command_t) + strlen(fn) + 1, 0); hooks/post-receive -- A pseudo Operating System for the Dreamcast. |