Added a null check on the vtable symbol
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402327
This commit is contained in:
parent
a513a2a6f8
commit
111a3a7169
@ -38,6 +38,11 @@ int main(int argc, char **argv)
|
||||
|
||||
pVtable = (void **)dlsym(handle, argv[2]);
|
||||
|
||||
if (pVtable == NULL)
|
||||
{
|
||||
printf("Invalid vtable symbol \"%s\"\n", argv[2]);
|
||||
}
|
||||
|
||||
if (argc >= 5)
|
||||
{
|
||||
params = argv[4];
|
||||
|
Loading…
Reference in New Issue
Block a user