Skip to content

Commit

Permalink
Fix memcpy call in syscall_get_arguments_deprecated for 5.1+
Browse files Browse the repository at this point in the history
  • Loading branch information
gnosek committed Oct 24, 2019
1 parent 8b0a63a commit bbed8da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion driver/ppm_fillers.c
Expand Up @@ -69,7 +69,7 @@ static inline struct inode *file_inode(struct file *f)
do { \
unsigned long _sga_args[6] = {}; \
syscall_get_arguments(_task, _reg, _sga_args); \
memcpy(_args, &_sga_args[_start], _len); \
memcpy(_args, &_sga_args[_start], _len * sizeof(unsigned long)); \
} while(0)
#endif

Expand Down

0 comments on commit bbed8da

Please sign in to comment.