Title: [8202] trunk/kernel/kgdb.c: Fix bug[#5831] Forgot to move bytes after XORed char.
- Revision
- 8202
- Author
- sonicz
- Date
- 2010-01-20 01:20:41 -0500 (Wed, 20 Jan 2010)
Log Message
Fix bug[#5831] Forgot to move bytes after XORed char.
as indicated by Jason Wessel <[email protected]>
Modified Paths
Diff
Modified: trunk/kernel/kgdb.c (8201 => 8202)
--- trunk/kernel/kgdb.c 2010-01-20 03:21:32 UTC (rev 8201)
+++ trunk/kernel/kgdb.c 2010-01-20 06:20:41 UTC (rev 8202)
@@ -399,9 +399,9 @@
char *c = buf;
while (count-- > 0) {
+ c[size] = buf++;
if (c[size] == 0x7d)
c[size] = *buf++ ^ 0x20;
- buf++;
size++;
}
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits