multisocketsink: Allocate enough memory on the stack in the test

Otherwise we just overwrite other things on the stack and cause crashes.
This commit is contained in:
Sebastian Dröge 2015-03-16 20:41:19 +01:00
parent 1ee2fccfdf
commit 15cc12b0b9

View file

@ -161,7 +161,7 @@ GST_START_TEST (test_add_client)
GstElement *sink;
GstBuffer *buffer;
GstCaps *caps;
gchar data[4];
gchar data[9];
GSocket *sinksocket, *srcsocket;
sink = setup_multisocketsink ();