simulavr-devel
[Top][All Lists]
Advanced

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

[Simulavr-devel] [patch #7078] fix potential string overflows in 0.1.2.6


From: Juergen Weigert
Subject: [Simulavr-devel] [patch #7078] fix potential string overflows in 0.1.2.6
Date: Sun, 31 Jan 2010 12:19:34 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.0) Gecko/20100105 SUSE/3.6rc1-1.5 Firefox/3.6

URL:
  <http://savannah.nongnu.org/patch/?7078>

                 Summary: fix potential string overflows in 0.1.2.6
                 Project: Simulavr: an AVR simulator
            Submitted by: jnweiger
            Submitted on: Sun 31 Jan 2010 12:19:33 PM GMT
                Category: None
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: simulavr

    _______________________________________________________

Details:

I've compiled with latest gcc-4.4.1 and at extra mean warning levels. This is
what I found:

old style flex output must be pampered with to allow ignoring returnvalue of
fwrite().
strncat() third parameter must be remaining size in buffer, not total
size().




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sun 31 Jan 2010 12:19:33 PM GMT  Name: happy_gcc.patch  Size: 2kB   By:
jnweiger

<http://savannah.nongnu.org/patch/download.php?file_id=19581>

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7078>

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





reply via email to

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