diff options
author | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-23 08:21:51 +0100 |
---|---|---|
committer | Alexander Wenzel <Alexander.AW.Wenzel@bmw.de> | 2011-11-23 08:21:51 +0100 |
commit | c35685d34d5c87c03d2be100989a829268d6d946 (patch) | |
tree | dad84fe3e653b5d94b497359cedd72921eb8ae67 /include | |
parent | acb5ebc5a8a9cdf6ee0bdd47d544be7238a3e0f6 (diff) | |
download | DLT-daemon-c35685d34d5c87c03d2be100989a829268d6d946.tar.gz |
Fixed buffer overflow problem in buffer library.
Diffstat (limited to 'include')
-rwxr-xr-x | include/dlt/dlt_common.h | 9 | ||||
-rwxr-xr-x | include/dlt/dlt_version.h | 4 |
2 files changed, 2 insertions, 11 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 */ diff --git a/include/dlt/dlt_version.h b/include/dlt/dlt_version.h index 6bb5cce..ca2bfc3 100755 --- a/include/dlt/dlt_version.h +++ b/include/dlt/dlt_version.h @@ -3,10 +3,10 @@ #define __VERSION_H_ #define PACKAGE_VERSION_STATE "" -#define PACKAGE_VERSION "2.4.1" +#define PACKAGE_VERSION "2.4.2" #define PACKAGE_MAJOR_VERSION "2" #define PACKAGE_MINOR_VERSION "4" -#define PACKAGE_PATCH_LEVEL "1" +#define PACKAGE_PATCH_LEVEL "2" #define PACKAGE_REVISION "" #endif |