diff --git a/IscDbc/Attachment.cpp b/IscDbc/Attachment.cpp index 998cbc6..fe549e1 100644 --- a/IscDbc/Attachment.cpp +++ b/IscDbc/Attachment.cpp @@ -42,11 +42,11 @@ static char databaseInfoItems [] = { isc_info_db_id, isc_info_db_sql_dialect, isc_info_base_level, - isc_info_user_names, isc_info_ods_version, isc_info_firebird_version, isc_info_version, isc_info_page_size, + isc_info_user_names, isc_info_end }; @@ -357,7 +357,7 @@ void Attachment::openDatabase(const char *dbName, Properties *properties) if( ( check_status.getState() & IStatus::STATE_ERRORS ) == 0 ) { - for (auto p = result; p < result + sizeof (result) && *p != isc_info_end;) + for (auto p = result; p < result + sizeof (result) && *p != isc_info_end && *p != isc_info_truncated;) { char item = *p++; int length = GDS->_vax_integer (p, 2); diff --git a/WriteBuildNo.h b/WriteBuildNo.h index ae99d2e..5a382f7 100644 --- a/WriteBuildNo.h +++ b/WriteBuildNo.h @@ -4,4 +4,4 @@ // Note - there must be two tabs between BUILDNUM_VERSION and // the actual number, otherwise the makefile for linux will not // pick up the value. -#define BUILDNUM_VERSION 15 +#define BUILDNUM_VERSION 16