Skip to content

fix segmentfault when exec dtagnames or prefcnt without any args#36

Open
xuchunmei000 wants to merge 1 commit intoacmel:masterfrom
xuchunmei000:master
Open

fix segmentfault when exec dtagnames or prefcnt without any args#36
xuchunmei000 wants to merge 1 commit intoacmel:masterfrom
xuchunmei000:master

Conversation

@xuchunmei000
Copy link
Copy Markdown

while exec dtagnames or prefnct without any args, will get segement fault result.

# prefcnt
Segmentation fault (core dumped)

gdb info

Program terminated with signal SIGSEGV, Segmentation fault.
#0  cus__load_btf (cus=0x55eb480132a0, conf=0x0, filename=0x7fddd3215241 "/sys/kernel/btf/vmlinux")

Signed-off-by: Chunmei Xu <xuchunmei@linux.alibaba.com>
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.

1 participant