Ignore:
Timestamp:
Apr 21, 2017, 4:28:29 AM (5 weeks ago)
Author:
brainslayer
Message:

update

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/arch/mips/kernel/ptrace.c

    r25370 r31885  
    445445                                          0, sizeof(elf_fpregset_t));
    446446
    447         for (i = 0; i < NUM_FPU_REGS; i++) {
     447        BUILD_BUG_ON(sizeof(fpr_val) != sizeof(elf_fpreg_t));
     448        for (i = 0; i < NUM_FPU_REGS && count >= sizeof(elf_fpreg_t); i++) {
    448449                err = user_regset_copyin(&pos, &count, &kbuf, &ubuf,
    449450                                         &fpr_val, i * sizeof(elf_fpreg_t),
Note: See TracChangeset for help on using the changeset viewer.