Displaying 1 result from an estimated 1 matches for "frame_ptr".
2017 Apr 12
2
More issues with Siren14 datalen == 0 packets
.../slinfactory.c near line 177 doesn't check for datalen of zero,
but copies using samples.
Fixed thusly:
*** slinfactory.c.orig 2017-02-13 15:00:19.000000000 -0500
--- slinfactory.c 2017-04-12 08:48:16.000000000 -0400
***************
*** 174,178 ****
frame_data = frame_ptr->data.ptr;
! if (frame_ptr->samples <= ineed) {
memcpy(offset, frame_data, frame_ptr->samples * sizeof(*offset));
sofar += frame_ptr->samples;
--- 174,180 ----
frame_data...