TRAVtmpVarName() goes off picking daisies
|
|
Bugzilla Link |
585 |
Created on |
Nov 06, 2009 19:55 |
Resolution |
FIXED |
Resolved on |
Nov 23, 2009 16:26 |
Version |
1.00beta |
OS |
Linux |
Architecture |
PC |
Extended Description
The above function, if presented with postfix = "_ivexp_681" and
tmp="ivexp", proceeds to set postfix to the "6", then searches upwards
until it hits a _. Unfortunately, it gets a segfault first.
The intent of the code is unstated, so I am not sure what the proper
solution is. If it is to find the first _ after the prefix ("_"++tmp),
then the starting set of postfix should be +1, rather than +2.
I'm not sure why this doesn't break all the time...