• M
    virSecurityManagerGenLabel: Skip seclabels without model · ba44dd24
    Michal Privoznik 提交于
    While generating seclabels, we check the seclabel stack if required
    driver is in the stack. If not, an error is returned. However, it is
    possible for a seclabel to not have any model set (happens with LXC
    domains that have just <seclabel type='none'>). If that's the case,
    we should just skip the iteration instead of calling STREQ(NULL, ...)
    and SIGSEGV-ing subsequently.
    ba44dd24
security_manager.c 21.2 KB