Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rubicon OpenRTB crashes if banner.format is undefined #317

Closed
dbemiller opened this issue Feb 2, 2018 · 0 comments
Closed

Rubicon OpenRTB crashes if banner.format is undefined #317

dbemiller opened this issue Feb 2, 2018 · 0 comments
Assignees
Labels

Comments

@dbemiller
Copy link
Contributor

dbemiller commented Feb 2, 2018

To reproduce, boot PBS and POST the following request to /openrtb2/auction:

{
  "id": "e8f0d8a3-f360-43c2-af08-34aa265108b0",
  "site": {
    "page": "mysite.com"
  },
  "imp": [
    {
      "id":"/19968336/header-bid-tag-0",
      "banner": {
        "w": 350,
        "h":200
      },
      "ext": {
        "rubicon": {
          "accountId": 1001,
          "siteId":113932,
          "zoneId":535510
        }
      }
    }
  ]
}

The app crashes with the following trace:

panic: runtime error: makeslice: cap out of range

goroutine 16 [running]:
github.com/prebid/prebid-server/adapters/rubicon.parseRubiconSizes(0x0, 0x0, 0x0, 0x17, 0x40, 0x0, 0x0, 0x4d00000, 0x0)
	/Users/dbemiller/go/src/github.com/prebid/prebid-server/adapters/rubicon/rubicon.go:211 +0x5c
github.com/prebid/prebid-server/adapters/rubicon.(*RubiconAdapter).MakeRequests(0xc459f61380, 0xc459f89a40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
	/Users/dbemiller/go/src/github.com/prebid/prebid-server/adapters/rubicon/rubicon.go:576 +0x118e
github.com/prebid/prebid-server/exchange.(*bidderAdapter).requestBid(0xc459fbdee0, 0x491b660, 0xc4201bf7a0, 0xc459f89a40, 0x0, 0x4622b03, 0x7, 0x0, 0x0, 0x0, ...)
	/Users/dbemiller/go/src/github.com/prebid/prebid-server/exchange/bidder.go:82 +0x58
github.com/prebid/prebid-server/exchange.(*exchange).getAllBids.func1(0xc459f61340, 0x491b660, 0xc4201bf7a0, 0xc45a07ba70, 0x0, 0xc4201bf8c0, 0x4622b03, 0x7)
	/Users/dbemiller/go/src/github.com/prebid/prebid-server/exchange/exchange.go:134 +0x194
created by github.com/prebid/prebid-server/exchange.(*exchange).getAllBids
	/Users/dbemiller/go/src/github.com/prebid/prebid-server/exchange/exchange.go:129 +0x153
@dbemiller dbemiller added the bug label Feb 2, 2018
@dbemiller dbemiller self-assigned this Feb 2, 2018
pm-nilesh-chate pushed a commit to pm-nilesh-chate/prebid-server that referenced this issue Feb 25, 2023
* OTT-583 :: Refactored floor code and used RequestWrapper for retrieving and setting extension object (prebid#310)
* OTT-589: Eids is getting passed randomly to user.eids for appnexus adapter (prebid#311)

Co-authored-by: Nikhil Vaidya<nikhi.vaidya@pubmatic.com>
Co-authored-by: Pubmatic-Dhruv-Sonone <83747371+Pubmatic-Dhruv-Sonone@users.noreply.github.com>
allar15 added a commit to allar15/prebid-server that referenced this issue Nov 24, 2023
…-win-imp-events-from-PBS-response

PB-1237 removed events field
StarWindMoonCloud pushed a commit to ParticleMedia/prebid-server that referenced this issue Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant