Skip to content
Snippets Groups Projects
Commit 0d010881 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

(cherry picked from commit b5163ef7)
parent 6bb2e9f7
No related branches found
No related tags found
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