mirror of
https://github.com/opnsense/src.git
synced 2026-04-26 00:27:08 -04:00
Fix a brain-o. I had misread the limit as a size, but it's a pointer.
Submitted by: Howard Su MFC after: 2 weeks X-MFC-with: r259668
This commit is contained in:
parent
c89929d81a
commit
ad5017b513
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ fbt_provide_module_function(linker_file_t lf, int symindx,
|
|||
return (0);
|
||||
|
||||
instr = (u_int32_t *) symval->value;
|
||||
limit = (u_int32_t *) (symval->value + symval->size / sizeof(u_int32_t));
|
||||
limit = (u_int32_t *) (symval->value + symval->size);
|
||||
|
||||
for (; instr < limit; instr++)
|
||||
if (*instr == FBT_MFLR_R0)
|
||||
|
|
|
|||
Loading…
Reference in a new issue