Fix memory access error. (#69436)

2003-07-11  Morten Welinder  <terra@gnome.org>

	* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
	access error.  (#69436)
This commit is contained in:
Morten Welinder 2003-07-11 17:32:49 +00:00 committed by Morten Welinder
parent b05ee303e7
commit 469f6e87a5
6 changed files with 26 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org>
Landing GtkTreeModelFilter and the completion code. (Test program

View File

@ -1,3 +1,8 @@
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org>
Landing GtkTreeModelFilter and the completion code. (Test program

View File

@ -1,3 +1,8 @@
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org>
Landing GtkTreeModelFilter and the completion code. (Test program

View File

@ -1,3 +1,8 @@
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org>
Landing GtkTreeModelFilter and the completion code. (Test program

View File

@ -1,3 +1,8 @@
2003-07-11 Morten Welinder <terra@gnome.org>
* gdk/x11/gdkcursor-x11.c (gdk_cursor_new_from_pixbuf): Fix memory
access error. (#69436)
Fri Jul 11 14:32:43 2003 Kristian Rietveld <kris@gtk.org>
Landing GtkTreeModelFilter and the completion code. (Test program

View File

@ -515,7 +515,7 @@ gdk_cursor_new_from_pixbuf (GdkDisplay *display,
*md |= 1 << (i % 8);
src += n_channels;
if (i % 8 == 0)
if (i % 8 == 7)
{
d++;
md++;