Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix xdrv_122_file_settings_demo buffer overflow #19405

Merged
merged 1 commit into from
Aug 29, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ struct {
uint32_t crc32; // To detect file changes
uint16_t version; // To detect driver function changes
uint16_t spare;
char drv_text[DRV_DEMO_MAX_DRV_TEXT -1][10];
char drv_text[DRV_DEMO_MAX_DRV_TEXT][10];
} DrvDemoSettings;

// Global structure containing driver non-saved variables
Expand Down