Skip to content

Commit

Permalink
gcc analyzer: increase socket_name size
Browse files Browse the repository at this point in the history
Now matches sun_path size.

Found with -Wanalyzer-out-of-bounds

Signed-off-by: Rosen Penev <[email protected]>
  • Loading branch information
neheb committed Jul 4, 2024
1 parent e39848b commit 4d53728
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion irqbalance.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ unsigned long migrate_ratio = 0;

#ifdef HAVE_IRQBALANCEUI
int socket_fd;
char socket_name[64];
char socket_name[108];
char *banned_cpumask_from_ui = NULL;
#endif

Expand Down

0 comments on commit 4d53728

Please sign in to comment.