Skip to content
Permalink
Browse files
cdvd_config: expand filename argument for SMB from 80 characters to 8…
…8 characters

This is to avoid a 1 character buffer overflow when sprinting into the buffer
  • Loading branch information
uyjulian committed Jun 11, 2021
1 parent cdbbe84 commit 8f0f51e464f962ca688af7491dff0f09e27a86f7
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/iopcore/common/cdvd_config.h
@@ -26,7 +26,7 @@ struct cdvdman_settings_hdd
struct cdvdman_settings_smb
{
struct cdvdman_settings_common common;
char filename[80];
char filename[88];
union
{
struct

0 comments on commit 8f0f51e

Please sign in to comment.