summaryrefslogtreecommitdiff
path: root/translations
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2022-10-22 11:27:23 +0200
committerMike Kaganski <mike.kaganski@collabora.com>2022-10-22 13:59:05 +0200
commitb5acaa1cf36c30ab3cb1a2796ead850598ed233f (patch)
tree04eae9ee9e86c42e0957c0b1fcd6586b80399e29 /translations
parent66ac4d9171fee9d425d3301933c1eb8e85c25933 (diff)
g_get_real_name is a proper match for passwd::pw_gecos
This fixes 66fcc9db0f7eacd0ebda06d9ee634af2d0e73d04. Also nullptr check is added (passing nullptr to std::string ctor taking null-terminated string is UB). GLib implementation: * https://gitlab.gnome.org/GNOME/glib/-/blob/476e33c3f3632bd32370fadc67b10d61da9a4098/glib/gutils.c#L743 * https://gitlab.gnome.org/GNOME/glib/-/blob/476e33c3f3632bd32370fadc67b10d61da9a4098/glib/gutils.c#L577 Change-Id: I4e36cf836f2889f9aa03167c5ade81c69d9b1dfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141586 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'translations')
0 files changed, 0 insertions, 0 deletions