projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/firewire: nosy-dump: work around segfault in decode_fcp
[linux-2.6-microblaze.git]
/
tools
/
firewire
/
nosy-dump.c
diff --git
a/tools/firewire/nosy-dump.c
b/tools/firewire/nosy-dump.c
index
0bad0a4
..
1d4dd54
100644
(file)
--- a/
tools/firewire/nosy-dump.c
+++ b/
tools/firewire/nosy-dump.c
@@
-230,6
+230,11
@@
handle_transaction(struct link_transaction *t)
struct subaction *sa;
int i;
+ if (!t->request) {
+ printf("BUG in handle_transaction\n");
+ return;
+ }
+
for (i = 0; i < array_length(protocol_decoders); i++)
if (protocol_decoders[i].decode(t))
break;