FRUC crashed on non-existant key
Status: Beta
Brought to you by:
keydet89
FRUC crashes when it hits a key in the ini file that
does not exist in the regisry:
"[Tue Jul 11 12:48:05 2006] dumpel -l security -c" log
command sent.
dumpel -l security -c results data sent.
HKCU\Software\Microsoft\Windows\CurrentVersion\RunServices
not found
No such root key (HKCR) at C:\Documents and
Settings\davisone\Desktop\fru\fruc.exe line 308
C:\Documents and Settings\davisone\Desktop\fru>
Logged In: YES
user_id=28779
Turns out to be a typo on my part in the .ini file.
The code on line 308 is the one that fails:
if (my $reg = $Registry-{$hive}) {
$hive is checked for values prior to that point but does not
check for invalid values.
Logged In: YES
user_id=28779
The following patch will fix this:
---
298a299
> my $orig_hive = $hive;
300a302,304
> if ($orig_hive eq $hive) {
> return "Error Invalid reg key specified:
".$hive."/".$key."\n";
> }
patch file from last entry