Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix bug [f00009f7ce]: memory (object) leaks in TclNativeCreateNativeRep for windows platform (erroneous Tcl_IncrRefCount removed) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
4199a280129370f24ba656eaab2ed1bf |
User & Date: | sebres 2015-07-30 13:02:49 |
Context
2015-07-30
| ||
18:10 | add comment to flag Tcl_Panic as no-return for Coverity Scan static analyzer check-in: de879c7755 user: msofer tags: trunk | |
13:02 | Fix bug [f00009f7ce]: memory (object) leaks in TclNativeCreateNativeRep for windows platform (errone... check-in: 4199a28012 user: sebres tags: trunk | |
2015-07-29
| ||
14:56 | [3e7eca8c8c] Prevent overflow in size values passed to allocators. check-in: 6b18af935a user: dgp tags: trunk | |
Changes
Changes to win/tclWinFile.c.
︙ | ︙ | |||
2907 2908 2909 2910 2911 2912 2913 | /* * The cwd is native, which means we can use the translated path * without worrying about normalization (this will also usually be * shorter so the utf-to-external conversion will be somewhat faster). */ validPathPtr = Tcl_FSGetTranslatedPath(NULL, pathPtr); | < < < > | | < < | 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 | /* * The cwd is native, which means we can use the translated path * without worrying about normalization (this will also usually be * shorter so the utf-to-external conversion will be somewhat faster). */ validPathPtr = Tcl_FSGetTranslatedPath(NULL, pathPtr); } else { /* * Make sure the normalized path is set. */ validPathPtr = Tcl_FSGetNormalizedPath(NULL, pathPtr); } if (validPathPtr == NULL) { return NULL; } str = Tcl_GetString(validPathPtr); len = validPathPtr->length; if (strlen(str)!=(unsigned int)len) { /* String contains NUL-bytes. This is invalid. */ |
︙ | ︙ |