Details
-
Type:
Bug
-
Status: Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: DTM_V2.0800, DTM_V2.0900, V2.0700.11.932
-
Component/s: DTM
-
Labels:None
-
Account:Device Library 1 (operativ) (DEVLIB)
Description
Fix crash in CreateErrorString caused by incorrect va_start usage
- Use correct last named parameter in va_start (bstrFormat instead of local copy)
- Fix undefined behavior when reading variadic arguments
- Pass buffer size to vswprintf_s for safer formatting
- Add va_end cleanup
- Add basic error handling for vswprintf_s and SysAllocString