Skip to content

Commit

Permalink
Bug in First, Middle, Last for Object type filtering (off by one kind…
Browse files Browse the repository at this point in the history
… of mistake)
  • Loading branch information
lkarlslund committed May 11, 2022
1 parent 16bb4a8 commit e3e26cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/engine/analyzeobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ func AnalyzeObjects(opts AnalyzeObjectsOptions) (pg PwnGraph) {
}

if detectobjecttypes != nil {
if _, found := detectobjecttypes[object.Type()]; !found {
if _, found := detectobjecttypes[pwntarget.Type()]; !found {
// We're filtering on types, and it's not wanted
continue
}
Expand Down

0 comments on commit e3e26cf

Please sign in to comment.