URL:
  <http://savannah.gnu.org/bugs/?46988>

                 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

    _______________________________________________________

Details:

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

<http://savannah.gnu.org/bugs/download.php?file_id=36171>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46988>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
bug-gforth mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-gforth

Reply via email to