mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
protect against corrupted frms
when reading table options
This commit is contained in:
@ -66,7 +66,8 @@ class engine_option_value: public Sql_alloc
|
||||
link(start, end);
|
||||
}
|
||||
}
|
||||
static uchar *frm_read(const uchar *buff, engine_option_value **start,
|
||||
static uchar *frm_read(const uchar *buff, const uchar *buff_end,
|
||||
engine_option_value **start,
|
||||
engine_option_value **end, MEM_ROOT *root);
|
||||
void link(engine_option_value **start, engine_option_value **end);
|
||||
uint frm_length();
|
||||
|
Reference in New Issue
Block a user