plgd-dev / go-coap

Implementation of CoAP Server & Client in Go
https://coap.technology
Apache License 2.0
443 stars 116 forks source link

Enhance Options Buffer for >16 Message Unmarshaling #524

Closed jkralik closed 7 months ago

jkralik commented 7 months ago

Previously, the connection was being closed due to unmarshaling failures when more than 16 options were included in the message. This fix addresses the issue by increasing the buffer size to accommodate a higher number of options.

sonarcloud[bot] commented 7 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
100.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

codecov-commenter commented 7 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (39a46aa) 73.95% compared to head (a5adb4f) 74.06%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #524 +/- ## ========================================== + Coverage 73.95% 74.06% +0.10% ========================================== Files 71 71 Lines 5844 5853 +9 ========================================== + Hits 4322 4335 +13 + Misses 1133 1125 -8 - Partials 389 393 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.