Hi,
I am facing crash while executing below netns testcases on ARM:
netns_crtchild
netns_two_children_ns
netns_crtchild_delchild
netns_par_chld_ipv6
netns_par_chld_ftp
netns_netlink
After analysis of crash , it is found that all are crashing due to a common
cause.
-----------------------------------------------------------
Backtrace:
do_unshare_tests() --> crashes while call NULL function pointer
do_clone_unshare_test() -- > pass NULL fuction pointer
check_netns() --> passes function ptr as NULL
setup()
main()
------------------------------------------------------------
Culprit function:- (netns_helper.h)
pid = do_clone_unshare_test(T_UNSHARE, CLONE_NEWNET | CLONE_NEWNS, NULL,
NULL);
Third argument passing to this function is NULL, which is not appropriate here,
since it is derefrence by do_unshare_tests().
Kindly check this issue.
------------------------------------------------------------------------------
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list