| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Fixes a potential buffer-overread/overflow scenario in the ReadPropertyMultiple ACK decoding path when the tag-4 propertyValue payload is malformed/truncated, and adds a unit test to prevent regressions.
Changes:
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/bacnet/basic/service/h_rpm_a.c | Adds length/remaining-byte tracking and new error checks while decoding tag-4 propertyValue payloads. |
| test/CMakeLists.txt | Includes the new bacnet/basic/service/h_rpm_a test directory in the test build. |
| test/bacnet/basic/service/h_rpm_a/CMakeLists.txt | Adds a new standalone CMake test target for the RPM ACK handler decoder. |
| test/bacnet/basic/service/h_rpm_a/src/main.c | Adds a regression test that feeds a malformed/truncated tag-4 payload and expects decode failure. |
Sorry, something went wrong.
…ecessary data_remaining checks
…e ack (#1395) * Fix buffer overflow in rpm_ack_decode_service_request by validating data length and remaining bytes * Add unit tests for handler_read_property_multiple_ack decoder paths
| Back | FazBrowse Home | New Git URL |
No description provided.