* [PATCH] tools/btmgmt: Fix illegal memory access
@ 2015-02-16 9:03 Andrei Emeltchenko
2015-02-16 9:12 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Emeltchenko @ 2015-02-16 9:03 UTC (permalink / raw)
To: linux-bluetooth
From: Andrei Emeltchenko <andrei.emeltchenko@intel.com>
---
tools/btmgmt.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/btmgmt.c b/tools/btmgmt.c
index 7cf82e2..3ff0724 100644
--- a/tools/btmgmt.c
+++ b/tools/btmgmt.c
@@ -3392,7 +3392,7 @@ static char *cmd_generator(const char *text, int state)
return strdup(cmd);
}
- while (j++ < NELEM(interactive_cmd)) {
+ while (j < NELEM(interactive_cmd)) {
cmd = interactive_cmd[j++].cmd;
if (!strncmp(cmd, text, len))
--
2.1.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] tools/btmgmt: Fix illegal memory access
2015-02-16 9:03 [PATCH] tools/btmgmt: Fix illegal memory access Andrei Emeltchenko
@ 2015-02-16 9:12 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2015-02-16 9:12 UTC (permalink / raw)
To: Andrei Emeltchenko; +Cc: linux-bluetooth
Hi Andrei,
On Mon, Feb 16, 2015, Andrei Emeltchenko wrote:
> ---
> tools/btmgmt.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied. Thanks.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-02-16 9:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-16 9:03 [PATCH] tools/btmgmt: Fix illegal memory access Andrei Emeltchenko
2015-02-16 9:12 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).