diff options
author | Lars Seipel <ls@slrz.net> | 2013-09-19 22:42:32 +0200 |
---|---|---|
committer | Stef Walter <stefw@gnome.org> | 2013-09-23 17:03:22 +0200 |
commit | 5c2a67ee425b12fb5b141d145c7bf0a36042257b (patch) | |
tree | bdcb3652f60b1cf73cc571c507472b6f1cbb843f | |
parent | d9d3b4922c5a210a9e82bc099505c1952c555826 (diff) | |
download | gnome-keyring-5c2a67ee425b12fb5b141d145c7bf0a36042257b.tar.gz |
daemon: Fix lapse where the login password is read in pointer-sized chunks
https://bugzilla.gnome.org/show_bug.cgi?id=708483
-rw-r--r-- | daemon/gkd-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gkd-main.c b/daemon/gkd-main.c index 1d101329..d1937275 100644 --- a/daemon/gkd-main.c +++ b/daemon/gkd-main.c @@ -510,7 +510,7 @@ read_login_password (int fd) int r, len = 0; for (;;) { - r = read (fd, buf, sizeof (buf)); + r = read (fd, buf, MAX_BLOCK); if (r < 0) { if (errno == EAGAIN) continue; |