Open lte678 opened 9 months ago
Segfault at:
256 char ip = inet_ntoa(((struct sockaddr_in)result->ai_addr)->sin_addr);
The issue occurs when the provided hostname is incorrect.
Segfault at:
0 fmerge::connect_to_server(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::function<void (std::unique_ptr<fmerge::Connection, std::default_delete >)>) (port=4512, server_addr=..., conn_handler=...) at /home/leon/Projects/FileMerge/fmerge_cpp/src/Connection.cpp:256
256 char ip = inet_ntoa(((struct sockaddr_in)result->ai_addr)->sin_addr);
The issue occurs when the provided hostname is incorrect.