Skip to content

Commit

Permalink
cdvd_config: expand filename argument for SMB from 80 characters to 8…
Browse files Browse the repository at this point in the history
…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 8f0f51e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/iopcore/common/cdvd_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f0f51e

Please sign in to comment.