Bug #803

Float 0 instead of string for setShader OSC callback crashes spinserver

Added by Alexandre Quessy about 1 year ago. Updated 8 months ago.

Status:Closed Start date:2012-05-04
Priority:Normal Due date:
Assignee:Mike Wozniewski % Done:

0%

Category:-
Target version:0.4
Version:

Description

When send /spin/default/vid setShader 0, it crashes the spinserver.

History

Updated by Mike Wozniewski 8 months ago

  • Status changed from New to Closed

I added the workaround mentioned here: #1005

Which just looks like this:

if (!path)
{
    std::cout << "WARNING: setShader got empty string" << std::endl;
    return;
}

But, this is a bigger problem that affects ALL methods in spin that take const char*, so this issue is still open and should be dealt with in cppintrospection: #1005

Also available in: Atom PDF