Abdelrazak Younes <[EMAIL PROTECTED]> writes:

| Hi, 
>
| In http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg33826.html Jean-Marc 
| Lasgouttes said :
>>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:
| Lars> Seems that parseBibTeX is using string::replace wrong. 
>
| Except that it does not use string::replace at all... It would be nice to see 
| the same backtrace, but with src/frontends/controllers/biblio.C compiled with 
| debug information...

replace it not used explicitly, but it is used...


anyway... imagine what happens here if data does not contain a '=' or
if data is empty.

biblio.C: 356
data = data.substr(data.find('='), data.length() - 1);

| __default_alloc_template<true, 0> >::substr (this=0xbffff270, pos=4294967295,
|     n=64) at /usr/include/g++-3/std/bastring.h:396
| #8  0x082c6c3f in biblio::parseBibTeX (data=0xbffff270, findkey=@0xbffff300) 
| at biblio.C:365

-- 
        Lgb

Reply via email to