Commit Graph

3 Commits

Author SHA1 Message Date
sneurlax 39379d7022 epee: add missing header
See Monero commit [e106bdc1fc](e106bdc1fc (diff-d2cb9c3ff4c4762cfd7e736b42f3eb354a361fe9f0ecd2f956c08f03eb5f3405)) by [@selsta](https://github.com/selsta).  This commit includes <limits> in three epee source files in other to fix GCC11 builds, in my case for cross-compiling for Windows from Ubuntu using MinGW.  I patch my files locally in order to achieve this, whereas this fix, tracking Monero upstream code, will allow builds to complete using GCC11 out of the box.  See also https://github.com/MultiMC/Launcher/issues/3574 for the same issue in another repository for context.
2022-11-16 14:30:58 -06:00
moneromooo-monero 0564da5fdc
ensure no NULL is passed to memcpy
NULL is valid when size is 0, but memcpy uses nonnull attributes,
so let's not poke the bear
2019-06-14 08:47:29 +00:00
moneromooo-monero 85665003a7
epee: better network buffer data structure
avoids pointless allocs and memcpy
2018-12-23 16:46:07 +00:00