Hello there,

subversion-1.10.2/subversion/bindings/javahl/native/JNIUtil.cpp:589]: (error) 
Dangerous usage of c_str(). The value returned by c_str() is invalid after this 
call.


Source code is


    {
      std::ostringstream buf;
      buf << err->file;
      if (err->line > 0)
        buf << ':' << err->line;
      source = buf.str().c_str();
    }


source seems to be left pointing at some random stack address.


Regards


David Binderman

Reply via email to