aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [Minor] Rework to fix issues in Lua APIVsevolod Stakhov2021-09-255-26/+60
| | | | Found by: coverity scan
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-255-7/+46
| | | | Found by: coverity scan
* [Fix] Remove bogus G_LIKELYVsevolod Stakhov2021-09-251-2/+2
|
* [Minor] Remove unreachable codeVsevolod Stakhov2021-09-252-15/+3
|
* [Minor] Ensure that Redis inactive connections are well maintainedVsevolod Stakhov2021-09-231-1/+4
|
* [Fix] Try to use on_connect/on_disconnect callbacks to handle internal Redis ↵Vsevolod Stakhov2021-09-231-0/+36
| | | | failures
* [Minor] Free the proper pointerVsevolod Stakhov2021-09-231-1/+1
|
* Merge pull request #3901 from citrin/rspamcVsevolod Stakhov2021-09-221-5/+5
|\ | | | | [Fix] buffer overflow in rspamc counters
| * [Minor] Improve readability of recently changed rspamc codeAnton Yuzhaninov2021-09-211-6/+4
| |
| * [Fix] buffer overflow in rspamc countersAnton Yuzhaninov2021-09-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 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 ...
* | [Fix] Fix parsing of the from_hostname when it is an IP addressVsevolod Stakhov2021-09-221-1/+30
| |
* | [Minor] Free the allocated and not modified keyVsevolod Stakhov2021-09-221-28/+28
| | | | | | | | Found by: coverity scan
* | [Minor] Explain unobvious codeVsevolod Stakhov2021-09-211-1/+4
| |
* | [Minor] Fix use after freeVsevolod Stakhov2021-09-211-3/+3
| | | | | | | | Reported by: @citrin
* | [Minor] Fix format string...Vsevolod Stakhov2021-09-211-1/+1
| |
* | Merge pull request #3902 from citrin/warningsVsevolod Stakhov2021-09-211-4/+1
|\ \ | | | | | | [Minor] Fix compiler warnings in src/libutil/util.c
| * | [Minor] Fix compiler warnings in src/libutil/util.cAnton Yuzhaninov2021-09-211-4/+1
| |/ | | | | | | | | | | | | | | | | | | 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.
* | [Minor] Fix some more issuesVsevolod Stakhov2021-09-213-13/+19
| | | | | | | | Found by: coverity scan
* | [Minor] Qualify C++ enumVsevolod Stakhov2021-09-211-15/+15
| |
* | [Minor] Fix some more issuesVsevolod Stakhov2021-09-216-20/+27
| | | | | | | | Found by: coverity scan
* | [Minor] Fix more error paths in LuaVsevolod Stakhov2021-09-211-0/+9
|/ | | | Found by: coverity scan
* [Minor] Fix macro nameVsevolod Stakhov2021-09-201-1/+1
| | | | Reported by: @citrin
* [Fix] Fix rubbish QP sequences decodingVsevolod Stakhov2021-09-201-9/+37
|
* [Minor] Cleanup unused cmake checksAnton Yuzhaninov2021-09-201-3/+0
|
* [Minor] Oops, fix emplacementVsevolod Stakhov2021-09-191-1/+1
|
* [Minor] Fix some leaks on error pathsVsevolod Stakhov2021-09-1911-55/+121
| | | | Found by: coverity scan
* [Fix] Fix hash table lookupVsevolod Stakhov2021-09-191-1/+1
| | | | Found by: coverity scan
* [Minor] Some minor cleanupsVsevolod Stakhov2021-09-194-14/+15
| | | | Found by: coverity scan
* [Minor] Fix some more issuesVsevolod Stakhov2021-09-185-7/+35
| | | | Found by: coverity scan
* [Minor] Fix more issues in libmimeVsevolod Stakhov2021-09-183-10/+16
| | | | Found by: coverity scan
* [Minor] Plug some leaks on error pathsVsevolod Stakhov2021-09-1813-13/+44
| | | | Found by: coverity scan
* [Minor] Use the proper variable in debugVsevolod Stakhov2021-09-181-1/+1
| | | | Found by: coverity scan
* [Minor] Do not read extra byte of garbadgeVsevolod Stakhov2021-09-171-3/+3
| | | | Found by: coverity scan
* [Minor] Fix some double freesVsevolod Stakhov2021-09-173-1/+4
| | | | Found by: coverity scan
* [Minor] Remove dead loopVsevolod Stakhov2021-09-171-12/+8
|
* [Minor] Fix some dead endsVsevolod Stakhov2021-09-171-0/+1
| | | | Found by: coverity scan
* [Minor] Fix error path varargs handlingVsevolod Stakhov2021-09-171-0/+2
| | | | Found by: coverity
* [Feature] Antivirus: Allow to set fake eicar patterns for testing AV enginesVsevolod Stakhov2021-09-171-1/+23
|
* [Minor] Escape \uFFFD in the sourcesVsevolod Stakhov2021-09-172-4/+4
|
* [Minor] One more polishing thingVsevolod Stakhov2021-09-161-3/+3
|
* [Minor] Fix unregistration of the context and improve loggingVsevolod Stakhov2021-09-161-11/+14
|
* [Minor] Fix list spliceVsevolod Stakhov2021-09-161-1/+1
|
* [Minor] Add attribute noreturn to start_hs_helper functionVsevolod Stakhov2021-09-141-1/+1
| | | | Suggested by: @citrin
* Merge pull request #3890 from fatalbanana/docsVsevolod Stakhov2021-09-141-18/+26
|\ | | | | [Minor] Updates for API documentation
| * [Minor] Updates for API documentationAndrew Lewis2021-09-141-18/+26
| | | | | | | | | | | | - Put nested lists on the correct level - Document more symbol type options - Try be clearer about dependencies
* | [Minor] One more try to fix the release orderVsevolod Stakhov2021-09-131-5/+5
| |
* | [Minor] Do not unref what's not been refedVsevolod Stakhov2021-09-131-1/+1
| |
* | [Minor] Another try to fight with hiredis...Vsevolod Stakhov2021-09-131-48/+63
| |
* | [Minor] Add one more check for use-after-free preventionVsevolod Stakhov2021-09-131-2/+2
| |
* | [Minor] Allow to capture upstream objectVsevolod Stakhov2021-09-134-5/+32
| |