httpd icon indicating copy to clipboard operation
httpd copied to clipboard

Fix a possible NULL pointer dereference of ap_runtime_dir_relative()

Open zhou1615 opened this issue 3 years ago • 0 comments

ap_runtime_dir_relative() will return NULL on failure. However cgid_init() does not check the return value of ap_runtime_dir_relative() and use it directly.

Fix this bug by adding a NULL check.

zhou1615 avatar Mar 28 '22 15:03 zhou1615