Fix a bug in inspect.c that allows reading beyong a packet size.

If a packet contains multiple frames, this bug may allow "inspect"
to read more than the current packet, creating corrupted results.
This patch fixes it.

Change-Id: I6378884e67fadc7eb0fd13ebeb3285c35da08a11
diff --git a/examples/inspect.c b/examples/inspect.c
index 653bbbc..304bbc8 100644
--- a/examples/inspect.c
+++ b/examples/inspect.c
@@ -792,6 +792,7 @@
     }
 
     frame = adr.buf;
+    frame_size = end_frame - frame;
     if (frame == end_frame) have_frame = 0;
   } while (adr.show_existing);