We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79530fa commit 22ddcfdCopy full SHA for 22ddcfd
src/main/java/com/iab/gdpr/consent/implementation/v1/ByteBufferBackedVendorConsent.java
@@ -112,7 +112,7 @@ public boolean isPurposeAllowed(Purpose purpose) {
112
@Override
113
public boolean isVendorAllowed(int vendorId) {
114
final int maxVendorId = getMaxVendorId();
115
- if (vendorId < 0 || vendorId > maxVendorId) return false;
+ if (vendorId < 1 || vendorId > maxVendorId) return false;
116
117
if (encodingType() == VENDOR_ENCODING_RANGE) {
118
final boolean defaultConsent = bits.getBit(DEFAULT_CONSENT_OFFSET);
0 commit comments