Re: Proposed TraceBack Change

new topic     » goto parent     » topic index » view thread      » older message » newer message

Robert Craig wrote:
> 
> Matt Lewis wrote:
> > In the current trace back (both in be_rterror.c and error.e) the path + 
> > file name length is truncated to 99 chars.  Does anyone have any objection
> > to raising this limit?
> > 
> > I often work deep in "My Documents", and it gets really annoying when
> > the path gets truncated, since I can't use the automated jump to error
> > feature of wxide (the editor I normally use).
> 
> No problem.
> 
> But in the C code, you need to also enlarge TPTempBuff[] 
> to avoid any chance of buffer overflow with C's sprintf().
> 
> error.e has "99" in it, just because the
> front-end was originally written in C. Euphoria's sprintf()
> does not require a fixed-size buffer.
> 

Yep, found that....

Matt

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu