Merge "libbinder_rs: sized writes is size >= 4" am: 0dfc611db1

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1950002

Change-Id: Ia6d23c60c3e7098d018f991ae0dff5da01330dd8
diff --git a/libs/binder/rust/src/parcel.rs b/libs/binder/rust/src/parcel.rs
index 206b90c..256fa8b 100644
--- a/libs/binder/rust/src/parcel.rs
+++ b/libs/binder/rust/src/parcel.rs
@@ -496,7 +496,7 @@
     {
         let start = self.get_data_position();
         let parcelable_size: i32 = self.read()?;
-        if parcelable_size < 0 {
+        if parcelable_size < 4 {
             return Err(StatusCode::BAD_VALUE);
         }