free map_sub_
before map_free(map_)
to avoid UAF&&NullPtr bug mentioned in #4078
#83
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
jobs: | |
ament_lint_general: | |
name: ament_${{ matrix.linter }} | |
runs-on: ubuntu-latest | |
container: | |
image: rostooling/setup-ros-docker:ubuntu-jammy-ros-rolling-ros-base-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
linter: [xmllint, cpplint, uncrustify, pep257, flake8] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ros-tooling/[email protected] | |
with: | |
linter: ${{ matrix.linter }} | |
distribution: rolling | |
package-name: "*" |