mirror of https://github.com/schoebel/mars
infra: make KASAN happy
This commit is contained in:
parent
0f32d2fd0a
commit
ffb07986a0
|
@ -2277,8 +2277,8 @@ struct mars_brick *make_brick_all(
|
||||||
const char *new_path;
|
const char *new_path;
|
||||||
char *_new_path = NULL;
|
char *_new_path = NULL;
|
||||||
struct mars_brick *brick = NULL;
|
struct mars_brick *brick = NULL;
|
||||||
char *paths[prev_count];
|
char *paths[prev_count + 1];
|
||||||
struct mars_brick *prev[prev_count];
|
struct mars_brick *prev[prev_count + 1];
|
||||||
bool switch_state;
|
bool switch_state;
|
||||||
int i;
|
int i;
|
||||||
int status;
|
int status;
|
||||||
|
|
Loading…
Reference in New Issue