summaryrefslogtreecommitdiff
path: root/src/shared/dlt_common.c
Commit message (Collapse)AuthorAgeFilesLines
...
* added DLT_SEM_LOCK around init of dlt user bufferSimon Brandner2013-07-191-0/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* some coverity fixesSimon Brandner2013-07-191-5/+27
| | | | | | fixed some merge problems Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Semaphores and Pointer passing insteasd by value and otehr coverity issue fixesSimon Brandner2013-07-191-4/+11
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Fix compiler warningsLassi Marttala2013-07-191-6/+1
| | | | Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* fix overflow after ~35 minutes in dlt_uptime function. Should now ocurr ↵Simon Brandner2013-07-191-2/+2
| | | | | | after >100 hrs Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* appended null termination to version stringSimon Brandner2013-07-191-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | adding closure of socket in syslog_thread and read_socket fixed missing free of filepath in compressed file transfer fixed missing closedir in added in send_one error case fixed missing fclose of src_file in ferror case dlt-daemon.c fixed missing fclose in ferror case dlt_common.c using snprintf for filename instead sprintf in dlt_file_open modified some magix numbers - replaced by limits.h values. added strncpy instead strcpy to make cp more safe. split up a function to avoid coverity complaint when computing size of a write buffer length dlt_daemon_common: added strncpy instead strcpy to make cp more safe. Fixes some more Coverity issues in dlt-daemon.c dlt_user.c dlt_common.c and dlt_offline_trace.c. Conflicts: src/daemon/dlt-daemon.c src/lib/dlt_user.c Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* Removed most warnings caused by: Wunused-but-set-variable flag. Eome were ↵Simon Brandner2013-07-191-3/+6
| | | | | | kept, because they were the nicer variant to eliminate them, or they seemed reserved for an commandline argument Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
* [GENDLT-26]: Check for description length sanity.Lassi Marttala2012-06-131-1/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GDLT-90] Implemented systemd watchdog concept in dlt-systemChristian Muck2012-06-131-2/+2
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Commented the dlt_log info of buffer size information outChristian Muck2012-05-301-2/+2
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GENDLT-15, Avoid buffer overrun with snprintf().Lassi Marttala2012-04-041-8/+19
| | | | | | | | | | Check return value of dlt_user_log_write_start(_id) correctly. Reduce the number of applications if allocation fails. Make dlt_user_log_write_start inline Improve error checking in dlt_user_log_write_start_id Use databuffersize to avoid reallocations Signed-off-by: Christian Muck <christian.muck@bmw.de>
* Corrected email of Alexander WenzelChristian Muck2012-03-271-1/+1
| | | | Signed-off-by: Christian Muck <christian.muck@bmw.de>
* GDLT-38, Update <FILE> fields in licenses.Lassi Marttala2012-03-261-1/+1
|
* GDLT-38, Update licenses to all the sources.Lassi Marttala2012-03-261-31/+16
|
* Fixed bug with comparinson between signed and unsigned integer and ↵Christian Muck2012-03-211-5/+12
| | | | | | protection for a buffer overflow. Signed-off-by: Christian Muck <christian.muck@bmw.de>
* [GSW-136] Improve including/prefixing of dlt_version.h fixedChristian Muck2012-01-181-3/+3
|
* [GSW-135] Fixed compile warningsChristian Muck2012-01-131-6/+5
|
* Fixed buffer overflow problem in buffer library.Alexander Wenzel2011-11-231-1/+4
|
* dlt-system filetransfer now recovers when file is deleted during filetransfer.Alexander Wenzel2011-11-221-479/+0
| | | | | Added check of file size when starting and deleting files during filetransfer. Added check of shm buffer availability when push to shm.
* Added dynamic increasable ringbuffers to user lib and daemon.Alexander Wenzel2011-11-151-16/+137
|
* Created abstraction of shm buffer management.Alexander Wenzel2011-11-141-0/+413
|
* Added flush in internal logging of dlt-daemon.Alexander Wenzel2011-11-101-1/+3
|
* Added dlt-daemon internal logging configuration into dlt.conf file.Alexander Wenzel2011-11-091-22/+61
| | | | Internal logging to file now also possible.
* [Reverted] Removed Ringbuffer implementation in Library.Alexander Wenzel2011-10-181-0/+463
|
* Removed Ringbuffer implementation in Library.Alexander Wenzel2011-09-271-463/+0
|
* Revert "[GSW-43] Flow Control for sending huge amount of data over DLT. ↵Christian Muck2011-09-121-200/+66
| | | | | | partialy fixed" This reverts commit 7554585a80ca2a8ebdcd5d1f1693ffe8e39b571d.
* [GSW-62] DLT Library version checkChristian Muck2011-09-051-3/+13
|
* [GSW-43] Flow Control for sending huge amount of data over DLT. partialy fixedMohammed AL Dardoun2011-08-091-66/+200
|
* sprintf with float64 fails on ARM platform; disabled this dunction on QRM ↵alex2011-05-241-0/+4
| | | | platform.
* Init of dlt daemonChristian Muck2011-04-111-0/+3461