Assertion in MemoryOutputString


Hi Jules,

In [code]bool MemoryOutputStream::write (const void* const buffer, int howMany)
jassert (buffer != nullptr && howMany >= 0);


I think the assert should be

(otherwise the assert is triggered when an empty memoryblock is written to a stream – this happens for ex in juce_linux_Network.cpp)


Yeah, I’m just in the middle of debugging that one myself. Goddamn linux gdb seems incapable of stopping at the correct line when there’s an assertion, which doesn’t help… grumble grumble…