Menu

#212 Tls initialization problem causes invalid tsk error codes in Windows

1.65
open
nobody
None
5
2014-01-21
2014-01-21
No

Visual Studio optimization skips GetTlsIndex class constructor execution in release builds, due to this class is not used anywhere. So the previous code has never initialized tlsIndex variable with anything. Such behavior sometime caused the crashes due to error code was not saved into unallocated TLS.

See pull request:
https://github.com/sleuthkit/sleuthkit/pull/285

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.