Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 786614 Details for
Bug 638888
app-antivirus/clamav-0.99.2-r1: check1_clamscan.sh fails with SIGBUS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
86FDS85J8.txt (text/plain), 1.07 KB, created by
Matt Turner
on 2022-06-21 22:30:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Matt Turner
Created:
2022-06-21 22:30:58 UTC
Size:
1.07 KB
patch
obsolete
>--- a/libclamav/yara_exec.c 2022-05-01 23:24:50.000000000 -0700 >+++ b/libclamav/yara_exec.c 2022-06-21 15:21:13.652598961 -0700 >@@ -426,7 +426,7 @@ > break; > > case OP_PUSH_RULE: >- rule = *(YR_RULE**)(ip + 1); >+ memcpy(&rule, ip + 1, sizeof(YR_RULE *)); > ip += sizeof(uint64_t); > #if REAL_YARA > push(rule->t_flags[tidx] & RULE_TFLAGS_MATCH ? 1 : 0); >@@ -437,7 +437,7 @@ > > case OP_MATCH_RULE: > pop(r1); >- rule = *(YR_RULE**)(ip + 1); >+ memcpy(&rule, ip + 1, sizeof(YR_RULE *)); > ip += sizeof(uint64_t); > > if (!IS_UNDEFINED(r1) && r1) >@@ -457,7 +457,7 @@ > break; > > case OP_OBJ_LOAD: >- identifier = *(char**)(ip + 1); >+ memcpy(&identifier, ip + 1, sizeof(char *)); > ip += sizeof(uint64_t); > > object = (YR_OBJECT*) yr_hash_table_lookup( >@@ -473,7 +473,7 @@ > case OP_OBJ_FIELD: > pop(r1); > >- identifier = *(char**)(ip + 1); >+ memcpy(&identifier, ip + 1, sizeof(char *)); > ip += sizeof(uint64_t); > > if (IS_UNDEFINED(r1)) >---
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 638888
:
506716
|
506718
|
528416
|
528418
| 786614