Skip to content
Tcl Source Code View Ticket
Login

View Ticket

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: