xmrig-minimized-dll/src/base
Dave Walker (Daviey) daa6328418 Fix segfault in HTTP API rebind
Previously with HTTP API enabled on brenchmarking run, it is possible
to cause a segfault due to an issue handling the m_httpd pointer and
rebinding.

  - Initialize m_httpd to nullptr to indicate when it's not in use.
  - Safely delete m_httpd in Api's destructor to prevent use-after-free
    issues.
  - Add checks to ensure m_httpd is not nullptr before usage in start,
    stop, and tick methods.
  - Log errors for HTTP server start failures to aid in debugging.

Fixes MoneroOcean/xmrig#120

Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2024-02-11 17:52:36 +00:00
..
api Fix segfault in HTTP API rebind 2024-02-11 17:52:36 +00:00
crypto Zephyr coin support 2023-06-24 14:37:20 +02:00
io Removed uv_os_gethostname call for all OS. 2021-09-28 23:56:33 +07:00
kernel Add "built for OS/architecture/bits" to "ABOUT" 2023-08-21 13:49:21 +02:00
net Added SNI option for TLS connections 2023-09-29 08:33:49 +02:00
tools Zephyr solo mining: handle multiple outputs 2023-11-15 16:18:05 +01:00
base.cmake Fixed unaligned memory accesses 2022-01-26 17:18:18 +01:00