Skip to content
Open
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 @@ -615,6 +615,8 @@ code.
## Release Notes
### Upcoming
- Changes
- Remote Config (Android): Fixed an out-of-bounds stack read when converting
byte-array config values to `Variant` in `GetAll()`.
- General (Desktop): Fixed Auth and App Check staying registered with their
`App` after being deleted. Previously a deleted `AppCheck` instance could
be silently re-created by other products using the same `App`.
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