1
Vote

WARNING: Dangerous Bug Could Wreck User's Computer

description

You have a very dangerous piece of code in your shell application. Look at:
HKEY_CLASSES_ROOT, TEXT("AllFileSystemObjects\shellex\ContextMenuHandlers\"SHELLEXNAME), NULL, TEXT("%s"),
 
All the code in the CtxMenue was COPIED from a publish program on CodeProject !!!! I didn't see any credit?
Both of the lines below:
HKEY_CLASSES_ROOT, TEXT("AllFileSystemObjects\shellex\ContextMenuHandlers\"SHELLEXNAME), NULL, TEXT("%s"),
and the original line from the article on CodeProject that this code was copied from, naley:
HKEY_CLASSES_ROOT, TEXT(" * \shellex\ContextMenuHandlers\"SHELLEXNAME), NULL, TEXT("%s"),
 
Both of these lines cause the shell extension for "Run as administor" on Vista to BE DISABLED !!!! Which under certain conditions can wreck a user's computer.
If you un-register the DLL the shell extension for "Run as Administrator" goes back to normal.

comments