FreeBSD Bugzilla – Attachment 245380 Details for
Bug 274215
mail/libspf2: add fix for CVE-2023-42118
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-src_libspf2_spf__compile.c
patch-src_libspf2_spf__compile.c (text/plain), 682 bytes, created by
Kurt Jaeger
on 2023-10-02 14:10:06 UTC
(
hide
)
Description:
patch-src_libspf2_spf__compile.c
Filename:
MIME Type:
Creator:
Kurt Jaeger
Created:
2023-10-02 14:10:06 UTC
Size:
682 bytes
patch
obsolete
> >Source: https://github.com/shevek/libspf2/pull/44 > >--- src/libspf2/spf_compile.c.orig 2023-10-02 15:31:23.240450000 +0200 >+++ src/libspf2/spf_compile.c 2023-10-02 15:33:41.876410000 +0200 >@@ -455,7 +455,11 @@ > /* Magic numbers for x/Nc in gdb. */ \ > data->ds.__unused0 = 0xba; data->ds.__unused1 = 0xbe; \ > dst = SPF_data_str( data ); \ >- ds_avail = _avail - sizeof(SPF_data_t); \ >+ if ((_avail) < sizeof(SPF_data_t)) \ >+ return SPF_response_add_error_ptr(spf_response, \ >+ SPF_E_BIG_STRING, NULL, src, \ >+ "Out of memory for string literal");\ >+ ds_avail = (_avail) - sizeof(SPF_data_t); \ > ds_len = 0; \ > } while(0) >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 274215
: 245380