~ubuntu-branches/ubuntu/hardy/openswan/hardy-updates

« back to all changes in this revision

Viewing changes to lib/libopenswan/pfkey_print.c

  • Committer: Bazaar Package Importer
  • Author(s): Rene Mayrhofer
  • Date: 2005-01-27 16:10:11 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050127161011-idgybmyz3vwhpfiq
Tags: 2.3.0-2
Urgency HIGH due to security issue and problems with build-deps in sarge.
* Fix the security issue. Please see
  http://www.idefense.com/application/poi/display?id=190&
      type=vulnerabilities&flashstatus=false
  for more details. Thanks to Martin Schulze for informing me about
  this issue.
  Closes: #292458: Openswan XAUTH/PAM Buffer Overflow Vulnerability
* Added a Build-Dependency to lynx.
  Closes: #291143: openswan: FTBFS: Missing build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13
13
 * for more details.
14
14
 *
15
 
 * RCSID $Id: pfkey_print.c,v 1.1.2.1 2004/03/21 05:23:30 mcr Exp $
 
15
 * RCSID $Id: pfkey_print.c,v 1.2 2004/04/26 05:03:40 ken Exp $
16
16
 */
17
17
 
18
 
char pfkey_v2_print_c_version[] = "$Id: pfkey_print.c,v 1.1.2.1 2004/03/21 05:23:30 mcr Exp $";
 
18
char pfkey_v2_print_c_version[] = "$Id: pfkey_print.c,v 1.2 2004/04/26 05:03:40 ken Exp $";
19
19
 
20
20
#include <sys/types.h>
21
21
 
114
114
 
115
115
            fprintf(out, "allocations=%d bytes=%qd addtime=%qd usetime=%qd packets=%d",
116
116
                    life->sadb_lifetime_allocations,
117
 
                    life->sadb_lifetime_bytes,
118
 
                    life->sadb_lifetime_addtime,
119
 
                    life->sadb_lifetime_usetime,
 
117
                    (long long)life->sadb_lifetime_bytes,
 
118
                    (long long)life->sadb_lifetime_addtime,
 
119
                    (long long)life->sadb_lifetime_usetime,
120
120
                    life->sadb_x_lifetime_packets);
121
121
            fprintf(out, " } ");
122
122
          }