Mitigate Baron SameEdit (CVE-2021-3156) vulnerability

fedora 23
obsolete weakness #12


Weakness Breakdown


An obsolete weakness occurs when someone uses deprecated or obsolete functions when building a system. As a programming language evolves, some functions occasionally become obsolete.

Warning code(s):

These functions are considered obsolete on most systems, and very non-portable.

File Name:



The highlighted line of code below is the trigger point of this particular Fedora 23 obsolete weakness.

    Lesser General Public License for more details.

   You should have received a copy of the GNU Lesser General Public
   License along with the GNU C Library; if not, see
   <>.  */

#include <errno.h>
#include <signal.h>

/* Set the handler for the signal SIG to HANDLER,
   returning the old handler, or SIG_ERR on error.  */
signal (sig, handler)
     int sig;
     __sighandler_t handler;
  __set_errno (ENOSYS);
  return SIG_ERR;

weak_alias (signal, ssignal)

stub_warning (signal)
stub_warning (ssignal) 

The registered trademark Linux® is used pursuant to a sublicense from the Linux Foundation, the exclusive licensee of Linus Torvalds, owner of the mark on a world­wide basis.