Good catch. In practice it doesn't look like this is a code-path that would 
ever be triggered, otherwise the test plan highlighted here would have caught 
it; but we should fix it none-the-less.
Please reject the uploads and we'll re-upload.

> Related, are the `secret_service_get_*` calls guaranteed to set error
to non-NULL when returning NULL?

This is expressed in the gobject-introspection annotations: only if the
return value is annotated as `(nullable)` will the function return NULL
without setting *error to non-NULL; so it depends on the individual
function.

See for example:
https://gitlab.gnome.org/GNOME/libsecret/-/blob/ed63e1a96851dcd6bd90abbec5b2b1999afabdc6/libsecret/secret-
collection.c#L2205, which in turn generates this documentation:
https://gnome.pages.gitlab.gnome.org/libsecret/type_func.Collection.for_alias_sync.html#return-
value

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2000063

Title:
  RDP password is silently reset to a random passphrase if using
  autologin

To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-control-center/+bug/2000063/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to