~ubuntu-branches/ubuntu/quantal/mutt/quantal-security

« back to all changes in this revision

Viewing changes to gnupgparse.c

  • Committer: Package Import Robot
  • Author(s): أحمد المحمودي (Ahmed El-Mahmoudy)
  • Date: 2010-12-17 14:28:28 UTC
  • mfrom: (16.2.3 experimental)
  • Revision ID: package-import@ubuntu.com-20101217142828-ve8yy0xf1zomtnx9
Tags: 1.5.21-1ubuntu1
* Merge with Debian experimental (LP: #691512), remaining changes:
  + debian/control, debian/patches/debian-specific/build_doc_adjustments.diff:
    Use w3m (main) instead of elinks (universe) for generating documentation.
  + Drop libtokyocabinet-dev (universe) from Build-Depends, use always
    libgdbm-dev and also use gdbm for the header cache backend. (lp: #607448)

Show diffs side-by-side

added added

removed removed

Lines of Context:
108
108
        memcpy (uid, buf, ob-buf);
109
109
        uid[ob-buf] = '\0';
110
110
      }
111
 
      else if (ob-buf == n && (buf[n] = 0, strlen (buf) < n))
 
111
      else if (n >= 0 && ob-buf == n && (buf[n] = 0, strlen (buf) < (size_t)n))
112
112
        memcpy (uid, buf, n);
113
113
    }
114
114
    FREE (&buf);