The code uses a function that has inconsistent implementations across operating systems and versions, which might cause security-relevant portability problems.