Package: gdeb
Version: 0.4.9-1
Severity: normal

gdeb crashes if you cancel password authentication.

#0  0xb76e2cd3 in strlen () from /lib/tls/libc.so.6
#1  0x0804c5d9 in gdeb_response_cb (wdg=0x80ccc18, responseid=1, 
    data=0xbfc29550) at main.cc:285

memset (pwd, 0, strlen (pwd));
pwd seems to be NULL if gksu_ask_password(ctx, pwd); is cancelled (but
I haven't checked).

// This fixes the cancel button, but my "continue" button now seems
// broken.
if (NULL==gksu_ask_password()) {
        gksu_context_free(ctx);
        g_free(msg);
        return;
}

There's also a boatload of warnings from valgrind before the window
even appears.  Cloned bug will follow.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to