Commit e79f57e8 authored by Keith Fieldhouse's avatar Keith Fieldhouse Committed by Marcus D. Hanwell

Fix unitialized/unterminated malloc'd string

Class documentation without Description, See Also et. al.
resulted in failures on Win64 (and undefined behavior on other
platforms) because a malloc'd string remained improperly terminated
in that case.
parent ad9f35e4
......@@ -2640,6 +2640,7 @@ static void vtkWrapPython_ClassDoc(
comment = (char *)malloc(n);
cp = comment;
*cp = '\0';
if (data->Description)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment