• Andrew Morton's avatar
    [PATCH] SELinux leak fixes · 07c9e4a4
    Andrew Morton authored
    From: Stephen Smalley <sds@epoch.ncsc.mil>
    
    I believe that the patch below fixes the legitimate leaks in the SELinux
    code.  In some cases, it rearranges the code (moving the allocation later
    to reduce the need for further cleanup or linking the object into a
    containing structure earlier so that the policydb_destroy will handle it
    upon any subsequent errors).
    07c9e4a4
mls.c 16 KB