Ticket UUID: | 1548263 | |||
Title: | NULL return from Tcl_FSGetNormalizedPath segv | |||
Type: | Bug | Version: | obsolete: 8.5a4 | |
Submitter: | coldstore | Created on: | 2006-08-29 00:28:11 | |
Subsystem: | 37. File System | Assigned To: | coldstore | |
Priority: | 9 Immediate | Severity: | ||
Status: | Closed | Last Modified: | 2006-10-13 22:07:56 | |
Resolution: | Fixed | Closed By: | dgp | |
Closed on: | 2006-10-13 15:07:56 | |||
Description: |
Under some circumstances [package require] was segv'ing when a required package was not in fact present. Although those circumstances were not investigated, it was determined that the proximate cause of the crash is that Tcl_FSGetNormalizedPath may return NULL, but that its return value is not always tested, and may cause segvs. As a simple matter of caution, tests for NULL return were added everywhere the function is called. | |||
User Comments: |
dgp added on 2006-10-13 22:07:56:
Logged In: YES user_id=80530 1575837 has fix. dgp added on 2006-10-13 00:36:49: Logged In: YES user_id=80530 The changes to tclWinFile.c have caused test regressions? See 1575837. hobbs added on 2006-08-31 00:52:56: Logged In: YES user_id=72656 Applied related patchs to 8.4.14 (some diffs). coldstore added on 2006-08-29 07:38:01: Logged In: YES user_id=19214 applied supplied patches. coldstore added on 2006-08-29 07:28:12: File Added - 191048: tcldiffs |
Attachments:
- tcldiffs [download] added by coldstore on 2006-08-29 07:28:11. [details]