Skip to content

Commit

Permalink
Fix: NullRef in GetClonedChildProcess
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisKraus committed May 14, 2024
1 parent d6b7115 commit ad4099c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ETWAnalyzer/EventDump/DumpObjectRef.cs
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ ETWProcess GetClonedChildProcess(IHandleDuplicateEvent handleduplicate, IETWExtr
x.StartTime < parent.EndTime &&
x.StartTime > handleduplicate.GetTime(extract.SessionStart)
).FirstOrDefault();
if( child.StartTime > handleduplicate.GetTime(extract.SessionStart))
if( child?.StartTime > handleduplicate.GetTime(extract.SessionStart))
{
lret = child;
}
Expand Down

0 comments on commit ad4099c

Please sign in to comment.