The branch, master has been updated
       via  a6dcf78483d printing: Fix an uninitialized read
      from  c5c238a8791 s4:torture: Fix stack buffer overflow in 
test_dirlease_oplocks()

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit a6dcf78483d7ae492e695d30c5c783df8e7879d8
Author: Volker Lendecke <[email protected]>
Date:   Mon Sep 8 18:19:01 2025 +0200

    printing: Fix an uninitialized read
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15908
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Björn Baumbach <[email protected]>
    
    Autobuild-User(master): Björn Baumbach <[email protected]>
    Autobuild-Date(master): Tue Sep  9 11:06:34 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/print_generic.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/printing/print_generic.c b/source3/printing/print_generic.c
index d5bfa9ea527..7c7a14de045 100644
--- a/source3/printing/print_generic.c
+++ b/source3/printing/print_generic.c
@@ -161,7 +161,7 @@ static int generic_queue_get(const char *printer_name,
                              print_status_struct *status)
 {
        char **qlines;
-       int fd;
+       int fd = -1;
        int numlines, i, qcount;
        print_queue_struct *queue = NULL;
 


-- 
Samba Shared Repository

Reply via email to