The branch stable/13 has been updated by kib:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=995954f0dd3db7348c39678f331f24496bc7c777

commit 995954f0dd3db7348c39678f331f24496bc7c777
Author:     Konstantin Belousov <[email protected]>
AuthorDate: 2021-12-08 15:08:59 +0000
Commit:     Konstantin Belousov <[email protected]>
CommitDate: 2021-12-19 02:42:50 +0000

    Style
    
    (cherry picked from commit 88dd7a0a39089b4c324cc83e0b0b4c089ca0501d)
---
 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 18ddbae57d4a..9b7d26257ea3 100644
--- a/sys/kern/imgact_elf.c
+++ b/sys/kern/imgact_elf.c
@@ -1137,8 +1137,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