Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(415)

Unified Diff: opcodes/arc-dis.c

Issue 124383005: GDB 7.6.50 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@upstream
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « opcodes/aclocal.m4 ('k') | opcodes/arm-dis.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: opcodes/arc-dis.c
diff --git a/opcodes/arc-dis.c b/opcodes/arc-dis.c
index 0e16cde239d78ede81a8d09eb39c3581957aefb4..df842fd7caf87a5046448680870d3a76789a47e5 100644
--- a/opcodes/arc-dis.c
+++ b/opcodes/arc-dis.c
@@ -426,8 +426,7 @@ write_comments_(struct arcDisState * state,
strcpy (state->commentBuffer, comment_prefix);
else
strcat (state->commentBuffer, ", ");
- strncat (state->commentBuffer, state->comm[i],
- sizeof (state->commentBuffer));
+ strcat (state->commentBuffer, state->comm[i]);
}
}
}
« no previous file with comments | « opcodes/aclocal.m4 ('k') | opcodes/arm-dis.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698