Mailinglist Archive: opensuse-commit (1159 mails)
| < Previous | Next > |
commit gocr
- From: root@xxxxxxxxxxxxxxx (h_root)
- Date: Thu, 18 Oct 2007 15:37:35 +0200
- Message-id: <20071018133736.0B852678182@xxxxxxxxxxxxxxx>
Hello community,
here is the log from the commit of package gocr
checked in at Thu Oct 18 15:37:35 CEST 2007.
--------
--- gocr/gocr.changes 2007-08-10 01:51:45.000000000 +0200
+++ /mounts/work_src_done/STABLE/gocr/gocr.changes 2007-10-18 13:51:02.000000000 +0200
@@ -1,0 +2,5 @@
+Thu Oct 18 13:50:44 CEST 2007 - meissner@xxxxxxx
+
+- fixed 1 byte buffer overflow due to bug
+
+-------------------------------------------------------------------
New:
----
gocr-overflow.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gocr.spec ++++++
--- /var/tmp/diff_new_pack.a16352/_old 2007-10-18 15:36:55.000000000 +0200
+++ /var/tmp/diff_new_pack.a16352/_new 2007-10-18 15:36:55.000000000 +0200
@@ -14,15 +14,16 @@
BuildRequires: ghostscript-fonts-other ghostscript-fonts-std ghostscript-x11 gtk1-compat-devel libnetpbm-devel transfig update-desktop-files
Summary: GOCR--Optical Character Recognition
Version: 0.41
-Release: 71
+Release: 99
Group: Productivity/Graphics/Other
Requires: tcl tk
License: GPL v2 or later
-URL: http://www-e.uni-magdeburg.de/jschulen/ocr/index.html
+Url: http://www-e.uni-magdeburg.de/jschulen/ocr/index.html
Source: gocr-%{version}.tar.bz2
Source1: gocr.desktop
Patch0: gocr-%{version}.dif
Patch1: gocr-%{version}-pgm.patch
+Patch2: gocr-overflow.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -47,6 +48,7 @@
rm -rf */CVS
%patch0
%patch1
+%patch2
%build
CFLAGS=$RPM_OPT_FLAGS \
@@ -98,8 +100,9 @@
%{_includedir}/gocr.h
%defattr(-, root, root)
# spec file ends here
-
%changelog
+* Thu Oct 18 2007 - meissner@xxxxxxx
+- fixed 1 byte buffer overflow due to bug
* Fri Aug 10 2007 - ro@xxxxxxx
- added libnetpbm-devel to the buildreq
* Sun Apr 22 2007 - aj@xxxxxxx
++++++ gocr-overflow.patch ++++++
--- frontend/gnome/src/functions.c
+++ frontend/gnome/src/functions.c
@@ -335,7 +335,7 @@
gtk_widget_show ( GTK_WIDGET (label));
if ( Path == NULL)
{
- Path = g_malloc(strlen("/usr/bin/gocr\0"+1));
+ Path = g_malloc(strlen("/usr/bin/gocr")+1);
sprintf(Path,"/usr/bin/gocr");
}
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx
| < Previous | Next > |