Commit Graph

16 Commits

Author SHA1 Message Date
Denis Kenzior f9204363e0 log: Remove dead code 2019-11-13 17:01:15 -06:00
Denis Kenzior 4a93c329b9 log: Fix potential buffer overflow
We pass in the maximum size of the buffer to the read system call.  On
the astronomically unlikely chance that we indeed read the full buffer
full of data, the subsequent assignment will overflow it.  Fix this by
passing sizeof(buf) - 1 to the read system call instead.
2019-04-29 14:16:17 -05:00
Denis Kenzior db7faf0ad3 log: Fix style 2016-04-18 10:02:20 -05:00
Harald Welte bafe8f2d83 log: Don't crash when addr2line output contains no newline 2016-04-18 10:01:22 -05:00
Sergey Alirzaev 4a937b96aa build: make ofono build against musl
ifdef away GNU libc extensions and use a POSIXly correct pointer type
2015-07-01 08:09:53 -05:00
Marcel Holtmann 7e6afe37bf core: Update copyright information 2011-10-10 13:39:42 -07:00
Marcel Holtmann 98be0dc588 log: Rename program executable variable 2011-10-06 12:20:43 -07:00
Marcel Holtmann 35ea6a5a05 log: Add support for backtrace symbole resolving 2011-10-05 19:41:40 -07:00
Marcel Holtmann 1d8ff99f75 log: Use separate function for enable logging 2011-08-15 16:12:26 -07:00
Marcel Holtmann df5d691c39 Add support for simple glibc based backtrace 2010-08-20 14:44:54 +02:00
Marcel Holtmann e4850f2eeb Add support for dynamic debug feature 2010-01-26 10:06:53 +01:00
Marcel Holtmann 144080e749 Update copyright information 2010-01-01 17:00:10 -08:00
Marcel Holtmann 5641f1974a Fix comment 2009-08-12 17:40:41 -07:00
Marcel Holtmann 08f6629d60 Add function for printing warnings 2009-08-12 17:33:44 -07:00
Marcel Holtmann 488463da5a Update log and plugin functions 2009-05-05 18:56:46 -07:00
Marcel Holtmann e059f43fae Add skeleton for telephony daemon 2009-04-26 21:12:32 +02:00