Hi,

I found a bug in OSGWebInterface (at least with VC8).
[BTW Is it intended, that it's *not* inside the OSG namespace?]


The bug:

When I open the WebInterface in a browser, I get a crash at line 296 in 
OSGWebInterface.cpp:

void WebInterface::decodeUrl(const std::string &url,
                             std::string &path,
                             ParameterT &param)
{
    std::string::const_iterator sI=url.begin();
[...]
    if(*sI == '?') // "*sI" crashes
    {
[...]

The debug message from the ms-string implementation is:
"Expression: string iterator not dereferencable"

I could replace it with something else and fix it but don't realy understand 
the root if the problem!? What's wrong with *sI in that place?

Thomas

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-core mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-core

Reply via email to