diff options
author | Wim <wim@42.be> | 2019-07-08 22:19:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 22:19:45 +0200 |
commit | 1fb91c6316f86426d62d38562f957963a522cdd1 (patch) | |
tree | e06fcb74dfab8269d7d9a5abed3587b1f32a897f /vendor/gitlab.com/golang-commonmark/linkify/util.go | |
parent | e60949ff3f84e899d25103f85ed948d26a1b44c3 (diff) | |
download | matterbridge-msglm-1fb91c6316f86426d62d38562f957963a522cdd1.tar.gz matterbridge-msglm-1fb91c6316f86426d62d38562f957963a522cdd1.tar.bz2 matterbridge-msglm-1fb91c6316f86426d62d38562f957963a522cdd1.zip |
Fix panic by checking slice bounds in handleEntities (telegram). Fixes #857 (#858)
Besides the bound checking, this now also use utf16 as suggested by
https://github.com/go-telegram-bot-api/telegram-bot-api/issues/231
Diffstat (limited to 'vendor/gitlab.com/golang-commonmark/linkify/util.go')
0 files changed, 0 insertions, 0 deletions