Skip to content

Commit

Permalink
gprobe:// receiving is fixed, so checksums can be verified ##io
Browse files Browse the repository at this point in the history
  • Loading branch information
eibach authored and trufae committed Nov 7, 2023
1 parent b00bb2b commit 49ddb03
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions libr/io/p/io_gprobe.c
Original file line number Diff line number Diff line change
Expand Up @@ -682,16 +682,13 @@ static int gprobe_get_reply_sp(struct gport *port, ut8 cmd, RBuffer *reply) {
return -1;
}

/* checksumming answers does not work reliably */
#if 0
if (gprobe_checksum(buf, count - 1) != buf[count - 1]) {
printf("### CHECKSUM FAILED\n");
}
#endif

r_buf_append_bytes (reply, buf + 2, count - 3);

return 0;
return buf[1]; // cmd
}

static int gprobe_send_request_sp(struct gport *port, RBuffer *request) {
Expand Down

0 comments on commit 49ddb03

Please sign in to comment.