The branch main has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=88dd7a0a39089b4c324cc83e0b0b4c089ca0501d

commit 88dd7a0a39089b4c324cc83e0b0b4c089ca0501d
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-12-08 15:08:59 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-12-12 14:28:38 +0000

    Style
    
    Reviewed by:    markj
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
    Differential revision:  https://reviews.freebsd.org/D33359
---
 sys/kern/imgact_elf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c
index f2c39e12a35f..e66adce562bc 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -1157,8 +1157,8 @@ __CONCAT(exec_, __elfN(imgact))(struct image_params *imgp)
                         * a PT_PHDR entry.
                         */
                        if (phdr[i].p_offset == 0 &&
-                           hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize
-                               <= phdr[i].p_filesz)
+                           hdr->e_phoff + hdr->e_phnum * hdr->e_phentsize <=
+                           phdr[i].p_filesz)
                                proghdr = phdr[i].p_vaddr + hdr->e_phoff;
                        break;
                case PT_INTERP:

Reply via email to