Skip to content
Snippets Groups Projects
Commit b5163ef7 authored by Andrey Saranchin's avatar Andrey Saranchin Committed by Serge Petrenko
Browse files

alter: fix potential UB in RebuildFuncIndex

Method `func_index_def_new` is used to calculate an argument for base
class constructor when it is not built yet. Fortunately, it does not
use class fields - let's make it static to use it before class
initialization legitimately.

Part of tarantool/security#96

NO_TEST=no behaviour changes
NO_CHANGELOG=no behaviour changes
NO_DOC=no behaviour changes
parent 56a43147
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment