Commit b4def30
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
#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 4432d84 commit b4def30
2 files changed
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
536 | 535 | | |
537 | 536 | | |
538 | 537 | | |
| |||
552 | 551 | | |
553 | 552 | | |
554 | 553 | | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | 554 | | |
560 | 555 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
418 | 418 | | |
419 | 419 | | |
420 | 420 | | |
421 | | - | |
422 | 421 | | |
423 | 422 | | |
424 | 423 | | |
| |||
438 | 437 | | |
439 | 438 | | |
440 | 439 | | |
441 | | - | |
442 | | - | |
443 | | - | |
444 | | - | |
445 | 440 | | |
446 | 441 | | |
0 commit comments