-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Validate InvokeRequestMessage TLV properly terminated before running commands #31218
Validate InvokeRequestMessage TLV properly terminated before running commands #31218
Conversation
PR #31218: Size comparison from 4d96234 to 94ea0c7 Increases (71 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
Decreases (2 builds for linux)
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
PR #31218: Size comparison from 4d96234 to 4c5c2ae Increases (70 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, nrfconnect, psoc6, qpg, telink)
Decreases (2 builds for linux)
Full report (72 builds for bl602, bl702, bl702l, cc13x4_26x4, cc32xx, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, psoc6, qpg, telink)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For future reference: the commit message (and hence PR description) would have been much improved by an explanation of why the test that's being removed is being removed. Would save a lot of review time.
Problem:
If an InvokeRequestMessage was missing the final close container in the TLV payload we would execute all the provided commands but return an error indicated that arguments were invalid.
Solution:
Validate entire InvokeRequestMessage before processing elements.