Vsevolod Stakhov
f879e676a2
[Fix] Another try to fix rspamd_text passing in the selectors
Suggested by: @citrin
2 yıl önce
Vsevolod Stakhov
1e373d37b4
[Minor] Free the allocated and not modified key
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
42bdabaf65
[Minor] Explain unobvious code
2 yıl önce
Vsevolod Stakhov
86e6cb7edb
[Minor] Fix use after free
Reported by: @citrin
2 yıl önce
Vsevolod Stakhov
1e9750de35
[Fix] Fix passing of rspamd_text in selectors pipelines
2 yıl önce
Vsevolod Stakhov
3d94db91d6
[Minor] Fix format string...
2 yıl önce
Vsevolod Stakhov
001881829f
Merge pull request #3902 from citrin/warnings
[Minor] Fix compiler warnings in src/libutil/util.c
2 yıl önce
Vsevolod Stakhov
384e037f52
[Minor] Fix some more issues
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
b31bf8d584
[Minor] Qualify C++ enum
2 yıl önce
Vsevolod Stakhov
7fee396041
[Minor] Fix some more issues
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
077cee7733
[Minor] Fix more error paths in Lua
Found by: coverity scan
2 yıl önce
Anton Yuzhaninov
1bb4bec6be
[Minor] Improve readability of recently changed rspamc code
2 yıl önce
Anton Yuzhaninov
c961731c94
[Minor] Fix compiler warnings in src/libutil/util.c
src/libutil/util.c:1362:7: warning: unused variable 'len' [-Wunused-variable]
gint len = 0;
^
src/libutil/util.c:1363:8: warning: unused variable 'pass' [-Wunused-variable]
gchar pass[BUFSIZ];
^
2 warnings generated.
2 yıl önce
Anton Yuzhaninov
8e8c92c0ca
[Fix] buffer overflow in rspamc counters
If request to /counters returns no symbols then max_len would have
a negative value:
Results for command: counters (0.003 seconds)
=================================================================
==22096==ERROR: AddressSanitizer: negative-size-param: (size=-2147483604)
#0 0x33ff13 in __asan_memset (/usr/bin/rspamc+0x33ff13)
#1 0x383432 in rspamc_counters_output /usr/src/debug/rspamd/src/client/rspamc.c:1064:2
#2 0x388c49 in rspamc_client_cb /usr/src/debug/rspamd/src/client/rspamc.c:1600:6
...
2 yıl önce
Vsevolod Stakhov
4768b36e4d
[Minor] Remove bogus condition
2 yıl önce
Vsevolod Stakhov
1f60a90e18
[Minor] Fix macro name
Reported by: @citrin
2 yıl önce
Vsevolod Stakhov
90848cca7a
[Fix] Fix rubbish QP sequences decoding
2 yıl önce
Vsevolod Stakhov
cae3206e6d
[Test] Add tests for broken qp decoding
2 yıl önce
Vsevolod Stakhov
79f1c60519
Merge pull request #3899 from citrin/cmake-cleanup
[Minor] Cleanup unused cmake checks
2 yıl önce
Anton Yuzhaninov
4d9846823f
[Minor] Cleanup unused cmake checks
2 yıl önce
Vsevolod Stakhov
5e8c168fcc
[Minor] Oops, fix emplacement
2 yıl önce
Vsevolod Stakhov
19424515ec
[Minor] Fix some leaks on error paths
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
b5a184a0f8
[Fix] Fix hash table lookup
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
416da198db
[Minor] Some minor cleanups
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
cd50e7bd57
[Minor] Fix some more issues
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
907cc2eb61
[Minor] Fix more issues in libmime
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
4041c2d640
[Minor] Plug some leaks on error paths
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
1589bd19ff
[Minor] Use the proper variable in debug
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
4fe7b62b33
[Minor] Do not read extra byte of garbadge
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
52041f014b
[Minor] Fix some double frees
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
0832f067cb
[Minor] Remove dead loop
2 yıl önce
Vsevolod Stakhov
e00abd7047
[Minor] Fix some dead ends
Found by: coverity scan
2 yıl önce
Vsevolod Stakhov
b714690605
[Minor] Fix error path varargs handling
Found by: coverity
2 yıl önce
Vsevolod Stakhov
51eefb68d5
[Feature] Antivirus: Allow to set fake eicar patterns for testing AV engines
2 yıl önce
Vsevolod Stakhov
6f5881e0bb
[Minor] Escape \uFFFD in the sources
2 yıl önce
Vsevolod Stakhov
76a470911b
Merge pull request #3894 from citrin/bitcoin-lua-opt
[Minor] Skip bitcoin address check for very long words
2 yıl önce
Anton Yuzhaninov
98b205709f
[Minor] Skip bitcoin address check for very long words
Exclude very long words (which can be extracted e. g. from some text
attachments) from bitcoin address check to avoid excessive resource
usage.
2 yıl önce
Vsevolod Stakhov
21a1720ac3
[Minor] One more polishing thing
2 yıl önce
Vsevolod Stakhov
c2cdf7ceb0
[Minor] Fix unregistration of the context and improve logging
2 yıl önce
Vsevolod Stakhov
7a1db4723f
[Minor] Fix list splice
2 yıl önce
Vsevolod Stakhov
69b9f040bc
Merge pull request #3892 from fatalbanana/friendlier_tests
[Test] Avoid importing user configuration
2 yıl önce
Andrew Lewis
7077b64c23
[Test] Avoid importing user configuration
2 yıl önce
Vsevolod Stakhov
ec76c1fc65
[Minor] Add attribute noreturn to start_hs_helper function
Suggested by: @citrin
2 yıl önce
Vsevolod Stakhov
65f36ff3e6
Merge pull request #3891 from fatalbanana/doxydown
[Minor] Update embedded doxydown
2 yıl önce
Andrew Lewis
7bd2277947
[Minor] Update embedded doxydown
- To fix nested lists
2 yıl önce
Vsevolod Stakhov
b60c77b2c0
Merge pull request #3890 from fatalbanana/docs
[Minor] Updates for API documentation
2 yıl önce
Andrew Lewis
4b9d98c086
[Minor] Updates for API documentation
- Put nested lists on the correct level
- Document more symbol type options
- Try be clearer about dependencies
2 yıl önce
Vsevolod Stakhov
7f9da78d17
[Minor] One more try to fix the release order
2 yıl önce
Vsevolod Stakhov
df9ee0b1ca
[Minor] Do not unref what's not been refed
2 yıl önce
Vsevolod Stakhov
9cfb64d5af
[Minor] Another try to fight with hiredis...
2 yıl önce