summaryrefslogtreecommitdiff
path: root/src/analysis/contents
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-05-07 22:00:09 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-05-07 22:00:27 (GMT)
commit28e53c2498903090182ebeb128347fcd92896cd9 (patch)
tree0a42fab69404d507b7378e4004228b57fff7c4ce /src/analysis/contents
parent69f08c8dddca6b31b4b3c334246dbbbdcf501701 (diff)
Appended a suffix to temporary files.
Diffstat (limited to 'src/analysis/contents')
-rw-r--r--src/analysis/contents/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analysis/contents/memory.c b/src/analysis/contents/memory.c
index 7406a3a..70003bf 100644
--- a/src/analysis/contents/memory.c
+++ b/src/analysis/contents/memory.c
@@ -286,7 +286,7 @@ GBinContent *g_memory_content_new(const bin_t *data, phys_t size)
result = g_object_new(G_TYPE_MEMORY_CONTENT, NULL);
- fd = make_tmp_file("memcnt", &result->storage);
+ fd = make_tmp_file("memcnt", ".bin", &result->storage);
if (fd == -1) goto gmcn_error;
status = safe_write(fd, data, size);