Skip to content
  • Thayumanavar's avatar
    1b281ed1
    BUG#20545721 - MISSING CLOSE() CALL IN MYSQLD_DAEMON.CC · 1b281ed1
    Thayumanavar authored
    PROBLEM DESCRIPTION AND FIX:
    
    close(stdinfd) is missing in mysqld::runtime::mysqld_daemonize().
    
    Fix is close(stdinfd) on line 102 before fork in the if part
    as well to avoid warnings being reported by fortify.
    
    (cherry picked from commit 37dec2e644d0a1357669cd89e786740526782afb)
    1b281ed1
    BUG#20545721 - MISSING CLOSE() CALL IN MYSQLD_DAEMON.CC
    Thayumanavar authored
    PROBLEM DESCRIPTION AND FIX:
    
    close(stdinfd) is missing in mysqld::runtime::mysqld_daemonize().
    
    Fix is close(stdinfd) on line 102 before fork in the if part
    as well to avoid warnings being reported by fortify.
    
    (cherry picked from commit 37dec2e644d0a1357669cd89e786740526782afb)
Loading