Repository navigation
Patch CVE-2024-42002 - #1001
Patch CVE-2024-42002#1001mjcarroll wants to merge 1 commit into
Conversation
|
Pulls: #1001 |
9a17d3e to
0240e86
Compare
|
Hi @mjcarroll. I noticed there was a CI issue when merging this CVE patch. Any help needed? |
|
Hey @florcabral if you wouldn't mind taking a look at the CI issues here, I didn't catch them in my local testing before merging. |
|
@mjcarroll Trying to drill down into the actual tests that failed after this patch - am I looking at the right build log here? If so, for |
This comment was marked as outdated.
This comment was marked as outdated.
|
Pulls: #1001 |
|
@florcabral I have rerun the CI, you can see the logs here: https://ci.ros2.org/job/ci_linux-aarch64/17812/testReport/junit/ros2topic.ros2topic.test/test_cli/test_cli/ |
|
Pulls: #1001 |
|
@ros-pull-request-builder retest this please |
|
IIRC, there was something wrong with this implementation. |
|
Also, it severely limits Python expression-based filtering: #1003 (comment) |
| print(self.model.attributes) | ||
| print(node) |
There was a problem hiding this comment.
| print(self.model.attributes) | |
| print(node) |
|
Hello, I found that These warnings go to stdout, so the launch_testing output checks fail because the expected pattern (ie average rate: ... lines) in tests such as Removing those debug prints should restore the expected behavior. The failures seemed to come from the unexpected stdout pollution, not from the filter logic itself. As for the evaluation of data msg type, reported on the jazzy PR, I also couldn't reproduce that test failure for this branch, and manual local tests seem to show the filtering logic isn't blocking stuff like If you accept my recent suggestion on Could we run your CI to see exactly what is blocking this PR at this stage? Thanks! |
|
@christophebedard Any feedback to my last update? Thanks. |
fujitatomoya
left a comment
There was a problem hiding this comment.
@mjcarroll can you rebase and resolve the comments?
…ead of eval() (CVE-2024-42002) Uses the evaluator of ros2#1001 for both echo and hz.
Replace eval() of the hz --filter expression with a restricted AST evaluator. Re-apply of #999 (reverted in #1000), rebased onto rolling, with the leftover debug prints removed from the evaluator. Signed-off-by: Michael Carroll <[email protected]>
0240e86 to
7291dba
Compare
Replaces #999