blaugold / iabtcf_consent_info

Flutter plugin for reading IAB TCF v2.0 user consent information, such as made available through CMP SDKs, like Funding Choices's User Messaging Platform (UMP).
https://pub.dev/packages/iabtcf_consent_info
10 stars 8 forks source link

Be robust with the Data Usage Purpose values #20

Open Guillergood opened 2 months ago

Guillergood commented 2 months ago

Right now if the binary string is greater than DataUsagePurpose values length, the library explodes. I propose to change it to be robust, so the library is crash-free against binary list modifications.