Rick Altherr
bab1b2ca3c
Fix buffer overflow in Log
...
Log line prefix is written to the buffer before the log message. While
the buffer start was being adjusted when writing the log message via
vsnprintf(), the buffer size was not. This would allow a log message to
write past the end of the stack-allocated buffer.
2024-06-24 15:21:42 -07:00
Jonathan Naylor
204b4140bb
Fix compiler warning
2021-10-25 17:57:41 +01:00
Jonathan Naylor
a0d60b894d
Add optional log file rotation and UDP socket reopening.
2020-10-31 21:35:09 +00:00
Jonathan Naylor
cfc313e5b9
Fix buffer overflow.
2020-10-07 10:32:12 +01:00
Jonathan Naylor
5dc3308ef4
NetBSD and other changes.
2020-10-05 12:46:54 +01:00
Daniel Caujolle-Bert
c3efabf56c
Redirect stderr messages to the log file, as in daemon mode assert() failure are silent and make wrong INI file hard to fix.
2020-05-09 12:11:08 +02:00
Jonathan Naylor
aad96b5193
Increase log file path variable.
2016-10-13 18:12:27 +01:00
Jonathan Naylor
2146618973
Fix a compile error under Linux.
2016-03-07 21:55:02 +00:00
Jonathan Naylor
8559f97efb
Modify the logging system greatly.
2016-03-07 18:42:05 +00:00
Jonathan Naylor
263a34853f
Change the re-use of stdargs which upsets some platforms.
2016-02-08 15:27:29 +00:00
Jonathan Naylor
2e43624ea2
Received data doesn't change the mode.
2016-02-02 08:00:04 +00:00
Jonathan Naylor
32669b19fa
Log messages with millisecond accuracy.
2016-01-27 21:08:16 +00:00
Jonathan Naylor
f165b3ca89
DMR beacon handling.
2016-01-14 19:58:16 +00:00
Jonathan Naylor
d34d85c04b
Initial commit
2016-01-14 18:45:04 +00:00