UE-OSC icon indicating copy to clipboard operation
UE-OSC copied to clipboard

Over-large message element crashes engine.

Open Dannington opened this issue 8 years ago • 1 comments

Due to the limited maximum size of the variable type (FNAME I think), if a message element is received which is larger than 1024 chars the engine crashes.

Ultimately we should think about changing the type for this message element type, but in the short term we should think about handling the error more gracefully.

Dannington avatar Dec 13 '16 22:12 Dannington

I pushed the support for OSC blobs. You should probably use them for use cases where long strings are needed.

It does not fix this issue though:

  • long OSC strings are not handled correctly (a fix would break compatibility with previous version)
  • it still crashes (a fix needs a strlen call which is "expensive")

monsieurgustav avatar Dec 20 '16 16:12 monsieurgustav