Joel Rangsmo
ab50088d7d
Polish of problem template and clarifying questions
2022-01-26 13:52:27 +00:00
Mattias Wadman
aea48847c5
github: Add basic issue template
2022-01-25 20:42:35 +01:00
Mattias Wadman
261acce4fc
Merge pull request #106 from wader/bump-make-golangci-lint-1.44.0
...
Update make-golangci-lint from 1.43.0 to 1.44.0
2022-01-25 17:33:38 +01:00
Mattias Wadman
911f24beeb
Merge pull request #107 from wader/bump-github-golangci-lint-1.44.0
...
Update github-golangci-lint from 1.43.0 to 1.44.0
2022-01-25 17:33:31 +01:00
Mattias Wadman
898dfec1d1
lint: Fix typeassert and case exhaustive warnings
2022-01-25 17:23:41 +01:00
bump
1e859cdaef
Update github-golangci-lint from 1.43.0 to 1.44.0
...
Release notes https://github.com/golangci/golangci-lint/releases/tag/v1.44.0
2022-01-25 16:09:21 +00:00
bump
d02d8968e7
Update make-golangci-lint from 1.43.0 to 1.44.0
2022-01-25 16:09:18 +00:00
Mattias Wadman
9983149143
Merge pull request #104 from wader/mp3-less-max-sync-seek
...
mp3: Decrease max sync seek length between frames to 4k
2022-01-25 16:19:24 +01:00
Mattias Wadman
8d2d88f4d0
mp3: Decrease max sync seek length between frames to 4k
...
This might break mp3s with large id3v2 chunks embedded into the stream but
i think that is rare and probably means it is a dump of a mp3 radio stream etc.
An alternative approach is to also look for id3v2 etc between frames but then the mp3
root value probably should be an array of mix of things instead of a struct, or rename
header/footer to metadata?
Related to #103
2022-01-25 16:08:43 +01:00
Mattias Wadman
4cb9dcf0ef
Merge pull request #102 from wader/interp-grep-by
...
interp: Add grep_by/1 to recursively match using a filter
2022-01-24 18:30:16 +01:00
Mattias Wadman
e792598c69
interp: Add grep_by/1 to recursively match using a filter
...
Refactor other grep functions to use it
2022-01-24 18:26:25 +01:00
Mattias Wadman
4f490e5618
Merge pull request #99 from wader/mpeg-spu-fatal-infinit-loop
...
mpeg_spu: Fatal error on infinite loop
2022-01-24 17:53:56 +01:00
Mattias Wadman
bc107f82e4
Merge pull request #101 from wader/dump-sym-correct-color
...
interp: Use correct sym color
2022-01-24 17:53:46 +01:00
Mattias Wadman
8c15317fef
Merge pull request #100 from wader/fuzz-all-formats2
...
fuzz: Fuzz all formats
2022-01-24 17:53:40 +01:00
Mattias Wadman
c31ec2a388
interp: Use correct sym color
2022-01-24 16:57:35 +01:00
Mattias Wadman
b8efd8e549
fuzz: Fuzz all formats
...
Fix string readers to not panic on make slice with bogus sizes
2022-01-24 16:56:24 +01:00
Mattias Wadman
febce5a5a4
mpeg_spu: Fatal error on infinite loop
2022-01-24 16:53:55 +01:00
Mattias Wadman
6fcfa77300
Merge pull request #97 from wader/mp4-sgpd-box-infinite-error
...
mp4,fuzz: Fatal error on infinite sgpd box entries
2022-01-23 14:29:32 +01:00
Mattias Wadman
d555c3248c
mp4,fuzz: Fatal error on infinite sgpd box entries
...
Also rename array to entries
2022-01-23 14:24:57 +01:00
Mattias Wadman
21ce6574fa
Merge pull request #96 from wader/pcapng-fatal-on-negzero-blocklen
...
pcapng,fuzz: Fix infinite loop by fatal error on block length <= 0
2022-01-23 13:39:04 +01:00
Mattias Wadman
d1943dad49
pcapng,fuzz: Fix infinite loop by fatal error on block length <= 0
...
Also add dev/fuzzbytes.go tool to convert fuzz input to raw bytes
2022-01-23 13:34:56 +01:00
Mattias Wadman
9d7ea7ad25
Merge pull request #95 from wader/interp-fix-stdin-decode-group-error
...
interp: Fix handling of group decode error from stdin
2022-01-23 13:30:53 +01:00
Mattias Wadman
bf7a483f87
interp: Fix handling of group decode error from stdin
...
null input to open means stdin but it as also erroneously also used as object key
to store the error.
2022-01-23 12:41:31 +01:00
Mattias Wadman
6c519ea890
Merge pull request #94 from wader/zip-assert-not-validate
...
zip: Assert signature not validate
2022-01-22 16:31:58 +01:00
Mattias Wadman
778a1a4178
zip: Assert signature not validate
2022-01-22 16:26:03 +01:00
Mattias Wadman
b700194ac7
Merge pull request #93 from wader/id3v2-assert-magic
...
id3v2: Should assert not validate magic
2022-01-22 16:22:21 +01:00
Mattias Wadman
85371173b5
id3v2: Should assert not validate magic
...
Fixes issue with mp3 frame that happens to have a 2,3 or 4 at byte 3 being seen as id3v2 header
2022-01-22 16:16:29 +01:00
Mattias Wadman
49c90f89b2
doc: Add macOS security notes and move supported format up a bit
2022-01-22 11:49:31 +01:00
Mattias Wadman
47c978e424
goreleaser: Use zip for macos
2022-01-21 16:30:35 +01:00
Mattias Wadman
04dd153c2f
goreleaser: Fix yml and description
2022-01-21 15:19:55 +01:00
Mattias Wadman
8b30504bb8
goreleaser: Skip homebrew upload for -rc
2022-01-21 14:10:16 +01:00
Mattias Wadman
aa7adb681d
fq: Update version to 0.0.4
2022-01-21 13:54:07 +01:00
Mattias Wadman
8d10423d06
make: Fix quote issue in release script
2022-01-21 12:16:34 +01:00
Mattias Wadman
34a09c40a7
Merge pull request #90 from wader/decode-stable-sort
...
decode: Use stable sort for values to not change order or values with…
2022-01-20 16:34:47 +01:00
Mattias Wadman
3201314415
Merge pull request #91 from wader/decode-array-root-buf
...
decode: Add FieldArrayRootBitBufFn for completeness
2022-01-20 16:33:09 +01:00
Mattias Wadman
9198e18c10
decode: Add FieldArrayRootBitBufFn for completeness
...
Should rethink these, not very nice api
2022-01-20 16:27:52 +01:00
Mattias Wadman
cd025f80df
Merge pull request #89 from wader/fuzz-skip-other-tests
...
fuzz: Skip other tests when fuzzing
2022-01-20 16:22:21 +01:00
Mattias Wadman
cf8a50c150
decode: Use stable sort for values to not change order or values with same range start
...
Some decoders might relay on values added with same start to be kept in same order.
2022-01-20 16:21:50 +01:00
Mattias Wadman
7461264e40
fuzz: Skip other tests when fuzzing
2022-01-20 16:13:02 +01:00
Mattias Wadman
2173d9e1f9
Merge pull request #88 from wader/fq-version-in-source
...
fq: Embed version in source
2022-01-19 21:38:22 +01:00
Mattias Wadman
78c0775e63
fq: Embed version in source
...
Related to #68
2022-01-19 20:45:08 +01:00
Mattias Wadman
059e287227
todo: Cleanup add some known issues and deoder ideas
2022-01-18 17:52:51 +01:00
Mattias Wadman
ae167bbfb4
Merge pull request #87 from wader/tar-allow-more-than-2-zero-block-at-end
...
tar: Allow more than 2 zero end blocks at end
2022-01-18 13:01:08 +01:00
Mattias Wadman
ba1edef793
tar: Allow more than 2 zero end blocks at end
2022-01-18 12:54:50 +01:00
Mattias Wadman
39d4d846d7
Merge pull request #86 from wader/tar-dont-assume-endmarker
...
tar: Don't assume there is a end marker
2022-01-18 12:20:59 +01:00
Mattias Wadman
6181128c65
Merge pull request #85 from wader/decode-error-number-neg-nbits
...
decode: Error on negative number of bits when reading numbers
2022-01-18 12:14:36 +01:00
Mattias Wadman
5921d76bf0
tar: Don't assume there is a end marker
...
GNU tar docs says:
At the end of the archive file there are two 512-byte blocks filled with binary zeros as an
end-of-file marker. A reasonable system should write such end-of-file marker at the end of
an archive, but must not assume that such a block exists when reading an archive.
In particular GNU tar always issues a warning if it does not encounter it.
Also clean up API usage a bit
2022-01-18 12:12:34 +01:00
Mattias Wadman
51f958278e
Merge pull request #84 from wader/flac-dont-allow-zero-samplesize
...
flac: Don't allow zero subframe sample size
2022-01-18 12:03:54 +01:00
Mattias Wadman
ff5c0b8195
decode: Error on negative number of bits when reading numbers
...
Maybe should even give error on zero bits? maybe only allow for zero bit for unsigned ints?
2022-01-18 12:01:04 +01:00
Mattias Wadman
263f1aeb66
flac: Don't allow zero subframe sample size
...
Spec says sample size can be 4-32 but that is probably before correcting for waste bits
2022-01-18 11:58:57 +01:00