diff options
| author | Louis Burda <quent.burda@gmail.com> | 2021-05-20 18:54:00 +0200 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2021-05-20 18:54:00 +0200 |
| commit | 52fa3462e73b1a187b0df1413746bf500bf28ba8 (patch) | |
| tree | ee10fd689789ef8f2031f2115b62317380cc5278 /service/src/stlfile.c | |
| parent | 1109a88447e1c5cefe6ed93eccc8dcf8cd595d0e (diff) | |
| download | enowars5-service-stldoctor-52fa3462e73b1a187b0df1413746bf500bf28ba8.tar.gz enowars5-service-stldoctor-52fa3462e73b1a187b0df1413746bf500bf28ba8.zip | |
fixed checker havocid to be compatible with where they were used without triggering exploits
Diffstat (limited to 'service/src/stlfile.c')
| -rw-r--r-- | service/src/stlfile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/service/src/stlfile.c b/service/src/stlfile.c index 7b691d0..1f4dc66 100644 --- a/service/src/stlfile.c +++ b/service/src/stlfile.c @@ -361,8 +361,9 @@ print_info(struct parseinfo *info) printf(" File Size: %u\n", info->filesize); if (info->type == TYPE_BIN) { - printf(" Header:\n "); + printf(" Header:\n"); for (i = 0; i < 80; i += k) { + printf(" "); for (k = 0; k < MIN(80 - i, 20); k++) printf(" %02x", (uint8_t) info->header[i+k]); printf(" | "); |
