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:   23-Sep-2014 20:29:10
  Branch: rpm-5_4                          Handle: 2014092318291000

  Modified files:           (Branch: rpm-5_4)
    rpm/tests/mongo         gridfs.c

  Log:
    - mongo: fix: uninitialzed.

  Summary:
    Revision    Changes     Path
    1.1.2.7     +1  -0      rpm/tests/mongo/gridfs.c
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/tests/mongo/gridfs.c
  ============================================================================
  $ cvs diff -u -r1.1.2.6 -r1.1.2.7 gridfs.c
  --- rpm/tests/mongo/gridfs.c  26 Jul 2013 06:09:07 -0000      1.1.2.6
  +++ rpm/tests/mongo/gridfs.c  23 Sep 2014 18:29:10 -0000      1.1.2.7
  @@ -122,6 +122,7 @@
         { DIGEST_CTX ctx = rpmDigestInit(PGPHASHALGO_MD5, RPMDIGEST_NONE);
           const char * _digest = NULL;
           int xx;
  +     n = 0;
           while( i > INT_MAX  ) {
             xx = rpmDigestUpdate(ctx, (char *)data_before + (n*INT_MAX), 
INT_MAX);
             i -= INT_MAX;
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                rpm-cvs@rpm5.org

Reply via email to