diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-09-01 17:13:06 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-09-01 17:13:06 +0000 |
| commit | 6f342e449becb621a2f93f492b38791ec5aba35d (patch) | |
| tree | 131870f18f5a3853b98c9742e0e165b110978289 /src/io/streamtest.cpp | |
| parent | astyle code (diff) | |
| parent | extensions. dxf_outlines. add support for line, circle, ellipse. (Bug 1489320... (diff) | |
| download | inkscape-6f342e449becb621a2f93f492b38791ec5aba35d.tar.gz inkscape-6f342e449becb621a2f93f492b38791ec5aba35d.zip | |
update to trunk
(bzr r13645.1.117)
Diffstat (limited to 'src/io/streamtest.cpp')
| -rw-r--r-- | src/io/streamtest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/io/streamtest.cpp b/src/io/streamtest.cpp index 2030e6a85..ec59ac4a6 100644 --- a/src/io/streamtest.cpp +++ b/src/io/streamtest.cpp @@ -202,6 +202,7 @@ void path_init(char *path, char *name) exit(1); } strncpy(ptr+1,name,strlen(name)+1); + path[PATH_MAX-1] = '\0'; printf("'%s'\n",path); } |
