Summary: | kate crash on invalid line number to KateDocument::defStyleNum() | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | Alex Turbov <i.zaufi> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kate/07a020e27277e62fe47e2b9859f12aa266c0f26d | Version Fixed In: | 4.10.2 |
Description
Alex Turbov
2013-03-21 04:17:14 UTC
KateDocument::defStyle() must validate parameters to prevent out of range array access. Git commit 07a020e27277e62fe47e2b9859f12aa266c0f26d by Dominik Haumann. Committed on 21/03/2013 at 08:54. Pushed by dhaumann into branch 'KDE/4.10'. guard KateDocument::defStyleNum() against invalid cursor input FIXED-IN: 4.10.2 M +3 -0 part/document/katedocument.cpp http://commits.kde.org/kate/07a020e27277e62fe47e2b9859f12aa266c0f26d |