-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
I just looked through the code a bit, and I was amazed when I saw that you're bypassing the need to register traits by actually making a virtual function call into the vtable pointer. I wouldn't have thought of that. My question is, is this secure, and is it safe?
It seems like attempting to deserialize a bad vtable pointer, intentionally or unintentionally, could allow the execution of arbitrary memory regions, which seems like both a massive security flaw, and unsafe in that it could cause undefined behavior. Am I wrong about this?
It seems like, unless there's some verification that I missed, this needs to be addressed.
Metadata
Metadata
Assignees
Labels
No labels