Skip to content

Commit

Permalink
33across: Fix Shared Memory Overwriting (prebid#1764)
Browse files Browse the repository at this point in the history
This reverts commit f7df258.
  • Loading branch information
guscarreon authored and shunj-nb committed Nov 8, 2022
1 parent 0572a4e commit e7c0774
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions adapters/33across/33across.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (a *TtxAdapter) MakeBids(internalRequest *openrtb.BidRequest, externalReque
}

func validateVideoParams(video *openrtb.Video, prod string) (*openrtb.Video, error) {
videoCopy := video
videoCopy := *video
if videoCopy.W == 0 ||
videoCopy.H == 0 ||
videoCopy.Protocols == nil ||
Expand All @@ -252,7 +252,7 @@ func validateVideoParams(video *openrtb.Video, prod string) (*openrtb.Video, err
}
}

return videoCopy, nil
return &videoCopy, nil
}

func getBidType(ext bidExt) openrtb_ext.BidType {
Expand Down

0 comments on commit e7c0774

Please sign in to comment.