We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashing when using shader that has certain number of characters in its folder name.
How reproduce bug:
Shaders
samples
sample
liveW -p sample alsa_out.pci-0000_00_1b.0.analog-stereo.monitor
Fatal glibc error: malloc.c:2593 (sysmalloc): assertion failed: (old_top == initial_top (av) && old_size == 0) || ((unsigned long) (old_size) >= MINSIZE && prev_inuse (old_top) && ((unsigned long) old_end & (pagesize - 1)) == 0)
liveW/src/main.c
Line 43 in eea30a9
vertPath = (char*)malloc(((strlen("Shaders//vert.glsl") + strlen(shaderName)) * sizeof(char))+1);
Line 44 in eea30a9
fragPath = (char*)malloc(((strlen("Shaders//frag.glsl") + strlen(shaderName)) * sizeof(char))+1);
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Crashing when using shader that has certain number of characters in its folder name.
How reproduce bug:
Shaders
folder rename folder namedsamples
tosample
liveW -p sample alsa_out.pci-0000_00_1b.0.analog-stereo.monitor
liveW/src/main.c
Line 43 in eea30a9
FIX: Should be
vertPath = (char*)malloc(((strlen("Shaders//vert.glsl") + strlen(shaderName)) * sizeof(char))+1);
liveW/src/main.c
Line 44 in eea30a9
FIX: Should be
fragPath = (char*)malloc(((strlen("Shaders//frag.glsl") + strlen(shaderName)) * sizeof(char))+1);
The text was updated successfully, but these errors were encountered: