Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Restore panic check at and of the loop. Thanks! Don for noticing this. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | novem |
Files: | files | file ages | folders |
SHA1: |
37ceb43edff9a67926ee3eacd2b52d3f |
User & Date: | jan.nijtmans 2013-01-09 15:37:27 |
Context
2013-01-10
| ||
09:55 | Turn Tcl_PkgPresent/Tcl_PkgRequire into a macro. Make sure that extensions which are compiled using... check-in: ae4651d4d1 user: jan.nijtmans tags: novem | |
2013-01-09
| ||
15:37 | Restore panic check at and of the loop. Thanks! Don for noticing this. check-in: 37ceb43edf user: jan.nijtmans tags: novem | |
12:33 | Restore API compatibility with public Tcl_*Scan and Tcl_*Convert functions (changes in private funct... check-in: 96818dd70f user: jan.nijtmans tags: novem | |
Changes
Changes to generic/tclUtil.c.
︙ | ︙ | |||
1505 1506 1507 1508 1509 1510 1511 | flagPtr = localFlags; } else { flagPtr = ckalloc(argc); } for (i = 0; i < argc; i++) { flagPtr[i] = ( i ? TCL_DONT_QUOTE_HASH : 0 ); bytesNeeded += TclScanElement(argv[i], -1, &flagPtr[i]); | | > > > | 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 | flagPtr = localFlags; } else { flagPtr = ckalloc(argc); } for (i = 0; i < argc; i++) { flagPtr[i] = ( i ? TCL_DONT_QUOTE_HASH : 0 ); bytesNeeded += TclScanElement(argv[i], -1, &flagPtr[i]); if (bytesNeeded < 0) { Tcl_Panic("max size for a Tcl value (%d bytes) exceeded", INT_MAX); } } if (bytesNeeded > INT_MAX - argc + 1) { Tcl_Panic("max size for a Tcl value (%d bytes) exceeded", INT_MAX); } bytesNeeded += argc; /* * Pass two: copy into the result area. */ result = ckalloc(bytesNeeded); |
︙ | ︙ |