Mercurial > hg > nginx
view src/os/unix/ngx_dlopen.c @ 8095:adae1da17749 stable-1.22
Mp4: disabled duplicate atoms.
Most atoms should not appear more than once in a container. Previously,
this was not enforced by the module, which could result in worker process
crash, memory corruption and disclosure.
author | Roman Arutyunyan <arut@nginx.com> |
---|---|
date | Wed, 19 Oct 2022 10:53:17 +0300 |
parents | 7142b04337d6 |
children |
line wrap: on
line source
/* * Copyright (C) Maxim Dounin * Copyright (C) Nginx, Inc. */ #include <ngx_config.h> #include <ngx_core.h> #if (NGX_HAVE_DLOPEN) char * ngx_dlerror(void) { char *err; err = (char *) dlerror(); if (err == NULL) { return ""; } return err; } #endif