Open cfriedt opened 1 year ago
Changed to priority low, as these are not new bugs by any means, just newly discovered, and so any code that exists already in main is should continue to be stable even without an immediate fix.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Hi! Are there any hints for what could be wrong? I see quite a few cases covered in rangematch
, but it's pretty confusing looking at all the code. I will take a stab at this again later today.
Hi! Are there any hints for what could be wrong? I see quite a few cases covered in
rangematch
, but it's pretty confusing looking at all the code. I will take a stab at this again later today.
@AbhinavMir - There are just a few cases commented-out in the test suite.
https://github.com/zephyrproject-rtos/zephyr/blob/main/tests/posix/common/src/fnmatch.c
For this ticket, we would need to uncomment those cases and ensure that tests pass.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
Describe the bug It appears as though the original
fnmatch()
implementation that was checked-in with 486b731b40717a16f619b07e5d58aaf7d5143e78 has bugs. This is not surprising since it was checked-in without any test coverage.The actual failing cases are commented-out in
tests/lib/posix/common/src/fnmatch.c
(part of #55184)Please also mention any information which could help others to understand the problem you're facing:
To Reproduce Steps to reproduce the behavior:
tests/lib/posix/common/src/fnmatch.c
2.west build -p auto -b qemu_cortex_a53 -t run tests/posix/common/
Expected behavior All test cases should pass, including known failure modes.
Impact The shell has been using a buggy version of
fnmatch()
since approximately 2018.Logs and console output
Environment (please complete the following information):
Additional context Noticed in the context of #55185