Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: yaro330 at gmail dot com
Target Milestone: ---
Example function:
static ssize_t ipa3_write_ep_holb(struct file *file,
const char __user *buf, si
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673
Yaro Slav changed:
What|Removed |Added
Summary|A problem with 'copy|A problem with 'copy
|dest
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673
--- Comment #4 from Yaro Slav ---
(In reply to Andrew Pinski from comment #1)
> Can you provide the preprocessed source and the exact options being used?
Options and version are here (apparently it's present in gcc 9.1.0 as well):
https://gist.g
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673
--- Comment #6 from Yaro Slav ---
(In reply to Kees Cook from comment #5)
> From the linked code:
>
> missing = copy_from_user(dbg_buff, buf, sizeof(buf));
>
> dbg_buff is a global variable -- is writing to it thread safe?
>
> sizeof(buf
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673
Yaro Slav changed:
What|Removed |Added
Status|WAITING |RESOLVED
Resolution|---