| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
Assume the terminal supports color codes if TERM ends with `-color` or
`-256color`, rather than special-casing a handful of such terminals.
Co-authored-by: laanwj <126646+laanwj@users.noreply.github.com>
|
| | |
|
| | |
|
| | |
|
| |\
| |
| |
| | |
8889f49 easylogging++: fix potential memory corruption (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The m_typedConfigurations pointer is copied from one object to the next,
but deleted in the dtor, leading to potential double free. It is also
deleted first thing in the copy ctor, deleting uninitialized memory.
This does not seem to actually happen in practice (those functions do
not get called), but seems safer that way.
Coverity 1446562
|
| |\ \
| | |
| | |
| | | |
a16328e easylogging++: in place log sanitization (moneromooo-monero)
|
| | |/
| |
| |
| | |
saves an object ctor/dtor per log
|
| |/ |
|
| | |
|
| |
|
|
|
|
| |
Some of it might be coming from untrusted sources
Reported by itsunixiknowthis
|
| | |
|
| | |
|
| |\
| |
| |
| | |
6d378d9 easylogging++: always omit ANSI codes when colour is not supported (moneromooo-monero)
|
| | | |
|
| |/
|
|
| |
Avoids cmake skullduggery
|
| |
|
|
|
| |
As a side effect, colouring on Windows should now work
regardless of version
|
| | |
|
| |\
| |
| |
| | |
428249c5 easylogging++: minimal stdout logging format (moneromooo-monero)
|
| | |
| |
| |
| |
| | |
It's a bit of a hack, but doing it right would need a lot
of changes to the easylogging++ source.
|
| |/ |
|
| |\
| |
| |
| | |
68f045de easylogging++: check allowed categories before logging (moneromooo-monero)
|
| | | |
|
| |\ \
| | |
| | |
| | | |
7d9aeb7 easylogging++: avoid uneeded temporary std::string object (moneromooo-monero)
|
| | |/ |
|
| |\ \
| | |
| | |
| | |
| | |
| | | |
ab783b17 easylogging++: ensure logger is initialized before main (moneromooo-monero)
9b69a0ae daemon: print monero version at startup when calling a detached daemon (moneromooo-monero)
4d71d463 mlocker: remove early page size log (moneromooo-monero)
|
| | |/ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Turns out getting the global shared_ptr hits the profile,
and passing it around still keeps it at close to ~1% CPU,
which is too much for mostly silent logging.
Leak the object instead, which is even safer for late logging.
|
| |/
|
|
| |
This reverts commit 7f8bdeb35c73c70b2b65e30aa2a1cb93696355b3.
|
| | |
|
| |
|
|
| |
It's not actually needed for this use, and saves a STL header
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
bcf3f6af fuzz_tests: catch unhandled exceptions (moneromooo-monero)
3ebd05d4 miner: restore stream flags after changing them (moneromooo-monero)
a093092e levin_protocol_handler_async: do not propagate exception through dtor (moneromooo-monero)
1eebb82b net_helper: do not propagate exceptions through dtor (moneromooo-monero)
fb6a3630 miner: do not propagate exceptions through dtor (moneromooo-monero)
2e2139ff epee: do not propagate exception through dtor (moneromooo-monero)
0749a8bd db_lmdb: do not propagate exceptions in dtor (moneromooo-monero)
1b0afeeb wallet_rpc_server: exit cleanly on unhandled exceptions (moneromooo-monero)
418a9936 unit_tests: catch unhandled exceptions (moneromooo-monero)
ea7f9543 threadpool: do not propagate exceptions through the dtor (moneromooo-monero)
6e855422 gen_multisig: nice exit on unhandled exception (moneromooo-monero)
53df2deb db_lmdb: catch error in mdb_stat calls during migration (moneromooo-monero)
e67016dd blockchain_blackball: catch failure to commit db transaction (moneromooo-monero)
661439f4 mlog: don't remove old logs if we failed to rename the current file (moneromooo-monero)
5fdcda50 easylogging++: test for NULL before dereference (moneromooo-monero)
7ece1550 performance_test: fix bad last argument calling add_arg (moneromooo-monero)
a085da32 unit_tests: add check for page size > 0 before dividing (moneromooo-monero)
d8b1ec8b unit_tests: use std::shared_ptr to shut coverity up about leaks (moneromooo-monero)
02563bf4 simplewallet: top level exception catcher to print nicer messages (moneromooo-monero)
c57a65b2 blockchain_blackball: fix shift range for 32 bit archs (moneromooo-monero)
|
| | |
|
| |
|
|
| |
It turns out this can be fairly heavy when logging a lot
|
| |
|
|
|
| |
Avoids cores being created, as they're nowadays often piped
to some call home system
|
| | |
|
| |
|
|
| |
If execinfo.h is not available, output the stack trace warning only once, so we don't spam the build logs with it.
|
| | |
|
| | |
|
| |\
| |
| |
| | |
5d86c9f4 easylogging++: default to creating categories by default (moneromooo-monero)
|
| | |
| |
| |
| |
| |
| | |
This avoids error spews from easylogging++ when we try to log
something before easylogging is initialized, which can happen
when errors happen at command line parsing time
|
| |/ |
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
file
|
| | |
|
| |
|