View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000327 | file | General | public | 2022-03-15 00:28 | 2022-03-21 21:24 |
Reporter | vinc17 | Assigned To | christos | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 5.41 | ||||
Fixed in Version | 5.42 | ||||
Summary | 0000327: fails to detect a json file as JSON data | ||||
Description | file 5.41 fails to detect the attached json file as JSON data. | ||||
Steps To Reproduce | $ file Q3235109.json Q3235109.json: ASCII text, with very long lines (2409), with no line terminators And with the -d option, I can see: "[try json 0]". | ||||
Additional Information | The json_pp utility doesn't detect any issue on this file. | ||||
Tags | No tags attached. | ||||
|
|
|
By the way "cc -DTEST is_json.c" and "cc -DTEST is_tar.c" are broken, "cc -DTEST is_csv.c" still works. |
|
--- is_json.c.bak 2022-03-21 15:13:15.933289900 +0100 +++ is_json.c 2022-03-21 15:14:48.814366000 +0100 @@ -37,6 +37,8 @@ #include <string.h> #include "magic.h" +#else +#include <stddef.h> #endif #ifdef DEBUG |
|
Bumped recursion limit. |
Date Modified | Username | Field | Change |
---|---|---|---|
2022-03-15 00:28 | vinc17 | New Issue | |
2022-03-15 00:28 | vinc17 | File Added: Q3235109.json | |
2022-03-21 14:04 | polluks | Note Added: 0003711 | |
2022-03-21 14:19 | polluks | Note Added: 0003712 | |
2022-03-21 21:24 | christos | Assigned To | => christos |
2022-03-21 21:24 | christos | Status | new => assigned |
2022-03-21 21:24 | christos | Status | assigned => resolved |
2022-03-21 21:24 | christos | Resolution | open => fixed |
2022-03-21 21:24 | christos | Fixed in Version | => 5.42 |
2022-03-21 21:24 | christos | Note Added: 0003715 |