-
Committer:
Alexander Naumov
-
Author(s):
Jason Simpson
-
Date:
2018-09-24 20:56:31 UTC
-
Revision ID:
git-v1:f606916a7af47167a68806ddb6d471e3847fdafb
bugfix: crash on dinfo, "stack smashing detected"
This seems to be caused by faulty pointer/buffer-length
tracking. Pointer position 'p', meant to be incremented
by the length of the string written to the buffer, is
instead incremented by (length of the buffer - length of
the string written to the buffer), quickly shooting past
the end of the allocated buffer space.