Malloc memory instead of assuming the string is less than 1024 characters
Malloc memory instead of assuming the string is less than 1024 characters

When deserialising an event in the proxy listener it was assumed
that all strings would be less than 1024 bytes.  This isn't a
valid assumption.  This patch now allocated the required memory
and then frees it again once the event is finished with.

gnb/novaprova,greig-hamilton/novaprova,novaprova/novaprova,gnb/novaprova,gnb/novaprova,greig-hamilton/novaprova,novaprova/novaprova,novaprova/novaprova,novaprova/novaprova,gnb/novaprova,greig-hamilton/novaprova,greig-hamilton/novaprova,gnb/novaprova,greig-hamilton/novaprova,novaprova/novaprova