summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Proposed fix for invalid write, found by valgrind.bug_7a87a9bc5bdkf2015-08-171-1/+0
|
* remove potential crash detected by Coverity (it is a should-never-happen thing)Miguel Sofer2015-08-051-1/+1
|
* mark function return as unused, to avoid confusing CoverityMiguel Sofer2015-08-051-1/+1
|
* Fix the documentation comment.Coverity_CID_1251203dkf2015-08-031-7/+8
|
* And another problem with continue in for-step clauses, this time a problem ↵dkf2015-08-021-9/+16
| | | | in how TEBC handled an edge case in the semantics.
* Fix more problems with break and continue in for-step clauses.dkf2015-08-021-10/+11
|
* Fix Coverity CID 1251203: break vs continue in for-step clausedkf2015-08-011-1/+1
|
* explicitly ignore Tcl_PushCallFrame and TclPushStackFrame return value - it ↵Miguel Sofer2015-08-017-43/+11
| | | | is always TCL_OK. Inconsistency found by coverity (CID 1251197)
* fix typo found by Coverity; no effect on "most" platforms (is there anyone ↵Miguel Sofer2015-07-311-2/+2
| | | | where it would matter?)
* remove unnecessary checks found by coverityMiguel Sofer2015-07-301-6/+2
|
* remove self-assignment - found by CoverityMiguel Sofer2015-07-301-1/+1
|
* add comment to flag Tcl_Panic as no-return for Coverity Scan static analyzerMiguel Sofer2015-07-301-1/+8
|
* [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
|\
| * [3e7eca8c8c] Prevent overflow in size values passed to allocators.dgp2015-07-291-3/+19
| |
* | [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc().dgp2015-07-291-1/+3
|\ \ | |/
| * [3e7eca8c8c] Prevent overflow in the size value passed to ckrealloc().dgp2015-07-291-1/+3
| |
* | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-232-0/+40
|\ \ | |/ | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| * Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-232-0/+40
| |\ | | | | | | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.
| | * merge trunkbug_57945b574a_without_stubjan.nijtmans2015-07-1533-1505/+1399
| | |\
| | * | Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.Joe Mistachkin2015-06-172-3/+3
| | | |
| | * | Change Tcl_MutexUnlockAndFinalize() to internal function ↵jan.nijtmans2015-06-166-16/+3
| | | | | | | | | | | | | | | | TclpMutexUnlockAndFinalize(). This does not require a TIP, and still should fix the reported bug.
| | * | Merge updates from trunk.Joe Mistachkin2015-06-042-6/+10
| | |\ \
| | * \ \ merge trunktesteddgp2015-05-282-112/+34
| | |\ \ \
| | * \ \ \ merge trunkdgp2015-05-201-14/+1
| | |\ \ \ \
| | * | | | | Update header file with the TIP number.Joe Mistachkin2015-05-171-1/+1
| | | | | | |
| | * | | | | Merge updates from trunk.Joe Mistachkin2015-05-176-32/+166
| | |\ \ \ \ \
| | * | | | | | Fix typo in the previous check-in.Joe Mistachkin2015-05-171-1/+1
| | | | | | | |
| | * | | | | | Draft fix for a potential race condition in the new ↵Joe Mistachkin2015-05-172-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_MutexUnlockAndFinalize API. Not yet tested.
| | * | | | | | Add new public Tcl C API to allow a mutex to be unlocked and then finalized ↵Joe Mistachkin2015-04-095-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | atomically. Candidate fix for bug [57945b574a].
* | | | | | | | [a3309d01db] Plug memleak in compiled [unset a($i)].dgp2015-07-181-0/+3
|\ \ \ \ \ \ \ \
| * | | | | | | | Add the missing cleanup bits in INST_UNSET_ARRAY.bug_a3309d01dbdgp2015-07-181-0/+3
| | | | | | | | |
| * | | | | | | | merge trunkdgp2015-07-181-6/+6
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | Fix failing testdgp2015-07-181-6/+6
| | | | | | | | |
| * | | | | | | | merge trunkdgp2015-07-1785-7338/+11068
| |\ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | |
* | | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | [9bad630c31] Prevent read outside of buffer bounds.dgp2015-07-151-1/+1
| | | | | | | | |
* | | | | | | | | [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / /
| * | | | | | | | [b1534b438b] Prevent read outside buffer boundaries.dgp2015-07-151-1/+12
| | | | | | | | |
* | | | | | | | | Increase some counter sizes related to filesystem epoch from int to size_t. ↵jan.nijtmans2015-07-152-15/+27
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | And prevent them ever becoming 0 due to an overflow. (backported with variation from androwish)
* | | | | | | | Implement TIP 436: Improve TclOO isa Introspectiondkf2015-07-102-63/+55
|\ \ \ \ \ \ \ \
| * | | | | | | | Say what is meant more clearly, put syntax checks before semantic checks.dkf2015-07-011-42/+43
| | | | | | | | |
| * | | | | | | | Implementation of TIP #436: Improve TclOO isa Introspectiondkf2015-07-011-34/+25
| | | | | | | | |
* | | | | | | | | [a0ece9d6d4] The cmd field of a CmdFrame when non-NULL must point within thedgp2015-07-051-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | string of the corresponding codePtr->source.
* | | | | | | | | Plug leak of two mp_ints.dgp2015-07-021-0/+2
| | | | | | | | |
* | | | | | | | | Revert refcount changes that were not cosmetic.dgp2015-07-025-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changing equality testing to inequality testing does more than make code prettier or clearer. It makes it less strict, and thus more tolerant of other bugs elsewhere. Such changes deserve separate consideration at least, not breezy entry in an otherwise "code cleanup" commit.
* | | | | | | | | Revert some refcount changes on I/O structs.dgp2015-07-022-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are refcounts on structs, not Tcl_Obj's. Their scheme doesn't suffer the same difficulties and histories as Tcl_Obj's, and they need not copy every detail, appropriate or not, from Tcl_Obj refcount management. The "significant value" -- as dkf puts it -- for the struct refcounting scheme is 0 not 1.
* | | | | | | | | Another round of refCount consistancy improvements.jan.nijtmans2015-07-0212-86/+83
| | | | | | | | |
* | | | | | | | | remove code that was ifdef'ed out for ages (ENABLE_NS_VARNAME_CACHING), has ↵Miguel Sofer2015-07-021-163/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero hope of being revived and got out of sync anyway
* | | | | | | | | Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-014-23/+24
|/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | better idea. A few more consistancies in refcount management.
* | | | | | | | Consistancy in refcount management.jan.nijtmans2015-06-305-11/+11
| | | | | | | |