From: cinap_lenrek@felloff.net
To: 9front@9front.org
Subject: Re: [9front] nupas auth: incompatibility and error messaging
Date: Wed, 22 Mar 2017 10:15:21 +0100 [thread overview]
Message-ID: <6e6a645647a570a7098515e0320f23e3@felloff.net> (raw)
In-Reply-To: 197eef1bfc064ad154d32b26d2c10001@youmu.sam-d.org
factstring is wrong.
auth_getuserpasswd() is itself a format function. so if username would contain
for example "%s" then auth_getuserpasswd() would try to read beyond its varargs list.
you really want to pass the constant format string to auth_getuserpasswd()
here and pass the username and servername in the varargs.
--
cinap
next reply other threads:[~2017-03-22 9:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-22 9:15 cinap_lenrek [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-03-22 17:10 inkswinc
2017-03-22 17:09 inkswinc
2017-03-22 9:17 cinap_lenrek
2017-03-22 3:16 inkswinc
2017-03-22 0:02 inkswinc
2017-03-22 2:53 ` [9front] " Benjamin Purcell
2017-03-22 2:58 ` Benjamin Purcell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6e6a645647a570a7098515e0320f23e3@felloff.net \
--to=cinap_lenrek@felloff.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).