Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 58f6c24ae6ffb7f0bb30e7cfa4ea6e46890179d8789837ac5c25c1c7880b2fe4
Ticket: 6ef312dcf5b846c344911c04a1e41e52ec28efe2
memcpy() with NULL source in Tcl_CreateMathFunc()
User & Date: jan.nijtmans on 2021-12-16 14:16:24
Changes

  1. icomment:
    Fixed [c8b818c8cd|here]. Didn't bother about the ckalloc(), since Tcl_CreateMathFunc() is deprecated (it's totally removed in Tcl 9.0). Setting data->argTypes to NULL where it was not NULL before, I'm not sure what other possible ill-effects that could mean for extensions using Tcl_CreateMathFunc(). This isn't called by Tcl core any more, so testcases don't tell the whole story here.
    
    Thanks for the report and the patch!
    
  2. login: "jan.nijtmans"
  3. mimetype: "text/x-fossil-wiki"