Commit Graph

921 Commits (5bd7c3c82d86ca8e351e3fe46faeee59594b1203)

Author SHA1 Message Date
Mikael Bourhis 5bd7c3c82d quality: add 'const' qualifier to the 'MMS value' getters
Some getters already have the 'const' qualifier, but not all.
To improve the quality of the code, add the 'const' qualifier for the other
getters of 'MMS value', where it was missing.

Remark:
when a pointer is returned by a getter, this pointer must be a pointer
to a constant, so as not to modify the internal data of the 'MMS value' object.
The correctness of the function calls, in libiec61850, has been checked with
the compiler option: '-Wdiscarded-qualifiers'.

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
3 years ago
Michael Zillgith 98f088a1d3 - removed redundant declarations (LIB61850-359) 3 years ago
Michael Zillgith 10622ba36b - fixed path traversal vulnerability in MMS file services (LIB61850-357) 3 years ago
Michael Zillgith dd3e2a6870 - fixed - create multiple integrity reports in the same interval when integrity timeouts are aligned (LIB61850-323) 3 years ago
Michael Zillgith e29736d732 - IED server: added missing call to getNextRoundedStartTime (LIB61850-323) 3 years ago
Michael Zillgith d34b3f4f70 - fixed - server scrahs when SyncIntegrityReportTimes in active and
IntgPd=0 (LIB61850-355)
3 years ago
Michael Zillgith 021b3100ac - fixed some VC++ compiler warnings 3 years ago
Michael Zillgith 893e298107 - fixed - missing API export declarations for functions IedServerConfig_setSyncIntegrityReportTimes and IedServerConfig_getSyncIntegrityReportTimes (LIB61850-353) 3 years ago
Michael Zillgith 219111eef1 - IED server: fixed - possible deadlock when IedServer_lockDataModel is used from multiple threads (LIB61850-352) 3 years ago
Michael Zillgith 7c06680cba - MMS server: fixed - possible deadlock in obtainFile-service/file upload task (LIB61850-351) 3 years ago
Michael Zillgith a3b04b7bc4 - MMS server: fixed potential null pointer dereference when confirmedServiceResponse for fileOpen is received with invoke-id 0 (LIB61850-348) 3 years ago
Michael Zillgith 15398c9ab5 - MMS_SERVER: fixed bug in getNameList request handling when domain ID is too long (LIB61850-346) 3 years ago
Michael Zillgith 1615c8ea9a - added type checks when using asn1c parsing results for whole MmsPdu (LIB61850-343) 3 years ago
Michael Zillgith aeb8cb6157 - MMS client: added function MmsConnection_sendRawData for test purposes 3 years ago
Michael Zillgith 4fb8113821 - fixed wrong check for empty itemId 3 years ago
Michael Zillgith 30217b41cc - GOOSE subscriber: fixed vulnerabilities related to malformed bit-string, integer, and unsigned values (LIB61850-342) 3 years ago
Michael Zillgith 9424917185 - MMS server: fixed bug in handling of continueAfter parameter of getNameList request (LIB61850-341) 3 years ago
Michael Zillgith 22f6a823ea - changed StringUtils_createStringInBuffer function to consider max buffer size (LIB61850-333) 3 years ago
Michael Zillgith 8addfc2095 - replaced most str(n)cpy/str(n)cat calls (LIB61850-333) 3 years ago
Michael Zillgith 4d951e04c5 - encode boolean true value as 0x01 instead of 0xff to avoid interoperability problems 3 years ago
Michael Zillgith 3fe0effcda Merge branch 'v1.5_develop_323' into v1.5_develop 3 years ago
Michael Zillgith 5b4f6f2fd9 - fixed sscanf format string in config_file_parser.c 3 years ago
Michael Zillgith a4fdf089bb - fixed locking mechanism in logging.c (LIB61850-327) 3 years ago
Michael Zillgith b3868a2f9f - removed some cppcheck warnings 3 years ago
Michael Zillgith 319dc4494b - fixed problem: negative presentation layer and ACSE results are ignored by client 3 years ago
Michael Zillgith a9efd32dbc - fixed wrong buffer size in client side report handling 3 years ago
Michael Zillgith 35ac479430 - fixed strncpy usage 3 years ago
Michael Zillgith 00bf70aa8c - fixed memory leak in server read request handling (LIB61850-325) 3 years ago
Michael Zillgith 8fe6f0d551 - fixed memory leak in reuse of client connection (related to socket extension buffer) 3 years ago
Michael Zillgith 10a4bc6e76 - fixed memory leak in reuse of client connection (related to socket extension buffer) 3 years ago
Michael Zillgith cfbe677bc5 - added feature: synchronization of integrity report times (LIB61850-323)
- fixed potential memory access problems in ReportControlBlock getter functions
3 years ago
Michael Zillgith c76b5dd2da - server reporting: added code to prevent race condition with
RCBEventHandler
3 years ago
Michael Zillgith bb7c2421cd - server: added RCBEventHandler event types REPORT_CREATED and OVERFLOW 3 years ago
Michael Zillgith ee948a0c08 - added function ReportControlBlock_getResv 3 years ago
Michael Zillgith 030ae3f7b5 Merge branch 'v1.5_develop' into v1.5 3 years ago
Michael Zillgith e44a44c9e7 - parseNamedVariableAttributes: fixed new code 3 years ago
Michael Zillgith 3288bc0fc5 - MmsConnection_readNamedVariableListDirectory: added code to parse array index and array component of data set entries (LIB61850-317) 3 years ago
Michael Zillgith b62060b67f - fixed bug creating "Cancel" in CDC_APC_create 3 years ago
Michael Zillgith 5fe49d4618 - fixed wrong MMS protocol version check (#379) 3 years ago
Michael Zillgith 1954da2b78 - .NET API: added IedServer.GetFunctionalConstrainedData method
(LIB61850-317)
3 years ago
Michael Zillgith 532298c378 - RCBEventHandler: replaced GI event by purgeBuf event when client
disables RCB instance (LIB61850-316)
3 years ago
Michael Zillgith 5ca0cd5512 Merge branch 'v1.5_develop' into v1.5 3 years ago
Michael Zillgith d4312d21ac - fixed bugs in ReportControlBlock getter functions and .NET wrapper
code
3 years ago
Michael Zillgith 1213b67a5a Merge branch 'v1.5' of bitbucket.org:mz-automation/libiec61850 into v1.5 3 years ago
Michael Zillgith bf747f6bea - removed some compiler warnings 3 years ago
Michael Zillgith e51ef87bf5 - fixed compilation problems with C++/VS 3 years ago
Michael Zillgith 19f7066c38 - fixed - SV publisher encoding problem when svID or datset length > 127 bytes (LIB61850-315)(#382) 3 years ago
Michael Zillgith ee2c461ff0 - added const to parameters of StringUtils_startsWith 3 years ago
Michael Zillgith 3cb6123a63 - IedServerConfig: added missing variable initialization 3 years ago
Michael Zillgith 3e5fadce4b - fixed - server doesn't respond SBOw when waiting for select callback (LIB61850-313) 4 years ago