Hello, Dia crashes if it is attempted to export shape to a file, which extension is not .shape (the UI allows to type whatever file extension the user likes or no extension at all). The problem seems to come from plug-ins/shape/shape-export.c, where after the lines: point = strrchr(filename, '.'); it is not checked if point == NULL (no file extension). Also the line: strlen(g_basename(filename))-6); makes assumption of the extension length, which may not be correct. Attached is suggestion for fix. Plamen ____________________________________________________________________________________ Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs
Attachment:
shape-export.patch.gz
Description: 1396696496-shape-export.patch.gz