mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
One more fix to prevent buffer overruns. (#314081, Hans Breuer)
2005-08-22 Matthias Clasen <mclasen@redhat.com> * gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer overruns. (#314081, Hans Breuer)
This commit is contained in:
parent
f2fbb48a81
commit
8da86542c5
@ -1,3 +1,8 @@
|
||||
2005-08-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
|
||||
overruns. (#314081, Hans Breuer)
|
||||
|
||||
2005-08-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-08-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
|
||||
overruns. (#314081, Hans Breuer)
|
||||
|
||||
2005-08-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
|
||||
|
@ -1,3 +1,8 @@
|
||||
2005-08-22 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkhsv.c (paint_triangle): One more fix to prevent buffer
|
||||
overruns. (#314081, Hans Breuer)
|
||||
|
||||
2005-08-20 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_get_layout): Clarify that the
|
||||
|
@ -1195,6 +1195,7 @@ paint_triangle (GtkHSV *hsv,
|
||||
|
||||
x_start = MAX (xl - PAD, x);
|
||||
x_end = MIN (xr + PAD, x + width);
|
||||
x_start = MIN (x_start, x_end);
|
||||
|
||||
c = (rl << 16) | (gl << 8) | bl;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user