mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
ed2cc2a8cb
This came with the upgrade from yassl 2.3.0 to 2.3.4 - ssl tests started to hang on Windows. Comparing and removing changes I've got to this: void input_buffer::set_current(uint i) { - if (i) - check(i - 1, size_); - current_ = i; + if (error_ == 0 && i && check(i - 1, size_) == 0) + current_ = i; + else + error_ = -1; } in 2.3.0 i==0 was only used to avoid the check, in 2.3.4 it's an error. but there are places in the code that do set_current(0) and others that do, like, { before=get_current(); ...; set_current(before); } - and the initial value of current_ is 0. So, I suspect that set_current(0) should not be an error, but it should only skip the check(). |
||
---|---|---|
.. | ||
yassl | ||
charset2html.c | ||
CMakeLists.txt | ||
comp_err.c | ||
innochecksum.c | ||
my_print_defaults.c | ||
mysql_waitpid.c | ||
perror.c | ||
replace.c | ||
resolve_stack_dump.c | ||
resolveip.c |