You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When initializing the KernelSymbolTable via the NewKernelSymbolsMap, we give symbols without an owner the default owner value of "system".
This is problematic, because a module can call its owner "system", which will cause its symbols to look like they belong to the kernel.
The parsing of the owner also removes the '[' and ']' characters, which might cause corruption in the names parsed.
We should give some uninitialized value as the owner which could not be mocked by anyone so we can distinguish between system and module symbols.
The text was updated successfully, but these errors were encountered:
When initializing the
KernelSymbolTable
via theNewKernelSymbolsMap
, we give symbols without an owner the default owner value of "system".This is problematic, because a module can call its owner "system", which will cause its symbols to look like they belong to the kernel.
The parsing of the owner also removes the '[' and ']' characters, which might cause corruption in the names parsed.
We should give some uninitialized value as the owner which could not be mocked by anyone so we can distinguish between system and module symbols.
The text was updated successfully, but these errors were encountered: