]> source.dussan.org Git - rspamd.git/log
rspamd.git
9 months agoMerge pull request #4789 from fatalbanana/per_user_test
Vsevolod Stakhov [Thu, 25 Jan 2024 08:40:38 +0000 (14:40 +0600)]
Merge pull request #4789 from fatalbanana/per_user_test

[Test] statistics: per-user

9 months ago[Test] statistics: per-user 4789/head
Andrew Lewis [Wed, 24 Jan 2024 23:58:50 +0000 (01:58 +0200)]
[Test] statistics: per-user

9 months ago[Minor] Fix old test
Vsevolod Stakhov [Wed, 24 Jan 2024 16:18:58 +0000 (16:18 +0000)]
[Minor] Fix old test

9 months ago[Fix] Fix learning with long prefixes
Vsevolod Stakhov [Wed, 24 Jan 2024 14:44:12 +0000 (14:44 +0000)]
[Fix] Fix learning with long prefixes

Issue: #4786
Closes: #4786
9 months ago[Fix] Fix headers insertion in the ordered list
Vsevolod Stakhov [Mon, 22 Jan 2024 19:07:50 +0000 (19:07 +0000)]
[Fix] Fix headers insertion in the ordered list

10 months ago[Fix] Fix learn error propagation
Vsevolod Stakhov [Mon, 22 Jan 2024 14:36:12 +0000 (14:36 +0000)]
[Fix] Fix learn error propagation

10 months ago[Minor] Add some convenience methods
Vsevolod Stakhov [Mon, 22 Jan 2024 14:35:48 +0000 (14:35 +0000)]
[Minor] Add some convenience methods

10 months ago[Fix] Fix storing of the bayes tokens
Vsevolod Stakhov [Mon, 22 Jan 2024 14:18:34 +0000 (14:18 +0000)]
[Fix] Fix storing of the bayes tokens

10 months agoMerge pull request #4785 from arkamar/lua-maps-nested-comment
Vsevolod Stakhov [Mon, 22 Jan 2024 13:57:31 +0000 (19:57 +0600)]
Merge pull request #4785 from arkamar/lua-maps-nested-comment

[Fix] Replace comment types

10 months ago[Minor] Fix typo in comment 4785/head
Petr Vaněk [Mon, 22 Jan 2024 10:38:02 +0000 (11:38 +0100)]
[Minor] Fix typo in comment

10 months ago[Fix] Use short comments rather than long one
Petr Vaněk [Sat, 20 Jan 2024 14:22:22 +0000 (15:22 +0100)]
[Fix] Use short comments rather than long one

Rspamd fails to start with Lua-5.1 because long comment does not allow
nesting, see [1]. This change replaces it to short comments in order to
fix the issue but preserves this part as comment in docs.

[1] https://www.lua.org/manual/5.1/manual.html#7.1

Bug: https://bugs.gentoo.org/922522
Fixes: b189c9fea633 ("[Minor] lua_maps docs: apply formatting")
Fixes: https://github.com/rspamd/rspamd/issues/4784
10 months ago[Minor] Update version to 3.8.1
Vsevolod Stakhov [Fri, 19 Jan 2024 12:46:21 +0000 (12:46 +0000)]
[Minor] Update version to 3.8.1

10 months agoRelease 3.8.0 3.8.0
Vsevolod Stakhov [Fri, 19 Jan 2024 12:45:07 +0000 (12:45 +0000)]
Release 3.8.0

* [Project] Rspamadm fuzzyping command
* [Project] Use Redis scripts for Bayes statistics and cache
* [Project] Support  JSON logging
* [CritFix] - Fix reported length of logging structure
* [Feature] Allow to set `max_users` for Redis bayes backend
* [Feature] Escape JSON when needed
* [Feature] Proxy: Allow `encrypted_only` option
* [Feature] Reiterate on gtube patterns
* [Feature] Support ping command in fuzzy storage
* [Feature] Support suppressing DMARC reporting for particular recipients
* [Feature] rbl: support disabling or replacing url_whitelist per RBL
* [Fix] Another try to fix setproctitle
* [Fix] Cleanup session on exit
* [Fix] Do not cleanup hyperscan files unless new ones are loaded
* [Fix] Fix bad access when printing pending events on failure path
* [Fix] Fix issues with the raw header on header insertion/modification
* [Fix] Fix overflow in fuzzy_stats command
* [Fix] Fix some corner cases when parsing maps with no newlines
* [Fix] Fix various issues with canonicalisation of the paths
* [Fix] Fix wrong raw_len usage
* [Fix] Make words selection random deterministic upon content
* [Fix] Properly set config field when creating tasks from Lua
* [Fix] Really fix the language detector statistical heuristic
* [Fix] Set loaded variable explicitly
* [Fix] dkim_signing: siging_table: lowercase before lookup
* [Fix] known_senders: fix config handling
* [Fix] rbl: fix `exclude_local`

10 months agoMerge pull request #4781 from fatalbanana/multimap_rawtext
Vsevolod Stakhov [Fri, 19 Jan 2024 12:33:09 +0000 (18:33 +0600)]
Merge pull request #4781 from fatalbanana/multimap_rawtext

[Fix] multimap: rawtext: use decoded parts

10 months ago[Minor] Print some more stats
Vsevolod Stakhov [Fri, 19 Jan 2024 10:11:05 +0000 (10:11 +0000)]
[Minor] Print some more stats

10 months ago[Fix] multimap: rawtext: use decoded parts 4781/head
Andrew Lewis [Fri, 19 Jan 2024 07:40:51 +0000 (09:40 +0200)]
[Fix] multimap: rawtext: use decoded parts

10 months ago[Minor] Fix OSX build with backwards
Vsevolod Stakhov [Thu, 18 Jan 2024 14:28:36 +0000 (14:28 +0000)]
[Minor] Fix OSX build with backwards

Issue: #4752

10 months ago[Test] Remove some invalid tests for 32 bit platforms
Vsevolod Stakhov [Thu, 18 Jan 2024 14:25:52 +0000 (14:25 +0000)]
[Test] Remove some invalid tests for 32 bit platforms

Issue: #4754

10 months ago[Fix] Really fix the language detector statistical heuristic
Vsevolod Stakhov [Thu, 18 Jan 2024 14:13:41 +0000 (14:13 +0000)]
[Fix] Really fix the language detector statistical heuristic

10 months ago[Fix] Make words selection random deterministic upon content
Vsevolod Stakhov [Thu, 18 Jan 2024 14:00:44 +0000 (14:00 +0000)]
[Fix] Make words selection random deterministic upon content

10 months ago[Minor] Cleanup
Vsevolod Stakhov [Thu, 18 Jan 2024 13:18:09 +0000 (13:18 +0000)]
[Minor] Cleanup

10 months agoMerge pull request #4774 from rspamd/vstakhov-redis-cache-rework
Vsevolod Stakhov [Wed, 17 Jan 2024 15:27:24 +0000 (21:27 +0600)]
Merge pull request #4774 from rspamd/vstakhov-redis-cache-rework

Rewrite redis_cache logic in statistics

10 months ago[Minor] Remove special handling 4774/head
Vsevolod Stakhov [Wed, 17 Jan 2024 15:11:07 +0000 (15:11 +0000)]
[Minor] Remove special handling

10 months ago[Project] Some more work with regard to configuration
Vsevolod Stakhov [Wed, 17 Jan 2024 15:08:19 +0000 (15:08 +0000)]
[Project] Some more work with regard to configuration

10 months ago[Project] Final things on redis cache rework
Vsevolod Stakhov [Wed, 17 Jan 2024 14:48:24 +0000 (14:48 +0000)]
[Project] Final things on redis cache rework

10 months ago[Project] Add cache config
Vsevolod Stakhov [Tue, 16 Jan 2024 16:17:36 +0000 (16:17 +0000)]
[Project] Add cache config

10 months ago[Minor] Fix scripts invocation
Vsevolod Stakhov [Mon, 15 Jan 2024 15:25:23 +0000 (15:25 +0000)]
[Minor] Fix scripts invocation

10 months ago[Project] Further rework of the C part
Vsevolod Stakhov [Mon, 15 Jan 2024 15:02:44 +0000 (15:02 +0000)]
[Project] Further rework of the C part

10 months ago[Project] Initial implementation of the lua counterpart
Vsevolod Stakhov [Fri, 12 Jan 2024 15:41:11 +0000 (15:41 +0000)]
[Project] Initial implementation of the lua counterpart

10 months ago[Minor] Rework redis servers config parsing
Vsevolod Stakhov [Fri, 12 Jan 2024 14:53:06 +0000 (14:53 +0000)]
[Minor] Rework redis servers config parsing

10 months agoMerge pull request #4775 from fatalbanana/robot
Vsevolod Stakhov [Fri, 12 Jan 2024 14:04:55 +0000 (20:04 +0600)]
Merge pull request #4775 from fatalbanana/robot

[Test] Fix tests on Robot Framework 7.0

10 months ago[Test] Fix tests on Robot Framework 7.0 4775/head
Andrew Lewis [Fri, 12 Jan 2024 11:09:37 +0000 (13:09 +0200)]
[Test] Fix tests on Robot Framework 7.0

10 months ago[Rework] Start rewriting of the redis cache logic
Vsevolod Stakhov [Thu, 11 Jan 2024 15:10:16 +0000 (15:10 +0000)]
[Rework] Start rewriting of the redis cache logic

10 months agoMerge pull request #4772 from fatalbanana/dmarc_pingpong
Vsevolod Stakhov [Wed, 10 Jan 2024 14:36:00 +0000 (20:36 +0600)]
Merge pull request #4772 from fatalbanana/dmarc_pingpong

[Feature] Support suppressing DMARC reporting for particular recipients

10 months ago[Feature] Support suppressing DMARC reporting for particular recipients 4772/head
Andrew Lewis [Wed, 10 Jan 2024 13:38:39 +0000 (15:38 +0200)]
[Feature] Support suppressing DMARC reporting for particular recipients

10 months agoMerge pull request #4767 from fatalbanana/logging_tests_more
Vsevolod Stakhov [Wed, 3 Jan 2024 04:45:02 +0000 (10:45 +0600)]
Merge pull request #4767 from fatalbanana/logging_tests_more

[Test] Some more tests for logging

10 months ago[Test] Some more tests for logging 4767/head
Andrew Lewis [Mon, 1 Jan 2024 14:01:50 +0000 (16:01 +0200)]
[Test] Some more tests for logging

10 months agoMerge pull request #4766 from moisseev/webui
Vsevolod Stakhov [Mon, 1 Jan 2024 08:10:50 +0000 (14:10 +0600)]
Merge pull request #4766 from moisseev/webui

[WebUI] Normalize IPv4 for column sorting

10 months ago[WebUI] Normalize IPv4 for column sorting 4766/head
moisseev [Sun, 31 Dec 2023 16:04:09 +0000 (19:04 +0300)]
[WebUI] Normalize IPv4 for column sorting

10 months agoMerge pull request #4765 from moisseev/webui
Vsevolod Stakhov [Sun, 31 Dec 2023 11:40:33 +0000 (17:40 +0600)]
Merge pull request #4765 from moisseev/webui

[WebUI] Show message size in IEC (base 1024) units

10 months ago[Project] Implement text tokens storage on C++ side
Vsevolod Stakhov [Sat, 30 Dec 2023 21:37:42 +0000 (21:37 +0000)]
[Project] Implement text tokens storage on C++ side

10 months ago[Project] Add store tokens support in new bayes learn
Vsevolod Stakhov [Sat, 30 Dec 2023 21:06:46 +0000 (21:06 +0000)]
[Project] Add store tokens support in new bayes learn

10 months ago[WebUI] Show message size in IEC (base 1024) units 4765/head
moisseev [Sat, 30 Dec 2023 15:06:40 +0000 (18:06 +0300)]
[WebUI] Show message size in IEC (base 1024) units

10 months agoMerge pull request #4764 from jvoisin/anullptr
Vsevolod Stakhov [Sat, 30 Dec 2023 09:56:06 +0000 (09:56 +0000)]
Merge pull request #4764 from jvoisin/anullptr

[Fix] Fix an overzealous s/NULL/nullptr/g

10 months agoUpdate cfg_utils.cxx 4764/head
Julien Voisin [Fri, 29 Dec 2023 16:15:00 +0000 (17:15 +0100)]
Update cfg_utils.cxx

Fix another dumb s/NULL/nullptr/g

10 months agoUpdate cfg_rcl.cxx
Julien Voisin [Fri, 29 Dec 2023 16:13:14 +0000 (17:13 +0100)]
Update cfg_rcl.cxx

Fixed an overzealous s/NULL/nullptr/g

10 months ago[Minor] Combine history table column definitions
moisseev [Fri, 29 Dec 2023 10:32:37 +0000 (13:32 +0300)]
[Minor] Combine history table column definitions

10 months agoMerge pull request #4762 from moisseev/webui
Vsevolod Stakhov [Thu, 28 Dec 2023 12:38:28 +0000 (12:38 +0000)]
Merge pull request #4762 from moisseev/webui

[Minor] Move common stuff to separate files

10 months ago[WebUI] Tweak scan result layout for small devices 4762/head
moisseev [Thu, 28 Dec 2023 11:31:49 +0000 (14:31 +0300)]
[WebUI] Tweak scan result layout for small devices

10 months ago[Minor] Move common stuff to separate files
moisseev [Wed, 27 Dec 2023 12:22:23 +0000 (15:22 +0300)]
[Minor] Move common stuff to separate files

10 months agoMerge pull request #4759 from moisseev/hfilter
Vsevolod Stakhov [Wed, 27 Dec 2023 10:33:08 +0000 (10:33 +0000)]
Merge pull request #4759 from moisseev/hfilter

[Minor] Fix typo in hfilter map

10 months agoMerge pull request #4761 from fatalbanana/debian_postinst
Vsevolod Stakhov [Tue, 26 Dec 2023 16:01:17 +0000 (16:01 +0000)]
Merge pull request #4761 from fatalbanana/debian_postinst

[Minor] debian: add missing stuff to rspamd-asan package

10 months ago[Minor] debian: add missing stuff to rspamd-asan package 4761/head
Andrew Lewis [Tue, 26 Dec 2023 14:01:26 +0000 (16:01 +0200)]
[Minor] debian: add missing stuff to rspamd-asan package

10 months ago[Dep] Update unordered_dense to 4.4.0
Vsevolod Stakhov [Mon, 25 Dec 2023 09:28:14 +0000 (09:28 +0000)]
[Dep] Update unordered_dense to 4.4.0

10 months agoMerge pull request #4758 from moisseev/webui
Vsevolod Stakhov [Sun, 24 Dec 2023 15:57:35 +0000 (15:57 +0000)]
Merge pull request #4758 from moisseev/webui

[WebUI] Show pass-through module in scan result

10 months ago[Minor] Fix typo in hfilter map 4759/head
moisseev [Sun, 24 Dec 2023 11:20:58 +0000 (14:20 +0300)]
[Minor] Fix typo in hfilter map

10 months ago[Minor] Set FooTable cell font size with CSS 4758/head
moisseev [Sun, 24 Dec 2023 11:12:52 +0000 (14:12 +0300)]
[Minor] Set FooTable cell font size with CSS

instead of column options

10 months ago[WebUI] Show pass-through module in scan result
moisseev [Sun, 24 Dec 2023 07:10:05 +0000 (10:10 +0300)]
[WebUI] Show pass-through module in scan result

11 months agoMerge pull request #4757 from moisseev/allow-local
Vsevolod Stakhov [Fri, 22 Dec 2023 15:02:00 +0000 (15:02 +0000)]
Merge pull request #4757 from moisseev/allow-local

[Minor] Log a debug message when ratelimit skipped

11 months ago[Minor] Log a debug message when ratelimit skipped 4757/head
moisseev [Fri, 22 Dec 2023 10:44:42 +0000 (13:44 +0300)]
[Minor] Log a debug message when ratelimit skipped

for a local request

11 months agoMerge pull request #4755 from fatalbanana/ratelimit_symbol
Vsevolod Stakhov [Thu, 21 Dec 2023 12:43:24 +0000 (12:43 +0000)]
Merge pull request #4755 from fatalbanana/ratelimit_symbol

[Minor] ratelimit: make per-bucket symbol behave like global symbol

11 months ago[Minor] ratelimit: make per-bucket symbol behave like global symbol 4755/head
Andrew Lewis [Thu, 21 Dec 2023 11:11:11 +0000 (13:11 +0200)]
[Minor] ratelimit: make per-bucket symbol behave like global symbol

11 months agoMerge pull request #4750 from fatalbanana/docs_rspamd_html
Vsevolod Stakhov [Mon, 18 Dec 2023 18:40:55 +0000 (18:40 +0000)]
Merge pull request #4750 from fatalbanana/docs_rspamd_html

[Minor] docs: rspamd_html: fix some copypasta

11 months ago[Minor] docs: rspamd_html: fix some copypasta 4750/head
Andrew Lewis [Mon, 18 Dec 2023 15:19:26 +0000 (17:19 +0200)]
[Minor] docs: rspamd_html: fix some copypasta

11 months agoMerge pull request #4749 from moisseev/webui
Vsevolod Stakhov [Sun, 17 Dec 2023 22:56:17 +0000 (22:56 +0000)]
Merge pull request #4749 from moisseev/webui

[WebUI] Send only altered symbols in save requests

11 months ago[WebUI] Send only altered symbols in save requests 4749/head
moisseev [Sat, 16 Dec 2023 17:31:52 +0000 (20:31 +0300)]
[WebUI] Send only altered symbols in save requests

11 months agoMerge pull request #4748 from moisseev/webui
Vsevolod Stakhov [Fri, 15 Dec 2023 15:03:07 +0000 (15:03 +0000)]
Merge pull request #4748 from moisseev/webui

[WebUI] Symbols: replace individual save buttons

11 months ago[Minor] Remove stupid threshold for saving symbol value
Vsevolod Stakhov [Fri, 15 Dec 2023 14:50:13 +0000 (14:50 +0000)]
[Minor] Remove stupid threshold for saving symbol value

11 months agoMerge pull request #4747 from fatalbanana/minor
Vsevolod Stakhov [Fri, 15 Dec 2023 14:47:12 +0000 (14:47 +0000)]
Merge pull request #4747 from fatalbanana/minor

[Minor] rbl: revisit previous change

11 months ago[WebUI] Symbols: replace individual save buttons 4748/head
moisseev [Fri, 15 Dec 2023 14:30:25 +0000 (17:30 +0300)]
[WebUI] Symbols: replace individual save buttons

with a sticky group

11 months ago[Minor] rbl: revisit previous change 4747/head
Andrew Lewis [Fri, 15 Dec 2023 13:02:52 +0000 (15:02 +0200)]
[Minor] rbl: revisit previous change

11 months ago[Minor] Another issue
Vsevolod Stakhov [Thu, 14 Dec 2023 17:02:11 +0000 (17:02 +0000)]
[Minor] Another issue

11 months ago[Minor] Uh-oh...
Vsevolod Stakhov [Thu, 14 Dec 2023 16:53:19 +0000 (16:53 +0000)]
[Minor] Uh-oh...

11 months ago[Minor] Set proper size
Vsevolod Stakhov [Thu, 14 Dec 2023 16:46:39 +0000 (16:46 +0000)]
[Minor] Set proper size

11 months ago[Minor] Fix build
Vsevolod Stakhov [Thu, 14 Dec 2023 16:38:56 +0000 (16:38 +0000)]
[Minor] Fix build

11 months ago[Project] Try to do strings concatenation in C
Vsevolod Stakhov [Thu, 14 Dec 2023 16:34:35 +0000 (16:34 +0000)]
[Project] Try to do strings concatenation in C

11 months ago[Feature] Proxy: Allow `encrypted_only` option
Vsevolod Stakhov [Thu, 14 Dec 2023 15:09:38 +0000 (15:09 +0000)]
[Feature] Proxy: Allow `encrypted_only` option

11 months agoMerge pull request #4743 from fatalbanana/rbl_luapatterns_again
Vsevolod Stakhov [Wed, 13 Dec 2023 12:20:21 +0000 (12:20 +0000)]
Merge pull request #4743 from fatalbanana/rbl_luapatterns_again

[Minor] rbl: try harder to identify lua patterns

11 months ago[Minor] rbl: try harder to identify lua patterns 4743/head
Andrew Lewis [Wed, 13 Dec 2023 10:13:06 +0000 (12:13 +0200)]
[Minor] rbl: try harder to identify lua patterns

11 months agoMerge pull request #4742 from fatalbanana/rbl_url_whitelist
Vsevolod Stakhov [Tue, 12 Dec 2023 23:03:22 +0000 (23:03 +0000)]
Merge pull request #4742 from fatalbanana/rbl_url_whitelist

[Feature] rbl: support disabling or replacing url_whitelist per RBL

11 months ago[Feature] rbl: support disabling or replacing url_whitelist per RBL 4742/head
Andrew Lewis [Tue, 12 Dec 2023 20:53:23 +0000 (22:53 +0200)]
[Feature] rbl: support disabling or replacing url_whitelist per RBL

11 months agoMerge pull request #4739 from fatalbanana/bayes_redis
Vsevolod Stakhov [Tue, 12 Dec 2023 14:50:57 +0000 (14:50 +0000)]
Merge pull request #4739 from fatalbanana/bayes_redis

[Minor] Have bayes use global redis settings

11 months ago[Minor] Have bayes use global redis settings 4739/head
Andrew Lewis [Tue, 12 Dec 2023 07:52:45 +0000 (09:52 +0200)]
[Minor] Have bayes use global redis settings

11 months ago[Minor] Fix learned stats
Vsevolod Stakhov [Mon, 11 Dec 2023 14:58:25 +0000 (14:58 +0000)]
[Minor] Fix learned stats

11 months ago[Minor] Link runtime to the proper statfile context
Vsevolod Stakhov [Mon, 11 Dec 2023 14:38:20 +0000 (14:38 +0000)]
[Minor] Link runtime to the proper statfile context

11 months agoMerge pull request #4718 from rspamd/vstakhov-bayes-rework
Vsevolod Stakhov [Sun, 10 Dec 2023 18:58:20 +0000 (18:58 +0000)]
Merge pull request #4718 from rspamd/vstakhov-bayes-rework

Migrate bayes redis backend to Lua scripts

11 months agoMerge pull request #4735 from moisseev/webui
Vsevolod Stakhov [Sat, 9 Dec 2023 14:58:04 +0000 (14:58 +0000)]
Merge pull request #4735 from moisseev/webui

[Test] Remove deprecated Stylelint rule

11 months ago[Test] Remove deprecated Stylelint rule 4735/head
moisseev [Sat, 9 Dec 2023 14:49:20 +0000 (17:49 +0300)]
[Test] Remove deprecated Stylelint rule

11 months ago[Project] Add some stats 4718/head
Vsevolod Stakhov [Fri, 8 Dec 2023 16:51:04 +0000 (16:51 +0000)]
[Project] Add some stats

11 months agoMerge pull request #4732 from AdamMajer/logging_fix
Vsevolod Stakhov [Fri, 8 Dec 2023 12:28:44 +0000 (12:28 +0000)]
Merge pull request #4732 from AdamMajer/logging_fix

[CritFix] - Fix reported length of logging structure

11 months agoMerge pull request #4733 from fatalbanana/systemd_test
Vsevolod Stakhov [Fri, 8 Dec 2023 12:28:09 +0000 (12:28 +0000)]
Merge pull request #4733 from fatalbanana/systemd_test

[Test] Test systemd logging

11 months ago[Test] Test systemd logging 4733/head
Andrew Lewis [Fri, 8 Dec 2023 10:51:08 +0000 (12:51 +0200)]
[Test] Test systemd logging

11 months ago[Project] Various fixes
Vsevolod Stakhov [Fri, 8 Dec 2023 10:48:53 +0000 (10:48 +0000)]
[Project] Various fixes

11 months ago[Project] Fix compile issues and rework in more C++ style
Vsevolod Stakhov [Fri, 8 Dec 2023 09:45:38 +0000 (09:45 +0000)]
[Project] Fix compile issues and rework in more C++ style

11 months ago[Rework] Use strings for int64_t
Vsevolod Stakhov [Fri, 8 Dec 2023 09:33:57 +0000 (09:33 +0000)]
[Rework] Use strings for int64_t

It seems there is no easy way to use int64 in Redis Lua, hence, we have
to use strings. It's much more expensive but still some advantage over
the previous schema.

11 months ago[Minor] Fix keys name
Vsevolod Stakhov [Fri, 8 Dec 2023 09:19:05 +0000 (09:19 +0000)]
[Minor] Fix keys name

11 months agoMerge pull request #4730 from moisseev/webui
Vsevolod Stakhov [Fri, 8 Dec 2023 09:13:26 +0000 (09:13 +0000)]
Merge pull request #4730 from moisseev/webui

[Test] Unbreak ESLint

11 months ago[CritFix] - Fix reported length of logging structure 4732/head
Adam Majer [Thu, 7 Dec 2023 14:23:10 +0000 (15:23 +0100)]
[CritFix] - Fix reported length of logging structure

The logging code contains one place where the apparent size of the
logging structure is defined and then it's actually utilized in another
place. Re-writes and refactoring this code ended up with these
values to not co-relate what was previously there resulting in a stack
overwrite in last version or currently in log truncation.

Move assignment of logging structure to the place where it's actually
used, reducing future logic de-sync dangers. Also move the g_assert() to
the end as it should be a development aid only.

11 months ago[Project] Add some basic learning
Vsevolod Stakhov [Thu, 7 Dec 2023 15:40:08 +0000 (15:40 +0000)]
[Project] Add some basic learning

11 months ago[Minor] Remove obsoleted code, phew
Vsevolod Stakhov [Thu, 7 Dec 2023 15:04:52 +0000 (15:04 +0000)]
[Minor] Remove obsoleted code, phew