Advertisement
tyler569

Untitled

Jan 17th, 2021
601
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. $ make
  2. CC exec.o
  3. kernel/exec.c: In function 'do_execve':
  4. kernel/exec.c:224:5: error: 'exec_copy_args' accessing 8 bytes in a region of size 0 [-Werror=stringop-overflow=]
  5. 224 | exec_copy_args(user_argv, stored_args);
  6. | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. kernel/exec.c:224:5: note: referencing argument 1 of type 'char **'
  8. kernel/exec.c:57:14: note: in a call to function 'exec_copy_args'
  9. 57 | char *const *exec_copy_args(char *out[], char *const args[]) {
  10. | ^~~~~~~~~~~~~~
  11. cc1: all warnings being treated as errors
  12. make: *** [build.mk:387: build-x86_64/kernel/exec.o] Error 1
  13. $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement