Hi Ramzi, I'm going over this very old libnfsidmap bug now.

Do you know under what situation this part of your suggested patch is needed?
@@ -276,7 +276,7 @@
                return -EINVAL;
 
        /* get princ's realm */
-       princ_realm = strstr(princ, "@");
+       princ_realm = strrchr(princ, '@');
        if (princ_realm == NULL)
                return -EINVAL;
        princ_realm++;

Or is it just a precaution?

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

Title:
  libnfsidmap2: Virtual domains/users handling with at sign in idmap

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libnfsidmap/+bug/584942/+subscriptions

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

Reply via email to