dns: убрать weak-атрибут у dns_random — на MinGW слабые data-символы не инициализируются → NULL-вызов → SIGSEGV

This commit is contained in:
Evgeny committed 2026-08-16 12:58:40 +03:00
1 parent 4fecd37be9
commit 68f254b3a9
1 file changed
+1 -1
+1 -1
View File
@@ -369,7 +369,7 @@ static unsigned dns_random_(void) {
#endif
} /* dns_random_() */
unsigned (*dns_random)(void) __attribute__((weak)) = &dns_random_;
unsigned (*dns_random)(void) = &dns_random_;
/*