diff options
author | Jiří Bělka <jirib79@gmail.com> | 2025-04-08 11:28:53 +0200 |
---|---|---|
committer | Christophe Grenier <grenier@cgsecurity.org> | 2025-04-09 11:28:48 +0200 |
commit | 5c2f1c0baaba45c1c71e6f576a3e4efd55448605 (patch) | |
tree | be16bedd9b9d923ad258015bee83857cb7ef213d | |
parent | 713eaa6abae122999b493820bd7ed8ccf2ce1aaa (diff) |
Signed-off-by: Christophe Grenier <grenier@cgsecurity.org>
-rw-r--r-- | src/file_gz.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/file_gz.c b/src/file_gz.c index 4d958c2c..fcbbb558 100644 --- a/src/file_gz.c +++ b/src/file_gz.c @@ -358,6 +358,12 @@ static int header_check_gz(const unsigned char *buffer, const unsigned int buffe file_recovery_new->extension="schematic"; return 1; } + if(memcmp(buffer_uncompr, "<SCRIBUS", 8) == 0) + { + /* Scribus XML file */ + file_recovery_new->extension="sla.gz"; + return 1; + } { unsigned int i; for(i=0; i<d_stream.total_out && i< 256; i++) |