Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2006-10-13
22:07 • Closed ticket [1548263fff]: NULL return from Tcl_FSGetNormalizedPath segv pl... artifact: 392749a666 user: dgp
00:36 • Open ticket [1548263fff]. artifact: 264739b6cb user: dgp
2006-08-31
00:52 • Ticket [1548263fff]: 4 changes artifact: aaeba55786 user: hobbs
2006-08-29
07:38 • Closed ticket [1548263fff]. artifact: 6932229d97 user: coldstore
07:28 • Ticket [1548263fff]: 4 changes artifact: 04c638ced1 user: coldstore
07:28 • Add attachment tcldiffs to ticket [1548263fff] artifact: e82ede7280 user: coldstore
00:28 • New ticket [1548263fff] NULL return from Tcl_FSGetNormalizedPath segv. artifact: eed28fcf97 user: coldstore

NULL return from Tcl_FSGetNormalizedPath segv

Closed / Fixed1548263fffffffffffffffffffffffffffffffffCreated 20 years agoUpdated 20 years ago
Descriptionplain2006-08-29 00:28:11
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.
coldstoreplain2006-08-29 07:28:12
File Added - 191048: tcldiffs
coldstoreplain2006-08-29 07:38:01
Logged In: YES 
user_id=19214

applied supplied patches.
hobbsplain2006-08-31 00:52:56
Logged In: YES 
user_id=72656

Applied related patchs to 8.4.14 (some diffs).
dgpplain2006-10-13 00:36:49
Logged In: YES 
user_id=80530


The changes to tclWinFile.c
have caused test regressions?
See 1575837.
dgpplain2006-10-13 22:07:56
Logged In: YES 
user_id=80530

1575837 has fix.
Log in (anonymous is fine) to add a comment.

Attachments: