git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] libsecret: retrieve empty password

From
M Hickford <mirth.hickford@gmail.com>
Date
Feb 19, 2024, 20:00 UTC
Message-ID
<CAGJzqsmwpHu7sMNs6C7k-V5JtpPtdYmXEp2uk-x-ZKLZ8S6jCA@mail.gmail.com>
In-Reply-To
<ZdLweyFLDtdMAq2x@tanuki>
Show 5 quoted lines
> > +                             g_free(c->password);
> > +                             c->password = strdup("");
>
> Shouldn't we use `g_strdup()` here, like we do everywhere else in this
> credential helper?
You're right. I'll correct in patch v2.
Previous: Patrick SteinhardtNext: M Hickford via GitGitGadget
Message 3 of 4 in “libsecret: retrieve empty password”
  1. libsecret: retrieve empty passwordM Hickford via GitGitGadget, Feb 18, 2024
  2. Patrick SteinhardtFeb 19, 2024
  3. M HickfordFeb 19, 2024
  4. libsecret: retrieve empty passwordM Hickford via GitGitGadget, Feb 19, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.