SHA256
1
0
forked from pool/emptyepsilon
emptyepsilon/fix_getLocalAddress_SEGV.patch
Dominik Heidler fbbd7b1f5d - Version 2022.03.16
* DeliverAmbassador
  * Update warpJammer.cpp
  * update setting translation scenario_50_gaps.lua (#1656)
  * Tweak warp vs jump stats a bit so they are more equal.
  * Correct description discrepancy - the enemies are Exuari, not Kraylor.
  * Add estimated duration of one hour to description
  * Add descriptions and simple scan parameters for life pod and warp jammer
  * Increase the number of attacking hornets gradually while waiting for transport retrieval
  * New function for adding shields on Playership in scenarios
  * made your point clear in the documentation

OBS-URL: https://build.opensuse.org/package/show/games/emptyepsilon?expand=0&rev=5
2022-09-15 10:38:51 +00:00

14 lines
589 B
Diff

--- SeriousProton-EE-2022.03.16/src/io/network/address.cpp 2022-03-15 23:05:53.000000000 +0100
+++ /tmp/address.cpp 2022-09-15 12:23:30.305529074 +0200
@@ -130,6 +130,10 @@
{
continue;
}
+ //printf("addr->ifa_addr is %p\n", (void *)addr->ifa_addr);
+ if (addr->ifa_addr == nullptr) {
+ continue;
+ }
if (addr->ifa_addr->sa_family == AF_INET)
{
::getnameinfo(addr->ifa_addr, sizeof(struct sockaddr_in), buffer, sizeof(buffer), nullptr, 0, NI_NUMERICHOST);