[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-06-06 Thread yaro330 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673 Yaro Slav changed: What|Removed |Added Status|WAITING |RESOLVED Resolution|---

[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-06-05 Thread yaro330 at gmail dot com
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? > >

[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-06-05 Thread kees at outflux dot net
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673 Kees Cook changed: What|Removed |Added CC||kees at outflux dot net --- Comment #5 from

[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-05-30 Thread yaro330 at gmail dot com
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):

[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-05-29 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90673 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |WAITING Last reconfirmed|

[Bug middle-end/90673] A problem with 'copy destination size is too small' error in copy_from_user

2019-05-29 Thread yaro330 at gmail dot com
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