Public bug reported:

Binary package hint: udev

add_string() returns -1 on OOM.

add_uid() and add_gid() doesn't handle this situation properly.  They
cast the result to unsigned int and compare the casted value with zero.
Of course, (uint)-1 < 0 is false.

** Affects: udev (Ubuntu)
     Importance: Undecided
         Status: New

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to