Micah Snyder
7cf2a70104
b11939: adding fix as recommended by bug reporter along with a couple extra lines to ensure freed pointers are set to NULL.
8 years ago
Mickey Sola
d1100be31a
bb11940 - fixing heap overflow in rfc2037. Patch submitted by Suleman Ali
8 years ago
Mickey Sola
39c89d14a6
bb11945 - fixing null dereference of blob pointer
8 years ago
Steven Morgan
38da4800bf
bb11943 - add check to mew.c for out of bounds read. Patch supplied by Suleman Ali.
8 years ago
Steven Morgan
292d6878fa
bb11946 - check that tar checksum is within bounds. Patch supplied by Suleman Ali.
8 years ago
Micah Snyder
77326673e2
Adding missing -1 that enables trimming of trailing spaces in mbox parsing code.
8 years ago
Micah Snyder
ad905e5391
forgot to remove a few stats submission related option checking in clamd
8 years ago
Micah Snyder
22880de038
eliminating additional option references to stat collection and submission until such time as a new stats website and associated clamav code is ready.
8 years ago
Micah Snyder
eaa711526c
1) improved debug messages
...
2) accept files in the cab with 0-byte (just a null terminator) lengths. I don’t know that there are any real cabs that have this, but it’s conceivable.
3) only try to sanitize if we actually got the filename correctly (I forgot to put an else{} around it when I added filename sanitization).
4) reset the parsing offset to the beginning of the file entries in case the # of folder entries found did not match the # stated in the header. (This could help or hurt in a malformed cab header depending on exactly how it was malformed. Actual value gained… hard to say).
8 years ago
Steven Morgan
dc30ba752d
bb11910 - remove DetectionStatsHostID.
8 years ago
Micah Snyder
8dbf92a40f
Adding some debug strings for cab parsing that existed in 0.99.2. Adding code that sterilizes garbage data that is read in as a string so it is not output to stderr when --debug is enabled.
8 years ago
Steven Morgan
b2f59861ee
bb11915 - Fix for whitelisting bytecode signatures. Patch by Georgy Salnikov.
8 years ago
Micah Snyder
7dbfe2412e
Updating win32 readme
8 years ago
Micah Snyder
5812c75fa3
updating git commits, sln to fix build, and most importantly adding macro definitions to cltypes in support of Windows.
8 years ago
Micah Snyder
a33b7b655f
adding code to fail out of cab header parsing function if at the end of the function no files were added to the file list (i.e. format issue with header)
8 years ago
Micah Snyder
b470fcb998
fixing small memory leak.
8 years ago
Micah Snyder
e8e02f69df
fixing decompression hack for LZX since we increased CAB_BLOCKMAX. adding some debug messages and eliminating one that no longer makes sense.
8 years ago
Micah Snyder
0cf59dddb3
eliminating warning for redefinition, correcting end of dbg buffer newline line.
8 years ago
Micah Snyder
ab096116b6
fmin resulted in an incorrect value. switching to just use UINT_MAX because we know that will be the minimum in the statement anyways.
8 years ago
Micah Snyder
1245231999
adding fix that limits cabmax size to UINT_MAX
8 years ago
Micah Snyder
520b0fd317
updating max cab size t 64k as was in old implementation, even though it's technically higher than the spec. adding back size checks. adding fix to mspack_fmap_alloc to zero the mem.
8 years ago
Mickey Sola
c21235eb56
Ensuring mspack file handle is zeroed out after allocation and only closed if it exists
8 years ago
Micah Snyder
b9cdc86464
Adding modifications to continue scanning cab files that don't conform to cab size norms.
8 years ago
Micah Snyder
653b471b5b
eliminating format-string related warnings that appear on ubuntu 16.04 x64.
8 years ago
Steven Morgan
ee6fb5fbf0
add some null argument checks before using the json api.
8 years ago
Steven Morgan
ad6b08d27b
quieter debug messages from pcre matcher.
8 years ago
Steven Morgan
f84289de35
fix for Html.Trojan.Iframe-35 false negative.
8 years ago
Micah Snyder
d731a939ba
fixed uninitized variable that valgrind picked up in centos 6.8
8 years ago
Micah Snyder
7cc40cba8b
initializing error code to zero, fixing mspack_fmap_message so it has a new line character and will print fmt strings correctly
8 years ago
Micah Snyder
87c800a746
initializing file->folder to NULL to prevent accidental segfaults and valgrind complaints. adding correction to mspack_fmap_message() so it will correctly print format strings.
8 years ago
Micah Snyder
4cb7530e81
adding fix to cabd.c that allows completion of parsing of cab files that describe files in the header that are invalid. This occurs when non-header data is hidden at the end of the header.
8 years ago
Micah Snyder
31064b37f7
adding back warning fixes to pdf.c that disappears in pull request changes wrt win32 changes. adding a small change to mspack cabd.c since to eliminate a warning since this series of commits also changes mspack code.
8 years ago
Micah Snyder
a7e14794e2
adding back changes to eliminate warnings from unrar files other than unrarppm.
8 years ago
Micah Snyder
d0cba11ea7
adding back changes to eliminate warnings from mspack, matcher, others, and readdb.
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
de2d9dc4fc
Removing file references from Makefile that were removed as a part of Windows visual studio project file cleanup effort.
8 years ago
Micah Snyder
52205b828c
moving mspack visual studio project into win32 directory.
8 years ago
Micah Snyder
28d48ab288
adding openssl visual studio project to provide the openssl DLLs to the Setup installer projects. there may be an even cleaner solution but this works.
8 years ago
Adrian Wu
1787900cd9
Address PR comments and fix logic
8 years ago
Adrian Wu
c213fb8ea4
BUGFIX 18264: Make freshclamwrap interpret FC_UPTODATE as UPD_NONE
8 years ago
Prashant Pathak
b1621fd5dc
Formatting attempt# 2
8 years ago
Prashant Pathak
a45f8f4421
Fix formatting issues
8 years ago
Prashant Pathak
5411f7ebee
BUGFIX: 16588: Exit freshclam if pipe is broken
8 years ago
Prashant Pathak
16049b4bb1
Fix: Fix formatting to keep inline with original file
8 years ago
Prashant Pathak
ef46dfb647
BUGFIX: Do not treat failure as fatal
...
BUGFIX: Do not treat failure as fatal based on PR comments.
Remove the free_engine_and_unlock and FAIL macro from this specific
case.
8 years ago
Prashant Pathak
f3f04b6cd9
BUGFIX: 14528: Disable caching by default in the wrapper code
...
BUGFIX: 14528: Disable caching by default in the wrapper code. This is
interfering with lot of scanning code and since ClamAV is primarily used
in mindefs mode, turn off caching in mindefs mode.
8 years ago
Adrian Wu
428faad882
basetsd not basestd
8 years ago
Prashant Pathak
edb022443d
FIX: Compile issue with VS 2015
8 years ago
Jake Fehr
75ae082726
Fix lib path
8 years ago
Jake Fehr
078ab2f916
null an additional variable
8 years ago