Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some driver test bug fix #59

Closed
wants to merge 6 commits into from
Closed

Conversation

Zhangshoukui
Copy link
Contributor

some driver test bug fix

Summary

some driver test bug fix

Impact

some driver test bug fix

Testing

some driver test bug fix

cmocka --skip drivertest*

Testers often use this command to skip test cases, The special nature of the drive test is generally turned on separately

Signed-off-by: zhangshoukui <[email protected]>
…int 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
    open-vela#1 0x52b2b1d0 in regcomp regex/regcomp.c:3710
    open-vela#2 0x48f55435 in c_regexmatch cmocka/src/cmocka.c:494
    open-vela#3 0x48f65bcf in _cmocka_run_group_tests cmocka/src/cmocka.c:3252
    open-vela#4 0x48f67e2d in cmocka_fs_test_main apps/testing/testsuites/kernel/fs/cmocka_fs_test.c:201
    open-vela#5 0x46210b2a in nxtask_startup sched/task_startup.c:72
    open-vela#6 0x45ff40fb in nxtask_start task/task_start.c:116
    open-vela#7 0x462695bb in pre_start sim/sim_initialstate.c:52

Signed-off-by: zhangshoukui <[email protected]>
Signed-off-by: zhangshoukui <[email protected]>
Signed-off-by: zhangshoukui <[email protected]>
Signed-off-by: tengshuangshuang <[email protected]>
@Zhangshoukui
Copy link
Contributor Author

Subsequent repair, close first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants