...
Code Block |
---|
#define MAX_ARRAY 1024
void func(size_t s) {
vla[s];
...
}
...
if (s < MAX_ARRAY && s != 0) {
func(s);
} else {
/* Handle Error */
}
...
|
...
...
Code Block |
---|
#define MAX_ARRAY 1024
void func(size_t s) {
vla[s];
...
}
...
if (s < MAX_ARRAY && s != 0) {
func(s);
} else {
/* Handle Error */
}
...
|
...