Commit Graph

275 Commits

Author SHA1 Message Date
aCaB
f5354453e0 check return value of gentemp()
git-svn: trunk@3276
2007-10-06 11:37:44 +00:00
Török Edvin
8ea27f5c18 fix some warnings
git-svn: trunk@3275
2007-10-06 08:47:46 +00:00
Tomasz Kojm
b07f9a5eba fix bb#495
git-svn: trunk@3270
2007-10-05 21:48:57 +00:00
Tomasz Kojm
3dad68eb73 code cleanup
git-svn: trunk@3269
2007-10-05 13:29:59 +00:00
Tomasz Kojm
20c2455d14 minor tidy
git-svn: trunk@3268
2007-10-05 12:18:22 +00:00
Tomasz Kojm
4286022819 fix range calculation for multipart sigs with string alternatives
git-svn: trunk@3266
2007-10-04 13:56:48 +00:00
Török Edvin
2e3e071963 make CL_SCAN_STDOPT consistent with clamscan/clamd's defaults.
git-svn: trunk@3264
2007-10-03 16:07:45 +00:00
Török Edvin
7191e94bd9 avoid some false positives when there are spaces in URL.
git-svn: trunk@3263
2007-10-03 12:53:09 +00:00
Tomasz Kojm
1a648b3717 add basic support for string alternatives; optimise bfs_enqueue/dequeue
git-svn: trunk@3262
2007-10-03 00:31:52 +00:00
Török Edvin
a57cfac603 remove incorrect free_if_needed call
git-svn: trunk@3261
2007-10-02 20:35:12 +00:00
Török Edvin
830c1eaed2 avoid false positives with outbind:// URLs
git-svn: trunk@3260
2007-10-02 20:19:31 +00:00
Nigel Horne
d563818f90 Increase the chance of a stack trace being printed
git-svn: trunk@3258
2007-10-01 10:35:02 +00:00
Török Edvin
97ba1aed4b more improvements to the algorithm.
git-svn: trunk@3257
2007-09-30 21:00:05 +00:00
Török Edvin
ecd2643ba9 fix off by one substring logic.
git-svn: trunk@3256
2007-09-28 18:45:58 +00:00
Török Edvin
7da9bd64eb fix NULL deref. bug, use of uninitialized variable, and memory leak from yesterday's commit.
Changelog: add log message for r3254 from svn log, forgot to update Changelog yesterday (oops)


git-svn: trunk@3255
2007-09-28 18:05:17 +00:00
Török Edvin
b5341ac052 more improvements to the url extraction algorithm (more to come later).
Reduces false negatives.
False positives ratio should be same.


git-svn: trunk@3254
2007-09-27 21:27:37 +00:00
Tomasz Kojm
ecf5865b53 minor optimisation
git-svn: trunk@3251
2007-09-26 22:18:44 +00:00
Nigel Horne
fe8727bce2 Only use strcasestr on Linux
git-svn: trunk@3246
2007-09-25 10:27:45 +00:00
Nigel Horne
27729d4058 MailFollowURLS: detect Trojan.IRC-Script-33
git-svn: trunk@3240
2007-09-23 13:37:03 +00:00
Török Edvin
2782c74315 seek on the underlying file descriptor and not FILE*.
Avoids problems on OpenBSD with cvd unpacking.


git-svn: trunk@3239
2007-09-22 16:00:41 +00:00
aCaB
618943537c Avoid variadic macroes make vc6 happy.
git-svn: trunk@3236
2007-09-20 23:21:01 +00:00
Török Edvin
6a929d834c improve url extraction algorithm.
git-svn: trunk@3233
2007-09-20 21:05:11 +00:00
Tomasz Kojm
9187ef9027 properly handle alternatives in the new approach
git-svn: trunk@3227
2007-09-18 18:37:48 +00:00
Nigel Horne
ddae845f96 _POSIX2_RE_DUP_MAX
git-svn: trunk@3226
2007-09-18 13:32:31 +00:00
Török Edvin
53ff1b0490 add regcomp(), regexec() impl. from OpenBSD's libc.
This code is licensed under the 3-clause BSD.
This will be used instead of system provided regexec()/regcomp() to
have consistent behaviour across platforms.


git-svn: trunk@3225
2007-09-17 18:54:56 +00:00
Nigel Horne
584aadd53b Bugs 665/667
git-svn: trunk@3224
2007-09-17 16:59:02 +00:00
Nigel Horne
164ba3b808 Bug 664
git-svn: trunk@3223
2007-09-17 14:23:52 +00:00
aCaB
b57836c45d s/buff/epbuff/
git-svn: trunk@3222
2007-09-15 16:27:05 +00:00
Nigel Horne
73ddf91f87 More cleanups
git-svn: trunk@3221
2007-09-15 09:00:57 +00:00
Tomasz Kojm
c01ff22d4b minor optimisation
git-svn: trunk@3220
2007-09-14 19:04:14 +00:00
Nigel Horne
fb1487297c --enable-debug: fix assertion
git-svn: trunk@3219
2007-09-14 09:51:17 +00:00
Tomasz Kojm
e38ab7c147 various speed optimisations
git-svn: trunk@3218
2007-09-13 18:14:20 +00:00
Nigel Horne
be32043eb7 More optimisations
git-svn: trunk@3217
2007-09-13 17:25:37 +00:00
aCaB
5f7aa0c49f typo in upack checks
git-svn: trunk@3216
2007-09-13 12:49:46 +00:00
Nigel Horne
93b4a7b1a0 More optimisations
git-svn: trunk@3215
2007-09-13 12:01:37 +00:00
aCaB
a993c5ad0d Shut up a few warnings and fix some typoes
git-svn: trunk@3214
2007-09-13 11:26:26 +00:00
Nigel Horne
94f051b0ac More optimisations
git-svn: trunk@3213
2007-09-12 13:25:13 +00:00
Nigel Horne
30e18cafbe Various code clean ups and optimisations
git-svn: trunk@3212
2007-09-11 10:22:49 +00:00
aCaB
b8ad506b1e nsis tidy
spam unpack dir in debug&leavetemps mode


git-svn: trunk@3211
2007-09-09 12:32:29 +00:00
aCaB
6ca0345c5a bb#656
git-svn: trunk@3210
2007-09-08 12:59:57 +00:00
Tomasz Kojm
09eab32afc move hardware acceleration code to contrib/hwaccel/hwaccel.patch
git-svn: trunk@3209
2007-09-07 14:22:10 +00:00
Nigel Horne
21e605f4e5 Finish 0.91.2 consistency work
git-svn: trunk@3208
2007-09-06 17:09:12 +00:00
Nigel Horne
8affc4062b Various cleanups
git-svn: trunk@3207
2007-09-06 12:22:16 +00:00
Nigel Horne
641dbe1f37 Code clean up
git-svn: trunk@3206
2007-09-04 16:35:25 +00:00
Nigel Horne
ba74b33339 Code clean up
git-svn: trunk@3205
2007-09-04 16:34:00 +00:00
Nigel Horne
ef5b10e03d Catch phishes with NULL names
git-svn: trunk@3204
2007-09-04 11:39:36 +00:00
Nigel Horne
7dde984e7d Partial dir: plug leak on error and code tidy
git-svn: trunk@3203
2007-09-04 09:43:40 +00:00
aCaB
95e31dc77b General "tidy" and some algo hacks.
Old and inefficient sue cryptor replaced with a signature.



git-svn: trunk@3202
2007-09-04 00:38:30 +00:00
Tomasz Kojm
868a6c5004 fix compilation error
git-svn: trunk@3198
2007-08-31 20:49:11 +00:00
Tomasz Kojm
a7ac59781d various cleanups; fix bb#577 (move cli_* out of clamav.h)
git-svn: trunk@3196
2007-08-31 19:55:09 +00:00