View Issue Details

IDProjectCategoryView StatusLast Update
0000003file[All Projects] Generalpublic2018-12-16 21:28
ReportervaloqAssigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
PlatformLinuxOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000003: Native decompression
DescriptionCurrently file uses external applications to decompress certain file formats before analysing them.
This prevents effective sandboxing via seccomp.

This bug is to collect information and keep track of the progress of implementing all compression formats using libraries

Currently we have the folloging native decompression functions:
uncompressgzipped
uncompresszlib


The following external decompression tools are currently used and need to be implemented using their respective libraries:

gzip
uncompress
bzip2
lzip
xz
lrzip
lz4
zstd


The compression is handled in srv/compress.c
Tagscompression
Attach Tags

Activities

valoq

2018-06-17 14:54

reporter   ~0000001

Information for the xz compression format:

Library:
https://www.7-zip.org/sdk.html

Example implementations:
https://fossies.org/linux/xz/doc/examples/02_decompress.c
https://github.com/lloyd/easylzma

I will start with the xz format as soon as I find the time.

valoq

2018-08-16 15:25

reporter   ~0000063

After looking into it I believe this https://fossies.org/linux/xz/doc/examples/02_decompress.c already contains all the code needed to implement xz decompression in file.

However there are still some issues in compress.c that I do not fully understand, like how the "method" is determined and how we should change it to allow for a number of new compression methods.

There are also some other areas where I do not get the impression compress.c is ready to have new compression algorithms implemented and I don't think I will fix this that easily


@christos: Can you support this by adopting compress.c in a way that adding new compression methods is more easily possible (and comprehensible). That would be a great help.

anonymous

2018-12-16 18:51

reporter   ~0000136

free casino games https://onlinecasinotop.us.org/# | https://onlinecasinotop.us.org/# | <a href=https://onlinecasinotop.us.org/#>online gambling casino</a> <a href=https://onlinecasinotop.us.org/#>vegas world slots</a>

anonymous

2018-12-16 19:03

reporter   ~0000137

cbd oils https://highcbdoildrops.com/# | https://highcbdoildrops.com/# | <a href=https://highcbdoildrops.com/#>cbd oil scam</a> <a href=https://highcbdoildrops.com/#>what is cbd oil</a>

anonymous

2018-12-16 19:03

reporter   ~0000138

organic cbd oil https://cannacbdoilrx.com/# | https://cannacbdoilrx.com/# | <a href=https://cannacbdoilrx.com/#>elixinol cbd</a> <a href=https://cannacbdoilrx.com/#>buy cbd oil uk</a>

anonymous

2018-12-16 19:09

reporter   ~0000139

cbd tincture https://cannacbdoilrx.com/# | https://cannacbdoilrx.com/# | <a href=https://cannacbdoilrx.com/#>best cbd oil 2018</a> <a href=https://cannacbdoilrx.com/#>cbd coffee</a>

anonymous

2018-12-16 19:24

reporter   ~0000140

where can i buy cbd oil https://cbdoilmarketusa.com/# | https://cbdoilmarketusa.com/# | <a href=https://cbdoilmarketusa.com/#>retail stores selling cbd oil</a> <a href=https://cbdoilmarketusa.com/#>cbd oil uses</a>

anonymous

2018-12-16 19:32

reporter   ~0000141

https://onlinecasino888.us.org/# casino games free
<a href=https://onlinecasino888.us.org/#>online casino games</a>
<a href=https://onlinecasino888.us.org/#>vegas world casino games</a>
https://onlinecasino888.us.org/#
 https://onlinecasino888.us.org/#

anonymous

2018-12-16 19:37

reporter   ~0000142

online casinos real money https://onlinecasinoziz.com/# | https://onlinecasinoziz.com/# | <a href=https://onlinecasinoziz.com/#>300 free slots no download</a> <a href=https://onlinecasinoziz.com/#>hot shot casino slots</a>

anonymous

2018-12-16 19:43

reporter   ~0000143

https://moderncbdoil.com/# cbd products
https://moderncbdoil.com/#
https://moderncbdoil.com/#
https://moderncbdoil.com/#
 https://moderncbdoil.com/#

anonymous

2018-12-16 19:50

reporter   ~0000144

green mountain cbd https://highcbdoildrops.com/# | https://highcbdoildrops.com/# | <a href=https://highcbdoildrops.com/#>cbd oil for pets</a> <a href=https://highcbdoildrops.com/#>cbd clinic products</a>

anonymous

2018-12-16 20:02

reporter   ~0000145

penny slots https://onlinecasinoplayyz.com/# | https://onlinecasinoplayyz.com/# | <a href=https://onlinecasinoplayyz.com/#>usa no deposit casino bonus codes</a> <a href=https://onlinecasinoplayyz.com/#>ruby slots</a>

anonymous

2018-12-16 20:02

reporter   ~0000146

koi cbd https://cbdoilmarketusa.com/# | https://cbdoilmarketusa.com/# | <a href=https://cbdoilmarketusa.com/#>elixinol cbd</a> <a href=https://cbdoilmarketusa.com/#>cbd products</a>

anonymous

2018-12-16 20:04

reporter   ~0000147

foxwoods casino online https://onlinecasinozik.com/# | https://onlinecasinozik.com/# | <a href=https://onlinecasinozik.com/#>dakota sioux casino</a> <a href=https://onlinecasinozik.com/#>caesars slots</a>

anonymous

2018-12-16 20:12

reporter   ~0000148

online slots https://onlinecasino2018.us.org/# | https://onlinecasino2018.us.org/# | <a href=https://onlinecasino2018.us.org/#>online casino gambling</a> <a href=https://onlinecasino2018.us.org/#>online gambling casino</a>

anonymous

2018-12-16 20:16

reporter   ~0000149

free casino games slots https://playonlinecasino.us.org/# | https://playonlinecasino.us.org/# | <a href=https://playonlinecasino.us.org/#>no deposit casino</a> <a href=https://playonlinecasino.us.org/#>free casino games vegas world</a>

anonymous

2018-12-16 20:32

reporter   ~0000150

doubledown casino https://onlinecasinotop.us.org/# | https://onlinecasinotop.us.org/# | <a href=https://onlinecasinotop.us.org/#>slotomania free slots</a> <a href=https://onlinecasinotop.us.org/#>casino games free</a>

anonymous

2018-12-16 20:39

reporter   ~0000151

cbd oil for anxiety https://americacbdoilstore.com/# | https://americacbdoilstore.com/# | <a href=https://americacbdoilstore.com/#>cbd shop</a> <a href=https://americacbdoilstore.com/#>where to buy cbd cream for pain</a>

anonymous

2018-12-16 20:39

reporter   ~0000152

plus cbd oil https://cbdoilmarketusa.com/# | https://cbdoilmarketusa.com/# | <a href=https://cbdoilmarketusa.com/#>cbd oil uses</a> <a href=https://cbdoilmarketusa.com/#>cbd dosage</a>

anonymous

2018-12-16 20:45

reporter   ~0000153

free slots slotomania https://onlinecasinoziz.com/# | https://onlinecasinoziz.com/# | <a href=https://onlinecasinoziz.com/#>myvegas slots</a> <a href=https://onlinecasinoziz.com/#>online casino gambling</a>

anonymous

2018-12-16 20:57

reporter   ~0000154

winstar world casino https://onlinecasinozik.com/# | https://onlinecasinozik.com/# | <a href=https://onlinecasinozik.com/#>no deposit games online for real cash</a> <a href=https://onlinecasinozik.com/#>play free casino slots now</a>

anonymous

2018-12-16 21:15

reporter   ~0000155

https://moderncbdoil.com/# cbd tincture
https://moderncbdoil.com/#
https://moderncbdoil.com/#
https://moderncbdoil.com/#
 https://moderncbdoil.com/#

anonymous

2018-12-16 21:18

reporter   ~0000156

free casino games https://onlinecasinoplayyz.com/# | https://onlinecasinoplayyz.com/# | <a href=https://onlinecasinoplayyz.com/#>play slots for real money</a> <a href=https://onlinecasinoplayyz.com/#>brian christopher slots</a>

anonymous

2018-12-16 21:22

reporter   ~0000157

https://onlinecasino888.us.org/# slotomania free slots
<a href=https://onlinecasino888.us.org/#>virgin online casino</a>
<a href=https://onlinecasino888.us.org/#>free slots</a>
https://onlinecasino888.us.org/#
 https://onlinecasino888.us.org/#

anonymous

2018-12-16 21:28

reporter   ~0000158

foxwoods online casino https://playonlinecasino.us.org/# | https://playonlinecasino.us.org/# | <a href=https://playonlinecasino.us.org/#>play free vegas casino games</a> <a href=https://playonlinecasino.us.org/#>free casino games vegas world</a>

Add Note

View Status
Note
Upload Files
Maximum size: 2,097 KB

Drop files here to upload (or click)

Issue History

Date Modified Username Field Change
2018-06-17 08:02 valoq New Issue
2018-06-17 08:02 valoq Tag Attached: compression
2018-06-17 14:54 valoq Note Added: 0000001
2018-08-16 15:25 valoq Note Added: 0000063
2018-12-11 23:00 anonymous Note Added: 0000113
2018-12-16 15:23 anonymous Note Added: 0000114
2018-12-16 16:38 anonymous Note Added: 0000115
2018-12-16 16:51 anonymous Note Added: 0000116
2018-12-16 16:51 anonymous Note Added: 0000117
2018-12-16 16:58 anonymous Note Added: 0000118
2018-12-16 17:11 anonymous Note Added: 0000119
2018-12-16 17:14 anonymous Note Added: 0000120
2018-12-16 17:19 anonymous Note Added: 0000121
2018-12-16 17:21 anonymous Note Added: 0000122
2018-12-16 17:23 anonymous Note Added: 0000123
2018-12-16 17:25 anonymous Note Added: 0000124
2018-12-16 17:46 anonymous Note Added: 0000125
2018-12-16 17:57 anonymous Note Added: 0000126
2018-12-16 18:02 anonymous Note Added: 0000127
2018-12-16 18:08 anonymous Note Added: 0000128
2018-12-16 18:19 anonymous Note Added: 0000129
2018-12-16 18:25 anonymous Note Added: 0000130
2018-12-16 18:29 anonymous Note Added: 0000131
2018-12-16 18:31 anonymous Note Added: 0000132
2018-12-16 18:42 anonymous Note Added: 0000133
2018-12-16 18:45 anonymous Note Added: 0000134
2018-12-16 18:51 anonymous Note Added: 0000136
2018-12-16 19:03 anonymous Note Added: 0000137
2018-12-16 19:03 anonymous Note Added: 0000138
2018-12-16 19:09 anonymous Note Added: 0000139
2018-12-16 19:24 anonymous Note Added: 0000140
2018-12-16 19:32 anonymous Note Added: 0000141
2018-12-16 19:37 anonymous Note Added: 0000142
2018-12-16 19:43 anonymous Note Added: 0000143
2018-12-16 19:50 anonymous Note Added: 0000144
2018-12-16 20:02 anonymous Note Added: 0000145
2018-12-16 20:02 anonymous Note Added: 0000146
2018-12-16 20:04 anonymous Note Added: 0000147
2018-12-16 20:12 anonymous Note Added: 0000148
2018-12-16 20:16 anonymous Note Added: 0000149
2018-12-16 20:32 anonymous Note Added: 0000150
2018-12-16 20:39 anonymous Note Added: 0000151
2018-12-16 20:39 anonymous Note Added: 0000152
2018-12-16 20:45 anonymous Note Added: 0000153
2018-12-16 20:57 anonymous Note Added: 0000154
2018-12-16 21:15 anonymous Note Added: 0000155
2018-12-16 21:18 anonymous Note Added: 0000156
2018-12-16 21:22 anonymous Note Added: 0000157
2018-12-16 21:28 anonymous Note Added: 0000158