RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Jeff Johnson
  Root:   /v/rpm/cvs                       Email:  j...@rpm5.org
  Module: rpm                              Date:   17-Jan-2009 01:33:30
  Branch: HEAD                             Handle: 2009011700332900

  Modified files:
    rpm                     CHANGES
    rpm/build               files.c

  Log:
    - rpm.org: Don't bother calculating string sizes manually.

  Summary:
    Revision    Changes     Path
    1.2741      +1  -0      rpm/CHANGES
    1.351       +1  -0      rpm/build/files.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/CHANGES
  ============================================================================
  $ cvs diff -u -r1.2740 -r1.2741 CHANGES
  --- rpm/CHANGES       17 Jan 2009 00:22:54 -0000      1.2740
  +++ rpm/CHANGES       17 Jan 2009 00:33:29 -0000      1.2741
  @@ -1,5 +1,6 @@
   
   5.2a2 -> 5.2a3:
  +    - rpm.org: Don't bother calculating string sizes manually.
       - rpm.org: memory used by lua gets freed (just remove comment).
       - rpm.org: repeated read config -> free config needs globalLuaState == 
NULL.
       - rpm.org: Fix buffer overflow on oversized filelist 
entries(susebz#397006).
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/build/files.c
  ============================================================================
  $ cvs diff -u -r1.350 -r1.351 files.c
  --- rpm/build/files.c 17 Jan 2009 00:10:59 -0000      1.350
  +++ rpm/build/files.c 17 Jan 2009 00:33:29 -0000      1.351
  @@ -2720,6 +2720,7 @@
       memset(&fl, 0, sizeof(fl));
       if (_srcdefattr && *_srcdefattr) {
           xx = snprintf(_srcdefattr_buf, sizeof(_srcdefattr_buf), "%%defattr 
%s", _srcdefattr);
  +     _srcdefattr_buf[sizeof(_srcdefattr_buf)-1] = '\0';
           xx = parseForAttr(_srcdefattr_buf, &fl);
       }
   
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to