Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions release_build_files/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -626,6 +626,8 @@ code.
- Database (Desktop): Fixed cached objects with priorities set (via
`SetPriority()` or `SetValueAndPriority()`) being read back from the
offline persistence cache as corrupted or null values.
- Remote Config (Android): Fixed an out-of-bounds stack read when converting
byte-array config values to `Variant` in `GetAll()`.
- Storage (Desktop): Fixed a crash when destroying a `Listener` that was
never passed to a storage operation.
- App Check (Desktop): Fixed requests from any `App` other than the first
Expand Down
2 changes: 1 addition & 1 deletion remote_config/src/android/remote_config_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1292,7 +1292,7 @@ static Variant RemoteConfigValueToVariant(JNIEnv* env, jobject from) {
if (!CheckKeyRetrievalLogError(env, "", "vector")) {
std::vector<unsigned char> blob =

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Lint warning: Add #include <vector> for vector<>

util::JniByteArrayToVector(env, value_array);
return Variant::FromMutableBlob(&blob, blob.size());
return Variant::FromMutableBlob(blob.data(), blob.size());
}
// If get here, all conversion fails.
LogError(
Expand Down
Loading