FreeBSD Bugzilla – Attachment 234678 Details for
Bug 264669
sysutils/wmmemload: fails with stack overflow after build with stack-protector-strong
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch arraysize receiving argument sysctl
wmmemload.patch.txt (text/plain), 557 bytes, created by
Arie Bikker
on 2022-06-14 13:57:13 UTC
(
hide
)
Description:
Patch arraysize receiving argument sysctl
Filename:
MIME Type:
Creator:
Arie Bikker
Created:
2022-06-14 13:57:13 UTC
Size:
557 bytes
patch
obsolete
>--- dockapps/src/mem_freebsd.c.orig 2022-06-14 15:46:50.849776000 +0200 >+++ dockapps/src/mem_freebsd.c 2022-06-14 15:50:41.561454000 +0200 >@@ -82,7 +82,11 @@ > if (swap_firsttime || > (((new_swappgsin > swappgsin) || (new_swappgsout > swappgsout)) > && cur_time > last_time_swap + 1)) { >- int mib[2], n; >+ char mib_base = "vm.swap_info"; >+ /* mib size: */ >+ /* 1 per dot seperated part in mib_base + 1 */ >+ int mib[3]; >+ int n; > size_t mibsize, size; > struct xswdev xsw; >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 264669
: 234678 |
249074