URI: 
       tProperly size buffer to avoid overflow. - plan9port - [fork] Plan 9 from user space
  HTML git clone git://src.adamsgaard.dk/plan9port
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 14367520a219d579ff96ef610cf113859285d324
   DIR parent 604ad4d8ff971314f37440963f4ad8e6ea79aacc
  HTML Author: wkj <devnull@localhost>
       Date:   Tue,  1 Nov 2005 15:27:28 +0000
       
       Properly size buffer to avoid overflow.
       
       Diffstat:
         M src/lib9/fmt/fltfmt.c               |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
   DIR diff --git a/src/lib9/fmt/fltfmt.c b/src/lib9/fmt/fltfmt.c
       t@@ -376,7 +376,7 @@ found:
        static int
        floatfmt(Fmt *fmt, double f)
        {
       -        char s[FDIGIT+10];
       +        char s[341];                /* precision+exponent+sign+'.'+null */
        
                xdtoa(fmt, s, f);
                fmt->flags &= FmtWidth|FmtLeft;