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:
Matt Woodrow 2008-07-01 23:42:19 +00:00
parent a513a2a6f8
commit 111a3a7169

View File

@ -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];