[geany/geany-plugins] f0eb05: debugger/gdb_mi: Fix possible out-of-bounds read
Colomban Wendling
git-noreply at xxxxx
Sun Nov 15 17:28:24 UTC 2015
Branch: refs/heads/master
Author: Colomban Wendling <ban at herbesfolles.org>
Committer: Colomban Wendling <ban at herbesfolles.org>
Date: Sun, 08 Mar 2015 19:46:25 UTC
Commit: f0eb05ca208bd49b53fdb56e3102f5b24b284584
https://github.com/geany/geany-plugins/commit/f0eb05ca208bd49b53fdb56e3102f5b24b284584
Log Message:
-----------
debugger/gdb_mi: Fix possible out-of-bounds read
Modified Paths:
--------------
debugger/src/gdb_mi.c
Modified: debugger/src/gdb_mi.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -308,7 +308,7 @@ struct gdb_mi_record *gdb_mi_record_parse(const gchar *line)
/* extract record */
record->type = *line;
- ++line;
+ if (*line) ++line;
while (g_ascii_isspace(*line)) line++;
switch (record->type)
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Plugins-Commits
mailing list