Mailinglist Archive: zypp-devel (53 mails)

< Previous Next >
[zypp-devel] Re: [zypp-commit] r11408 - /trunk/libzypp/zypp/repo/PackageDelta.cc
  • From: Michael Andres <ma@xxxxxxx>
  • Date: Mon, 20 Oct 2008 16:00:49 +0200
  • Message-id: <200810201600.50364.ma@xxxxxxx>
On Monday 20 October 2008 15:30:48 kkaempf@xxxxxxxxxxxxxxxx wrote:

Log:
fix Dataiterator_init call

Modified:
trunk/libzypp/zypp/repo/PackageDelta.cc

Modified: trunk/libzypp/zypp/repo/PackageDelta.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/repo/PackageDelta.c
c?rev=11408&r1=11407&r2=11408&view=diff
===========================================================================
=== --- trunk/libzypp/zypp/repo/PackageDelta.cc (original)
+++ trunk/libzypp/zypp/repo/PackageDelta.cc Mon Oct 20 15:30:48 2008
@@ -36,7 +36,7 @@
{
MIL << "creating deltarpm from repo " << repo.alias() << ", id " <<
extraid << endl;

::Dataiterator di;

- ::dataiterator_init(&di, repo.get(), extraid, 0, 0, 0);
+ ::dataiterator_init(&di, NULL, repo.get(), extraid, 0, 0, 0);

Don't fix it that way. dataiterator_init segfaults with a NULL pool.

--

cu,
Michael Andres

+------------------------------------------------------------------+
Key fingerprint = 2DFA 5D73 18B1 E7EF A862 27AC 3FB8 9E3A 27C6 B0E4
+------------------------------------------------------------------+
Michael Andres YaST Development ma@xxxxxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nuernberg)
Maxfeldstrasse 5, D-90409 Nuernberg, Germany, ++49 (0)911 - 740 53-0
+------------------------------------------------------------------+

--
To unsubscribe, e-mail: zypp-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups