| Anonymous | Login | Signup for a new account | 2013-05-21 09:38 UTC | ![]() |
| Main | My View | View Issues | Change Log | Roadmap |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0000049 | tcsh | general | public | 2007-05-10 13:15 | 2007-07-02 15:56 | ||||
| Reporter | Peter Breitenlohner | ||||||||
| Assigned To | Christos Zoulas | ||||||||
| Priority | normal | Severity | crash | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Product Version | 6.15.00 | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000049: tcsh-6.15.00 segfault | ||||||||
| Description | Attached is a small shell script that works fine with tcsh-6.14.00 but produces a segmentation fault (in the process substitution subshell). | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
Notes |
|
|
(0000052) Christos Zoulas (manager) 2007-07-02 15:55 |
Will be fixed in the next version. I believe that the fix is in sh.lex.c: @@ -851,7 +851,8 @@ return (en); } slhs.len = 0; - Strbuf_append(&slhs, lhsb.s); + if (lhsb.s != NULL && lhsb.len != 0) + Strbuf_append(&slhs, lhsb.s); Strbuf_terminate(&slhs); if (exclc) en = dosub(sc, en, global); @@ -1625,7 +1626,7 @@ return CHAR_ERR; feobp += c; } |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2007-05-10 13:15 | Peter Breitenlohner | New Issue | |
| 2007-05-10 13:15 | Peter Breitenlohner | File Added: buggy | |
| 2007-07-02 15:54 | Christos Zoulas | Status | new => assigned |
| 2007-07-02 15:54 | Christos Zoulas | Assigned To | => Christos Zoulas |
| 2007-07-02 15:55 | Christos Zoulas | Note Added: 0000052 | |
| 2007-07-02 15:56 | Christos Zoulas | Status | assigned => resolved |
| 2007-07-02 15:56 | Christos Zoulas | Resolution | open => fixed |
| Copyright © 2000 - 2012 MantisBT Group |