Details
-
Bug
-
Status: In Review (View Workflow)
-
Major
-
Resolution: Unresolved
-
3.3, 3.4
-
None
Description
|
ma_stmt_codec.c |
|
675
|
my_bool zf_truncated= 0;
|
676
|
 |
677
|
buffer= alloca(MAX(field->length, 22));
|
678
|
endptr= ma_ll2str(val, buffer, is_unsigned ? 10 : -10);
|
679
|
len= (uint)(endptr - buffer);
|
field->length can be very large and alloca() will destroy the stack.
Reported by Yalguun Tumenkhuu