Skip to content
This repository has been archived by the owner on Nov 26, 2019. It is now read-only.

error in __read_overflow2 ubuntu 17.10 #2

Open
developernew123 opened this issue Mar 2, 2018 · 0 comments
Open

error in __read_overflow2 ubuntu 17.10 #2

developernew123 opened this issue Mar 2, 2018 · 0 comments

Comments

@developernew123
Copy link

I got this error while building :

make[1]: Entering directory '/usr/src/linux-headers-4.13.0-21-generic' CC [M] /home/user/Downloads/rt3290sta-master/os/linux/../../os/linux/sta_ioctl.o In file included from ./include/linux/bitmap.h:8:0, from ./include/linux/cpumask.h:11, from ./arch/x86/include/asm/cpumask.h:4, from ./arch/x86/include/asm/msr.h:10, from ./arch/x86/include/asm/processor.h:20, from ./arch/x86/include/asm/cpufeature.h:4, from ./arch/x86/include/asm/thread_info.h:52, from ./include/linux/thread_info.h:37, from ./arch/x86/include/asm/preempt.h:6, from ./include/linux/preempt.h:80, from ./include/linux/spinlock.h:50, from ./include/linux/seqlock.h:35, from ./include/linux/time.h:5, from ./include/linux/stat.h:18, from ./include/linux/module.h:10, from /home/user/Downloads/rt3290sta-master/include/os/rt_linux.h:18, from /home/user/Downloads/rt3290sta-master/include/rtmp_os.h:42, from /home/user/Downloads/rt3290sta-master/include/rtmp_comm.h:56, from /home/user/Downloads/rt3290sta-master/os/linux/../../os/linux/sta_ioctl.c:33: In function ‘memcpy’, inlined from ‘rt_ioctl_iwaplist’ at /home/user/Downloads/rt3290sta-master/os/linux/../../os/linux/sta_ioctl.c:700:2: ./include/linux/string.h:305:4: error: call to ‘__read_overflow2’ declared with attribute error: detected read beyond size of object passed as 2nd parameter __read_overflow2(); ^~~~~~~~~~~~~~~~~~ scripts/Makefile.build:302: recipe for target '/home/user/Downloads/rt3290sta-master/os/linux/../../os/linux/sta_ioctl.o' failed make[2]: *** [/home/user/Downloads/rt3290sta-master/os/linux/../../os/linux/sta_ioctl.o] Error 1 Makefile:1546: recipe for target '_module_/home/user/Downloads/rt3290sta-master/os/linux' failed make[1]: *** [_module_/home/user/Downloads/rt3290sta-master/os/linux] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-4.13.0-21-generic' Makefile:388: recipe for target 'LINUX' failed make: *** [LINUX] Error 2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant