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

A segmentation fault bug caused by dns-resolver feature #28

Open
G-wangd opened this issue May 4, 2023 · 0 comments
Open

A segmentation fault bug caused by dns-resolver feature #28

G-wangd opened this issue May 4, 2023 · 0 comments

Comments

@G-wangd
Copy link

G-wangd commented May 4, 2023

  1. SYSTEMD is not defined;
  2. While run function [system_ip_address_from_str] and function [system_dns_server_set_address] in src/plugins/ietf-system/datastore/running/store.c at Line 360,367 , in func [ system_dns_server_set_address ] server->address.value = strdup(address.value); ,the address.value is null ,this results a segmentation fault;
  3. I add address->value = str;after #else in func [system_ip_address_from_str] to solve this question;
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

No branches or pull requests

1 participant