Micah Snyder
5a3c50ca84
Changing the license for the complete-re-written unrar_iface code from LGPL to the BSD 3-Clause license, updating the copyright years, and adding Micah Snyder as an author.
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
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.
8 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
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.
9 years ago
Sebastian Andrzej Siewior
66acb3c993
try to minimize the err cleanup path
...
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Mickey Sola <msola@sourcefire.com>
10 years ago
Sebastian Andrzej Siewior
d426ada11e
clamunrar: notice if unpacking comment failed
...
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Mickey Sola <msola@sourcefire.com>
10 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Steven Morgan
95c0138ad0
bb11159 - fix memory leak during error handling.
11 years ago
Shawn Webb
ddc55da065
Revert "Silence compiler warnings with the clamunrar code"
...
This reverts commit ff909fb9e1 .
11 years ago
Shawn Webb
ff909fb9e1
Silence compiler warnings with the clamunrar code
12 years ago
Shawn Webb
35394bbceb
Revert recent autoconf work
12 years ago
Shawn webb
c85e7e4d61
Remove unnecessary autotools artifacts
...
Conflicts:
Makefile.in
clamav-milter/Makefile.in
clambc/Makefile.in
clamconf/Makefile.in
clamd/Makefile.in
clamdscan/Makefile.in
clamdtop/Makefile.in
clamscan/Makefile.in
configure.ac
database/Makefile.in
docs/Makefile.in
etc/Makefile.in
freshclam/Makefile.in
libclamav/Makefile.in
libclamav/c++/Makefile.in
libltdl/Makefile.in
shared/Makefile.in
sigtool/Makefile.in
test/Makefile.in
unit_tests/Makefile.in
12 years ago
David Raynor
8bbde69782
unrar_iface: unrar_open cleanup
13 years ago
David Raynor
de2bd310f9
cid #11402
13 years ago
Shawn Webb
63c6b0e21b
bb6111 - check return value of lseek in libclamunrar_iface
13 years ago
David Raynor
e11c67a1ef
cid #10403 follow-up
13 years ago
Carl Wu
905b660048
cwu_cid#: fix 10403#
13 years ago
Steve Morgan
b2212def1b
cid 10776 - fix double free
13 years ago
Shawn webb
d1ffa04fe7
Add back in the Makefile.in files
14 years ago
Shawn webb
913826d168
Remove unnecessary autotools artifacts
14 years ago
Tom Judge
7369b4c62f
Finish off documentation config files.
14 years ago
Török Edvin
cf8a925fb9
configure, --enable-distcheck-werror: remove need for CFLAGS hack in libltdl
...
Just add the @WERR_CFLAGS@ to all directories that need it, because libltdl gets
overwritten everytime libtool is upgraded.
15 years ago
Török Edvin
c32cc8e29d
unrar.c: make behavior deterministic.
...
Fix valgrind uninitialized warnings.
16 years ago
Török Edvin
e3540e0a5f
Add sanity check for struct packing (bb #1752 ).
...
Also move some #pragma pack() to the proper position.
16 years ago
aCaB
2af15d1e8a
win32: add unrar s'port
16 years ago
aCaB
58481352d5
win32 paths handling
17 years ago
aCaB
081f64735d
win32#2
17 years ago
aCaB
be4bf7f4ab
win32
17 years ago
Török Edvin
0b44bb9f3b
use same symbols as 0.95 for libclamunrar_iface (bb #1535 ).
...
git-svn: trunk@5018
17 years ago
Török Edvin
00c3dfe516
provide script for package maintainers to split tarball (bb #1515 )
...
disable preloading, it doesn't work properly yet.
git-svn: trunk@4993
17 years ago
Török Edvin
cd0a934f67
Prefer libclamunrar_iface that matches version (bb #1491 ).
...
Add $libdir to ltdl searchpath (bb #1476 ).
git-svn: trunk@4992
17 years ago
Tomasz Kojm
115c3ed503
fix previous commit
...
git-svn: trunk@4979
17 years ago
Tomasz Kojm
f009e24102
libclamunrar, libclamav: don't depend on the uncompressed size field in RAR headers (bb#1467)
...
git-svn: trunk@4977
17 years ago
Török Edvin
e114b109c4
fix use of uninitialized value.
...
add test for STREAM.
fix missing closing pragmas.
git-svn: trunk@4810
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
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
18 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
18 years ago
aCaB
6d48ea885a
update libtool - bb#1162
...
git-svn: trunk@4170
18 years ago
Török Edvin
2d75763208
revert last commit, it breaks bzip2 detection in /usr/local
...
git-svn: trunk@4163
18 years ago
Török Edvin
8179270b95
if pkg-config cannot find check look in standard places for check
...
(such as /usr/local/lib)
git-svn: trunk@4162
18 years ago
Török Edvin
4a40b66cf0
replace AC_FUNC_MMAP: check only for MAP_PRIVATE and not MAP_FIXED (bb #1140 ) HP-UX: zlib in non-standard path, LIBS got set to -lz, but -L was missing, just restore LIBS and don't touch it
...
git-svn: trunk@4145
18 years ago
Török Edvin
7959343dc7
allow make distcheck to succeed (bb #1142 )
...
fix some more warnings
filter -Werror in clamav-milter.c
git-svn: trunk@4141
18 years ago
Török Edvin
5cd3f734a9
add lots of warnings flags to 'make distcheck',
...
and turn some warnings into errors (bb #1092 )
git-svn: trunk@4129
18 years ago
Tomasz Kojm
06fd4ce982
libclamunrar_iface, libclamav: improve detection of encrypted RAR archives (bb#1134)
...
git-svn: trunk@4117
18 years ago
aCaB
55144c4766
work around non reentrant lresolv
...
git-svn: trunk@4087
18 years ago