[csolution/packchk] 'name' attribute specifying folder in pack with file element causes segmentation fault. #657
Labels
bug
Something isn't working
cmsis-toolbox 2
Features in scope for "stable" baseline CMSIS-Toolbox
fixed
Issue is fixed, please verify.
Packs that have a file element + name attribute of the form:
<file category="source" name="source_path/" ...
... cause a segmentation fault when attempting to convert the solution:
$ csolution convert -s .csolution.yml
Segmentation fault (core dumped)
This was discovered while editing a custom CMSIS pack.
Looking at the doc for the 'name' attribute, it is clearly mentioned "in the format path/name.extension", so I was likely wrong to specify it as "path/". Yet, a segmentation fault seems a bit harsh.
packchk did not reject this construct, so maybe a bug should be raised against it too.
Found in v1.3.0
The text was updated successfully, but these errors were encountered: