You need to sign in or sign up before continuing.
  • P
    leaseshelper: fix crash · a93504cc
    Pavel Hrdina 提交于
    Commit baafe668 introduced new leaseshelper with a crash of freeing
    env string. Calling 'getenv()' inside 'virGetEnvAllowSUID()' may
    return a static string and we definitely should not free it.
    
    The author probably want to free the copy of that string.
    Signed-off-by: NPavel Hrdina <phrdina@redhat.com>
    a93504cc
leaseshelper.c 11.8 KB