[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gforth] [bug #46988] Fix use of uninitalized memory

From: Jasper Lievisse Adriaanse
Subject: [Bug-gforth] [bug #46988] Fix use of uninitalized memory
Date: Wed, 27 Jan 2016 08:10:29 +0000
User-agent: Mozilla/5.0 (X11; OpenBSD amd64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.111 Safari/537.36


                 Summary: Fix use of uninitalized memory 
                 Project: Gforth
            Submitted by: jasperla
            Submitted on: Wed 27 Jan 2016 08:10:28 AM GMT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any



OpenBSD's malloc(3) (see [1]) implementation allows for adding junk to the
allocated area (see options 'j' and 'J'). Through this it was discovered that
gforth_engine() was using uninitialized memory and would crash. The attached
patch resolves the issue.

1: http://www.openbsd.org/cgi-bin/man.cgi?query=malloc.conf


File Attachments:

Date: Wed 27 Jan 2016 08:10:28 AM GMT  Name: patch-engine_engine_c  Size: 853B
  By: jasperla



Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]