From d8cc407fcadda8f119af1d598f45aa722b875d34 Mon Sep 17 00:00:00 2001 From: douxxtech Date: Mon, 15 Jun 2026 01:04:30 +0200 Subject: [PATCH 1/2] fixed double rel --- program.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program.asm b/program.asm index 6504a70..b361326 100644 --- a/program.asm +++ b/program.asm @@ -493,7 +493,7 @@ _start: mov [rel username], al ; clear the username field to not send a wrong username in logs lea r13, [rel response] - lea r12, [rel rel response] + lea r12, [rel response] mov qword [rel file_to_serve], errordoc_401_path mov rdi, 401 From 2d6b99593c552e6e805d2ba89d65b257f82ee321 Mon Sep 17 00:00:00 2001 From: douxxtech Date: Mon, 15 Jun 2026 01:05:28 +0200 Subject: [PATCH 2/2] fixed declaration typo --- labels/startupchecks.asm | 2 +- labels/strings.asm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/labels/startupchecks.asm b/labels/startupchecks.asm index 2593fe0..63947a5 100644 --- a/labels/startupchecks.asm +++ b/labels/startupchecks.asm @@ -111,7 +111,7 @@ startup_checks: jne .check_port ; if != 1, its ok ; if its 1, it means that we failed to open the file - LOG_WARNING str_str_file_not_opened, str_str_file_not_opened_len + LOG_WARNING str_log_file_not_opened, str_log_file_not_opened_len .check_port: mov eax, [rel current_uid] diff --git a/labels/strings.asm b/labels/strings.asm index c79f11d..92eebc5 100644 --- a/labels/strings.asm +++ b/labels/strings.asm @@ -35,8 +35,8 @@ section .text str_check_port_privileged db "Port < 1024 might require root privileges", 0 str_check_port_privileged_len equ $ - str_check_port_privileged - 1 - str_str_file_not_opened db "Failed to open the provided log file (missing permissions?). STDOUT will be used instead.", 0 - str_str_file_not_opened_len equ $ - str_str_file_not_opened - 1 + str_log_file_not_opened db "Failed to open the provided log file (missing permissions?). STDOUT will be used instead.", 0 + str_log_file_not_opened_len equ $ - str_log_file_not_opened - 1 str_chroot_noroot db "Not able to chroot since we're not root", 0 str_chroot_noroot_len equ $ - str_chroot_noroot - 1