View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006489 | JEDI Code Library | JclSysInfo | public | 2016-01-20 11:58 | 2016-08-02 18:55 |
Reporter | horsi | Assigned To | AHUser | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | Version 2.5 (Subversion repository/Daily zips) | ||||
Target Version | Fixed in Version | ||||
Summary | 0006489: Indirect call to uninitialized JclStrings.StrCaseMap variable from JclSysInfo module. | ||||
Description | During initialization of JclSysInfo module, function "GetWindowsMajorVersionNumber" (indirectly) reads the uninitialized variable "JclStrings.StrCaseMap" ("JclStrings.StrCaseMapReady" is set to "False"). JclSysInfo module -> initialization section -> InitSysInfo procedure -> GetWindowsVersion function -> GetWindowsMajorVersionNumber function -> JclStrings.StrBefore -> StrFind -> StrIPos -> StrUpper -> StrUpperInPlace -> StrCase -> StrCaseMap variable For this reason: 1) the Windows version can be determined incorrectly 2) or even it might not be able to start the program because of "Runtime error 217" /GetWindowsMajorVersionNumber calls StrBefore which might returns '', and then StrToInt('') raises exception/ | ||||
Additional Information | Probably duplicate of: 0006477 and 0006480. | ||||
Tags | No tags attached. | ||||
Fixed in GIT commit | |||||
Fixed in SVN revision | |||||
IDE version | Delphi 7 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2016-01-20 11:58 | horsi | New Issue | |
2016-01-20 11:58 | horsi | IDE version | => Delphi 7 |
2016-08-02 18:55 | AHUser | Note Added: 0021304 | |
2016-08-02 18:55 | AHUser | Status | new => resolved |
2016-08-02 18:55 | AHUser | Resolution | open => fixed |
2016-08-02 18:55 | AHUser | Assigned To | => AHUser |
2016-08-03 16:45 | AHUser | Relationship added | has duplicate 0006519 |