Hello community,

here is the log from the commit of package perl-Text-BibTeX for 
openSUSE:Factory checked in at 2014-06-26 08:00:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Text-BibTeX (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Text-BibTeX"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Text-BibTeX/perl-Text-BibTeX.changes        
2013-03-04 17:31:13.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Text-BibTeX.new/perl-Text-BibTeX.changes   
2014-06-26 08:00:31.000000000 +0200
@@ -1,0 +2,9 @@
+Fri Jun 20 14:55:33 UTC 2014 - [email protected]
+
+- perl-Text-BibTeX-uninit.patch: Fix use of unitialized memory
+- update to 0.69
+  * Replacement for islower() which understands all Unicode 6.2.0
+    chars with "LOWERCASE" property
+  * Fixes for UTF-8 handling of combining marks 
+
+-------------------------------------------------------------------

Old:
----
  Text-BibTeX-0.66.tar.gz

New:
----
  Text-BibTeX-0.69.tar.gz
  perl-Text-BibTeX-uninit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Text-BibTeX.spec ++++++
--- /var/tmp/diff_new_pack.97axbX/_old  2014-06-26 08:00:32.000000000 +0200
+++ /var/tmp/diff_new_pack.97axbX/_new  2014-06-26 08:00:32.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Text-BibTeX
-Version:        0.66
+Version:        0.69
 Release:        0
 %define cpan_name Text-BibTeX
 Summary:        Interface to read and parse BibTeX files
@@ -27,6 +27,7 @@
 Source:         
http://www.cpan.org/authors/id/A/AM/AMBS/Text/%{cpan_name}-%{version}.tar.gz
 Patch:          Text-BibTeX-rpmlint.patch
 Patch1:         perl-Text-BibTeX-libdir.patch 
+Patch2:         perl-Text-BibTeX-uninit.patch 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  perl
 BuildRequires:  perl-macros
@@ -74,6 +75,7 @@
 %setup -q -n %{cpan_name}-%{version}
 %patch
 %patch1
+%patch2 -p1
 find . -type f -print0 | xargs -0 chmod 644
 
 %build
@@ -91,7 +93,7 @@
 
 %files -f %{name}.files
 %defattr(-,root,root,755)
-%doc CHANGES README README.OLD scripts THANKS
+%doc Changes README README.OLD scripts THANKS
 %{_libdir}/libbtparse.so
 
 %changelog

++++++ Text-BibTeX-0.66.tar.gz -> Text-BibTeX-0.69.tar.gz ++++++
++++ 3007 lines of diff (skipped)

++++++ perl-Text-BibTeX-uninit.patch ++++++
Index: Text-BibTeX-0.69/btparse/src/format_name.c
===================================================================
--- Text-BibTeX-0.69.orig/btparse/src/format_name.c
+++ Text-BibTeX-0.69/btparse/src/format_name.c
@@ -120,6 +120,8 @@ bt_create_name_format (char * parts, boo
 
    format = (bt_name_format *) malloc (sizeof (bt_name_format));
    format->num_parts = num_parts;
+   for (i = 0; i < BT_MAX_NAMEPARTS; i++)
+      part_pos[i] = -2;
    for (i = 0; i < num_parts; i++)
    {
       switch (parts[i])
@@ -904,6 +906,11 @@ dump_format (bt_name_format * format)
       
    for (i = 0; i < BT_MAX_NAMEPARTS; i++)
    {
+      int j;
+      for (j = 0; j < format->num_parts; j++)
+         if (i == format->parts[j])
+           break;
+      if (j == format->num_parts) continue;
       printf ("  %-5s: pre-part=%p (%s), post-part=%p (%s)\n",
               nameparts[i], 
               format->pre_part[i], format->pre_part[i], 
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to