mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
MFC r202919:
Fix array overflow. This routine is only called from procfs, which is not mounted by default, and I've been unable to trigger a panic without this fix applied anyway. Reviewed by: kib, cperciva
This commit is contained in:
parent
ae3c92a106
commit
c0d73b99f2
1 changed files with 0 additions and 2 deletions
|
|
@ -213,8 +213,6 @@ fill_dbregs32(struct thread *td, struct dbreg32 *regs)
|
|||
err = fill_dbregs(td, &dr);
|
||||
for (i = 0; i < 8; i++)
|
||||
regs->dr[i] = dr.dr[i];
|
||||
for (i = 8; i < 16; i++)
|
||||
regs->dr[i] = 0;
|
||||
return (err);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue