Micah Snyder
24f225c21f
Modification to unrar codebase allowing skipping of files within Solid archives when parsing in extraction mode, enabling us to skip encrypted files while still scanning metadata and potentially scanning unencrypted files later in the archive.
7 years ago
Micah Snyder
07e80eb8ea
Modification to unrar codebase to enable keeping broken (bad CRC) files so that they can be scanned.
7 years ago
Micah Snyder
d39cb6581f
Updating libclamunrar from legacy C implementation to modern unrar 5.6.5. API changes and supporting changes included to pass the filepath of the scanned file into libclamav through the cli_ctx structure, required by the unrar library to open archives. The filename argument may be optional for the scandesc scanning variant, but libclamav will make a best effort to identify the filename from the file descriptor if it was not provided. In addition, included the ability to prefix temp file and directory names with file basenames.
7 years ago
Mickey Sola
6d79990fee
100.1 - rar - reverting and fixing issues found with changes found to rar extraction during regression.
7 years ago
Mickey Sola
57cfc5dddb
bb12059 - 100.1 - fixing potential buffer reads based on values from unintialized vars when unpacking rar files
7 years ago
Anthony Chan
501baee217
Minor edit to error message
7 years ago
Anthony Chan
52144d0458
Add missing newline character to debug message string
7 years ago
Anthony Chan
da6a045e32
Modify unrar read_tables to treat "repeat previous code" at first position as error
7 years ago
Micah Snyder (micasnyd)
88005aeb12
bb12085: Converting some constants from enums to defines, because the enums may be evaluated as signed on some systems - notably solaris, causing issues if he value is greater than MAX_INT.
7 years ago
Micah Snyder
964a1e7321
Converting http urls to https urls. Primary focus was on clamav.net urls. I updated a couple others and fixes a few broken links as well. There are many (non-clamav.net) urls I didn't address, especially in 3rd party or contrib code.
7 years ago
Micah Snyder
d507b58a91
applying patch to correct invalid read in unrar add_vm_code.
7 years ago
Micah Snyder
927b2bab17
bb11992: cleaning up some variable initialization.
7 years ago
Micah Snyder
a7e14794e2
adding back changes to eliminate warnings from unrar files other than unrarppm.
8 years ago
Micah Snyder
169af0fc67
Revert "eliminating warnings. mostly correcting variable types. also correcting struct initialization in a couple instances (var = {0} does not zero the memory on all platforms). Also some minor formatting corrections in areas I was already working. eliminated some unused variables."
...
This reverts commit 84a7f40288
.
8 years ago
Micah Snyder
8efbf4a0cb
eliminating compile warnings in windows 10, vs2015, x86 and x64.
8 years ago
Micah Snyder
84a7f40288
eliminating warnings. mostly correcting variable types. also correcting struct initialization in a couple instances (var = {0} does not zero the memory on all platforms). Also some minor formatting corrections in areas I was already working. eliminated some unused variables.
8 years ago
Micah Snyder
d18d72219f
Eliminating warnings, converting iterator variables to size_t when used to compare against sizeof(). added a couple of missing #includes.
8 years ago
Mickey Sola
d4699442bc
unrar - adding proposed changes to fix RAR VMSF_DELTA Filter Signedness error
8 years ago
Steven Morgan
7cdd2b5512
bb11601 - revise buffer limit check due.
9 years ago
Steven Morgan
da520c34b0
bb11601 - check array boundaries in unrarvm rarvm_getbits().
9 years ago
Steven Morgan
64f9b9b5dd
fix possible out of bounds stack read.
9 years ago
Steven Morgan
82a23f4187
bb11600 - fix out of bounds stack read.
9 years ago
Kevin Lin
059ca61484
compiler warning suppression
9 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Shawn Webb
ddc55da065
Revert "Silence compiler warnings with the clamunrar code"
...
This reverts commit ff909fb9e1
.
11 years ago
Shawn Webb
ec187e32b5
Revert "Use unsigned int rather than size_t"
...
This reverts commit 61985b7b1f
.
11 years ago
Shawn Webb
a6680bcf80
Revert "Fix bug"
...
This reverts commit e1df7dd0d9
.
11 years ago
Shawn Webb
1a08d60c16
Revert "Do a better job at bounds checking"
...
This reverts commit b534f24d35
.
11 years ago
Shawn Webb
b534f24d35
Do a better job at bounds checking
11 years ago
Shawn Webb
e1df7dd0d9
Fix bug
11 years ago
Shawn Webb
61985b7b1f
Use unsigned int rather than size_t
11 years ago
Shawn Webb
ff909fb9e1
Silence compiler warnings with the clamunrar code
11 years ago
David Raynor
332cea9889
libclamunrar: cid #10445 & #10454
12 years ago
David Raynor
3d8a0c1df0
libclamunrar: cid #10618 & #10619
12 years ago
Tom Judge
7369b4c62f
Finish off documentation config files.
13 years ago
Tomasz Kojm
a7d13e33d5
libclamunrar/unrar.c: fix error path memory leaks (bb#2100)
15 years ago
aCaB
a5b7bfabe0
make rar stfu - bb#1835
15 years ago
Török Edvin
f3bd7d3ae2
Fix error path leak in unrar.
...
When unpack29 fails, we try 20/15 which may succeed.
In that case the vm is inited, but on next iteration it will try to init it
again, loosing the pointer to old vm data forever.
15 years ago
aCaB
081f64735d
win32#2
16 years ago
aCaB
be4bf7f4ab
win32
16 years ago
Tomasz Kojm
8df99a92aa
0.95.2
...
git-svn: trunk@5074
16 years ago
Tomasz Kojm
f009e24102
libclamunrar, libclamav: don't depend on the uncompressed size field in RAR headers (bb#1467)
...
git-svn: trunk@4977
16 years ago
Török Edvin
a2785a214b
avoid rar_malloc warnings on damaged files (bb #1290 )
...
git-svn: trunk@4409
17 years ago
aCaB
5ed6026065
liblt sucks
...
git-svn: trunk@4381
17 years ago
aCaB
bb7bd3abfd
final
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4368 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
aCaB
094104a7ac
preliminary dlopen support for libclamunrar - this is mostly libtool stuff
...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/dlopen@4360 77e5149b-7576-45b1-b177-96237e5ba77b
17 years ago
Török Edvin
08402afa4c
fix more compiler warnings (bb #273 )
...
git-svn: trunk@4353
17 years ago
Török Edvin
b9b477842d
fix compiler warnings, more to come (bb #273 )
...
git-svn: trunk@4346
17 years ago
Török Edvin
ae685a75c1
link to libclamunrar_iface explicitly to
...
allow non-rpath builds to work. (bb #1203 )
Thanks to James Ralston <ralston*pobox.com>
git-svn: trunk@4224
17 years ago
Török Edvin
15d67313c4
allow 'make check' to work even if check is not installed
...
by skipping checks that require it. (bb #1157 )
if configure is not able to find check, you can use
--with-libcheck-prefix, instead of CHECK_CFLAGS and
CHECK_LIBS.
remove accidental AC_DEFINE GETHOSTBYNAME_R_6 from last commit.
git-svn: trunk@4172
17 years ago