diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-12-08 11:06:17 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-12-08 11:06:17 (GMT) |
commit | 3ad8e821ec6a6e8408a9fc737b385aa863c67123 (patch) | |
tree | 078e95ac23aabe0762d9a48746f363bf7bd91600 /src/glibext/gbufferline.h | |
parent | f36b525987442d46c920f76dced29356663ae85b (diff) |
Fixed one UAF when dealing with line text segments.
Diffstat (limited to 'src/glibext/gbufferline.h')
-rw-r--r-- | src/glibext/gbufferline.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/glibext/gbufferline.h b/src/glibext/gbufferline.h index 1d36d95..fe5cede 100644 --- a/src/glibext/gbufferline.h +++ b/src/glibext/gbufferline.h @@ -196,13 +196,13 @@ void g_buffer_line_collect_widths(GBufferLine *, line_width_summary *); gint g_buffer_line_compute_max_width(const GBufferLine *, BufferLineColumn, const line_width_summary *, const line_width_summary *); /* Fournit le segment présent à une position donnée. */ -const line_segment *g_buffer_line_get_segment_from_coord(const GBufferLine *, const col_coord_t *); +line_segment *g_buffer_line_get_segment_from_coord(const GBufferLine *, const col_coord_t *); /* Fournit les coordonnées correspondant à une abscisse donnée. */ bool g_buffer_line_get_coord_at(const GBufferLine *, const line_width_summary *, const GDisplayOptions *, const line_width_summary *, gint *, gint *, GdkScrollDirection, bool, col_coord_t *); /* Donne le segment présent à une abscisse donnée. */ -const line_segment *g_buffer_line_get_segment_at(const GBufferLine *, const line_width_summary *, const GDisplayOptions *, const line_width_summary *, gint *, gint *, GdkScrollDirection, bool); +line_segment *g_buffer_line_get_segment_at(const GBufferLine *, const line_width_summary *, const GDisplayOptions *, const line_width_summary *, gint *, gint *, GdkScrollDirection, bool); /* Donne le créateur présent à une abscisse donnée. */ GObject *g_buffer_line_get_creator_at(const GBufferLine *, const line_width_summary *, const GDisplayOptions *, const line_width_summary *, gint *, gint *, GdkScrollDirection, bool); |