diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-25 13:11:31 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-08-25 13:11:31 +0100 |
commit | 1624cdd029f4865dcd90e876b0c4968fa9c6bb40 (patch) | |
tree | 740f2ae699dab3b6460af6808ee34609e0709e7f /src/ragel | |
parent | 23f831e0c58959e22c24ecd2bbd21a8a91183823 (diff) | |
download | rspamd-1624cdd029f4865dcd90e876b0c4968fa9c6bb40.tar.gz rspamd-1624cdd029f4865dcd90e876b0c4968fa9c6bb40.zip |
[CritFix] Fix issue with finding of end of lines pointers
Diffstat (limited to 'src/ragel')
-rw-r--r-- | src/ragel/newlines_strip.rl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ragel/newlines_strip.rl b/src/ragel/newlines_strip.rl index a0e239bc3..d5de198a5 100644 --- a/src/ragel/newlines_strip.rl +++ b/src/ragel/newlines_strip.rl @@ -40,7 +40,7 @@ } (*newlines_count)++; - g_ptr_array_add (newlines, (gpointer)p); + g_ptr_array_add (newlines, (((gpointer) (goffset) (data->len)))); c = p; } |