This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=0f4000a29e2c8fdbe007a645028c10a04bdebbcc

The following commit(s) were added to refs/heads/main by this push:
     new 0f4000a29 test: Initialize varbuf before use
0f4000a29 is described below

commit 0f4000a29e2c8fdbe007a645028c10a04bdebbcc (HEAD -> main)
Author: Guillem Jover <guil...@debian.org>
AuthorDate: Mon Apr 29 03:30:45 2024 +0200

    test: Initialize varbuf before use
    
    This was already fixed in another branch, but the commit with the fix
    did not end up in the main branch.
    
    Fixes: commit 9d410b39199e46dab8268b70e4557901f3e8af85
    Changelog: silent
---
 lib/dpkg/t/t-file.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/dpkg/t/t-file.c b/lib/dpkg/t/t-file.c
index 79106b9f7..16114f061 100644
--- a/lib/dpkg/t/t-file.c
+++ b/lib/dpkg/t/t-file.c
@@ -43,7 +43,7 @@ static void
 test_file_getcwd(void)
 {
        char *env;
-       struct varbuf cwd;
+       struct varbuf cwd = VARBUF_INIT;
 
        env = getenv("abs_builddir");
        file_getcwd(&cwd);

-- 
Dpkg.Org's dpkg

Reply via email to