summaryrefslogtreecommitdiff
path: root/include/dlt/dlt_common.h
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-23 08:21:51 +0100
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2011-11-23 08:21:51 +0100
commitc35685d34d5c87c03d2be100989a829268d6d946 (patch)
treedad84fe3e653b5d94b497359cedd72921eb8ae67 /include/dlt/dlt_common.h
parentacb5ebc5a8a9cdf6ee0bdd47d544be7238a3e0f6 (diff)
downloadDLT-daemon-c35685d34d5c87c03d2be100989a829268d6d946.tar.gz
Fixed buffer overflow problem in buffer library.
Diffstat (limited to 'include/dlt/dlt_common.h')
-rwxr-xr-xinclude/dlt/dlt_common.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/include/dlt/dlt_common.h b/include/dlt/dlt_common.h
index f6a46d5..2a320fe 100755
--- a/include/dlt/dlt_common.h
+++ b/include/dlt/dlt_common.h
@@ -551,15 +551,6 @@ typedef struct
typedef struct
{
- char* buffer; /**< Ptr. to buffer */
- uint32_t size; /**< Maximum size of buffer */
- uint32_t pos_write; /**< current writing position in bytes*/
- uint32_t pos_read; /**< current reading position in bytes*/
- uint32_t count; /**< nr. of entries */
-} DltRingBuffer;
-
-typedef struct
-{
unsigned char* shm; /* pointer to beginning of shared memory */
int size; /* size of data area in shared memory */
unsigned char* mem; /* pointer to data area in shared memory */