moneromooo-monero
c8cd83030c
storages: overridable limits for loading portable_storage from binary
3 years ago
Lee Clagett
fcac2ad95d
Restrict duplicate keys in epee binary format
3 years ago
moneromooo-monero
f8e05b3003
epee: also limit number of strings in portable_storage
...
They require at least 24 bytes
3 years ago
moneromooo-monero
9289bd9493
portable_storage: better sanity checking
3 years ago
Lee Clagett
6a2abebb94
Restrict duplicate keys in epee binary format
3 years ago
xiphon
6675069dcf
portable_storage: forbid unnamed sections
3 years ago
moneromooo
6375b913d9
portable_storage: check object limit where appropriate
...
also fix pedantic off by one in check
3 years ago
moneromooo-monero
58404d389c
portable_storage: remove array element limit
...
some people don't want it
3 years ago
moneromooo-monero
63381702d8
portable_storage: remove overly aggressive cutoff
3 years ago
moneromooo-monero
a7e3955772
portable_storage: add some sanity checks on data size
...
especially when allocated size is >> serialized data size
3 years ago
Lee Clagett
a9bdc6e4c4
Improved performance for epee serialization:
...
- Removed copy of field names in binary deserialization
- Removed copy of array values in binary deserialization
- Removed copy of string values in json deserialization
- Removed unhelpful allocation in json string value parsing
- Removed copy of blob data on binary and json serialization
5 years ago
moneromooo-monero
516f7b9de0
storages: fix "portable" storage on big endian
5 years ago
moneromooo-monero
39169ace09
epee: basic sanity check on allocation size from untrusted source
...
Reported by guidov
5 years ago
moneromooo-monero
b82efa32e7
epee: speed up json parsing
5 years ago
moneromooo-monero
45683ee02c
epee: fix invalid memory write reading an array entry
...
Reported by Lilith Wyatt at Talos.
Since this is not needed in normal operation, I just let this
error out.
6 years ago
redfish
c2d7300d2e
contrib: epee: add exception spec to throwing destructors
...
The destructors get a noexcept(true) spec by default, but these
destructors in fact throw exceptions. An alternative fix might be to not
throw (most if not all of these throws are non-essential
error-reporting/logging).
8 years ago
moneromooo-monero
f7301c3563
Revert "Print stack trace upon exceptions"
...
Ain't nobody got time for link/cmake skullduggery.
This reverts commit fff238ec94
.
8 years ago
moneromooo-monero
fff238ec94
Print stack trace upon exceptions
...
Useful for debugging users' logs
8 years ago
Riccardo Spagni
f4b69d553a
year updated in license
10 years ago
fluffypony
32f9d2b783
move modified epee code to new classes, revert license
10 years ago
fluffypony
6fc995fe5d
License updated to BSD 3-clause
10 years ago
Antonio Juarez
296ae46ed8
moved all stuff to github
10 years ago