diff options
author | Patrick Griffis <tingping@tingping.se> | 2015-10-30 00:57:25 -0400 |
---|---|---|
committer | Patrick Griffis <tingping@tingping.se> | 2015-10-30 01:22:13 -0400 |
commit | c8539b93fe65977ee507b473e9dd62a1cc7bec53 (patch) | |
tree | f764c526e07affd1d773f3b9e8766a2a4a0b298a /src/common/sysinfo | |
parent | 1e914347d700de3d3d8f6c7947a97160bb866e51 (diff) |
xtext: Fix overflow on long lines
xtext keeps a static buffer and uses it for various things and asserts that every text entry is < 4096. It does this check on gtk_xtext_append*() except it does the check only on the right half of text when indent is enabled. This overflow caused corruption in the xtext struct changing the url check functions making hovering with the mouse do 'undefined' things. In the long term this should be removed for a dynamically allocated buffer so no arbitrary size limit exists and text gets cut off. Fixes #1465 Fixes #1186 Fixes #1206
Diffstat (limited to 'src/common/sysinfo')
0 files changed, 0 insertions, 0 deletions