Thanks! This patch will be in the next release of SLURM version 2.3.

Quoting "Andrej N. Gritsenko" <[email protected]>:

    Hello there!

    Another problem with code was found on parsing AllowGroups parameter.
In case this parameter was activated and partition gets number of uids
even to 100 function memcpy will overread the allocated memory as it will
try to read 101 uid_t while only 100 was allocated ATM and also allocated
array isn't terminated with zero so that will end with undefined behavior
immediately or later. See fix in attached patch.

    With best wishes.
    Andriy.

Reply via email to