Commit cbeee03
committed
Remove Useless filtering.The string for filtering rules should not point to a stack space
==1805058==ERROR: AddressSanitizer: heap-use-after-free on address 0xe18126a0 at pc 0x52b06320 bp 0xd7b13ee8 sp 0xd7b13ed8
READ of size 1 at 0xe18126a0 thread T0
#0 0x52b0631f in tre_parse regex/regcomp.c:1356
apache#1 0x52b2b1d0 in regcomp regex/regcomp.c:3710
apache#2 0x48f55435 in c_regexmatch cmocka/src/cmocka.c:494
apache#3 0x48f65bcf in _cmocka_run_group_tests cmocka/src/cmocka.c:3252
apache#4 0x48f67e2d in cmocka_fs_test_main apps/testing/testsuites/kernel/fs/cmocka_fs_test.c:201
apache#5 0x46210b2a in nxtask_startup sched/task_startup.c:72
apache#6 0x45ff40fb in nxtask_start task/task_start.c:116
apache#7 0x462695bb in pre_start sim/sim_initialstate.c:52
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>1 parent 4e1ee27 commit cbeee03
File tree
2 files changed
+0
-10
lines changed- testing/drivertest
2 files changed
+0
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | 535 | | |
537 | 536 | | |
538 | 537 | | |
| |||
556 | 555 | | |
557 | 556 | | |
558 | 557 | | |
559 | | - | |
560 | | - | |
561 | | - | |
562 | | - | |
563 | 558 | | |
564 | 559 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | 421 | | |
423 | 422 | | |
424 | 423 | | |
| |||
442 | 441 | | |
443 | 442 | | |
444 | 443 | | |
445 | | - | |
446 | | - | |
447 | | - | |
448 | | - | |
449 | 444 | | |
450 | 445 | | |
0 commit comments