[Prev][Next][Index]

Re: Bug in SgSymbol constructor



Diego wrote:
I followed it and it turns out that the function newSymbol() in 

low_level.c is calling strlen() with a NULL pointer, and strlen() doesn't 

like that very much so it goes down in flames.

I could patch it up with an if around it, but I'm not sure if it has been 

fixed yet. Thanks for any suggestion. BTW, I'm using Sage++ v1.3.1


Diego.
____________________

Diego,
yes, this is a bug, 

no it has not been fixed yet (it will be soon, thanks to you). Putting an if
in newSymbol() is a good idea but I think some more changes might be necessary. 

I'll send you a fix as soon as I have it ready.  Thanks for reporting the bug,
                                                                          --Beata