Closed Sparpet closed 6 months ago
After realloc the memory address of the input buffer can change , if this happens, trying to access the input buffer causes a segmentation fault.
Added a line to update the pointer after realloc to avoid reading old address and avoid the issue.
Thank you for your pr.
After realloc the memory address of the input buffer can change , if this happens, trying to access the input buffer causes a segmentation fault.
Added a line to update the pointer after realloc to avoid reading old address and avoid the issue.