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 Dan Barnett committed May 11, 2021
1 parent 9ebb0e7 commit 9880102
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 9880102

Please sign in to comment.