ALT Linux Bugzilla
– Attachment 15572 Details for
Bug 47499
accountsservice: На экране "пользователи" в настройках Gnome отсутствует "Автоматический вход"
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
патч протекающих shadow users
fix-leak-shadow-user.patch (text/plain), 1.31 KB, created by
Toxblh
on 2024-02-19 02:08:28 MSK
(
hide
)
Description:
патч протекающих shadow users
Filename:
MIME Type:
Creator:
Toxblh
Created:
2024-02-19 02:08:28 MSK
Size:
1.31 KB
patch
obsolete
>diff --git a/src/daemon.c b/src/daemon.c >index aa9d050..d51be4d 100644 >--- a/src/daemon.c >+++ b/src/daemon.c >@@ -304,7 +304,8 @@ entry_generator_fgetpwent (Daemon *daemon, > pwent = fgetpwent (generator_state->fp); > if (pwent != NULL) { > shadow_entry_buffers = g_hash_table_lookup (generator_state->shadow_users, pwent->pw_name); >- >+ *spent = NULL; >+ > if (shadow_entry_buffers != NULL) { > *spent = &shadow_entry_buffers->spbuf; > } >diff --git a/tests/test-libaccountsservice.py b/tests/test-libaccountsservice.py >index 723ab51..69b9083 100644 >--- a/tests/test-libaccountsservice.py >+++ b/tests/test-libaccountsservice.py >@@ -115,8 +115,8 @@ class TestAccountsServicePreExistingUser(AccountsServiceTestBase): > self.assertTrue(user_objects[instance].is_loaded()) > > for user in user_objects: >- self.assertEquals(user.get_user_name(), 'pizza') >- self.assertEquals(user.get_uid(), 2001) >+ self.assertEqual(user.get_user_name(), 'pizza') >+ self.assertEqual(user.get_uid(), 2001) > > @unittest.skipUnless(have_accounts_service, > 'AccountsService gi introspection not available')
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 47499
:
14363
|
15343
| 15572