Sean Barrett
59f06c1a97
stb_ds: move temp_key added by PR into hash_table structure instead of main header struct
ago%!(EXTRA string=5 years)
Sean Barrett
ef23148510
Merge branch 'master' of https://github.com/srdjanstipic/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
580fc1ab9b
Merge branch 'stb_vorbis-fix-comment-read-oom' of https://github.com/akien-mga/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
db2acff8b1
stb_vorbis: fix bug in computing end of temp alloc buffer if it's not a multiple of 8
ago%!(EXTRA string=5 years)
Sean Barrett
3152efaa97
Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
f3085776a4
Merge branch 'patch-1' of https://github.com/coltongit/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
589a678b65
Merge branch 'master' of https://github.com/recp/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
a9df364a7c
Merge branch 'fix_stb_vorbis_alignment' of https://github.com/RandomShaper/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
bfaccab17a
Merge branch 'stb-image-fuzzing-fixes' of https://github.com/rcgordon/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
58b2e1490d
Merge branch 'fix_alloca' of https://github.com/Clownacy/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
ce54bbc454
Merge branch 'master' of https://github.com/AdamKorcz/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
0ccb4f0071
Merge branch 'rg-matchcolors' of https://github.com/castano/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
5a8702567a
credit for PR
ago%!(EXTRA string=5 years)
Sean Barrett
da888065bf
Merge branch 'master' of https://github.com/Vawx/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
fb1cea02f8
tweak PR
ago%!(EXTRA string=5 years)
Sean Barrett
add7adc3ea
Merge branch 'patch-1' of https://github.com/vickit144/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
fd9c3ea4af
Merge branch 'bmp-assert' of https://github.com/zturtleman/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
6f7420a825
add credits for last few PR merges
ago%!(EXTRA string=5 years)
Sean Barrett
67881b61ab
Merge branch 'stbds-arraddn' of https://github.com/HeroicKatora/stb into working
ago%!(EXTRA string=5 years)
Sean Barrett
1c816743b6
make PR compile in MSVC6
ago%!(EXTRA string=5 years)
Sean Barrett
cae8e852f6
Merge branch 'perfect-endpoint-quantization' of https://github.com/castano/stb into test
ago%!(EXTRA string=5 years)
Sean Barrett
cae97bdb17
Merge branch 'alloca-fix' of https://github.com/mackron/stb into test
ago%!(EXTRA string=5 years)
Sean Barrett
fdafd1aab4
Merge branch 'loadgif-realloc-sized' of https://github.com/SasLuca/stb into test
ago%!(EXTRA string=5 years)
Sean Barrett
b3a74a5c8a
fix PR to work on VC6
ago%!(EXTRA string=5 years)
Sean Barrett
206529e08e
Merge branch 'unused#801' of https://github.com/hashitaku/stb into test
ago%!(EXTRA string=5 years)
Sean Barrett
dfdb7d9c14
stb_ds: use keyoffset in key comparison
ago%!(EXTRA string=5 years)
Sean Barrett
523a14f3e1
stb_image_write: small buffer to avoid calling fwrite on every pixel
ago%!(EXTRA string=5 years)
Sean Barrett
802a1df278
tweak indentation
ago%!(EXTRA string=5 years)
Sean Barrett
c5b527aa01
modern seeding of mersenne twister
ago%!(EXTRA string=5 years)
Srđan Stipić
1e400e21d2
stb_ds: fix shputs() for strdup and arena hash table
ago%!(EXTRA string=5 years)
Rémi Verschelde
c24de24aa8
stb_vorbis: Add missing error checks in comment reading mallocs
...
Fixes #988 .
ago%!(EXTRA string=5 years)
Randy
3b14b5afa6
Update Makefile
ago%!(EXTRA string=5 years)
Randy
c8303509fa
make fuzz target compilable as c++ code
ago%!(EXTRA string=5 years)
Randy
9cd6cdc0e5
add ossfuzz build script
ago%!(EXTRA string=5 years)
Randy
a6b384358f
Merge branch 'fuzzer_updates' of https://github.com/randy408/stb into fuzzer_updates
ago%!(EXTRA string=5 years)
Randy
a7fed59fe4
add fuzz target to Makefile
ago%!(EXTRA string=5 years)
Colton G. Rushton
9e292f0731
Fix minor typo in comment on line 6532
ago%!(EXTRA string=5 years)
Recep Aslantas
ec898982b0
stbi: use __thread if GCC can't use _Thread_local
ago%!(EXTRA string=5 years)
Recep Aslantas
8cb98357de
stbi: fix thread local selector
...
* GCC < 5 supports __thread and GCC >= 5 supports C11 with _Thread_local
* Skip _Thread_local for MSVC because it may not be supported
ago%!(EXTRA string=5 years)
Randy
d1d0e9fdb0
add fuzz target to Makefile
ago%!(EXTRA string=5 years)
Randy
5a7af50fa5
remove stb_png_read_fuzzer.options
ago%!(EXTRA string=5 years)
Randy
88062723ff
rename fuzz target
ago%!(EXTRA string=5 years)
Randy
b75413f8a4
do not define STBI_ONLY_PNG in fuzz target
ago%!(EXTRA string=5 years)
Randy
4bafa56899
rename fuzz target, add entry point
ago%!(EXTRA string=5 years)
Pedro J. Estébanez
2d0faa4d26
stb_vorbis.c: Fix missing update to 64-bit alignment
ago%!(EXTRA string=5 years)
Ryan C. Gordon
c29138ba59
Add randy408 to the "Bug warnings & fixes" list.
ago%!(EXTRA string=5 years)
Randy
29d639546d
fix integer arithmetic in stbi__zexpand()
ago%!(EXTRA string=5 years)
Ryan C. Gordon
b09cb2c6f5
Add Ryan C. Gordon to "Bug & warning fixes" contribution list.
ago%!(EXTRA string=5 years)
Ryan C. Gordon
89f3f35c9f
stbi__skip should return immediately if skipping zero bytes.
...
Otherwise we might waste time or throw away state in the i/o callbacks.
ago%!(EXTRA string=5 years)
Ryan C. Gordon
d60594847e
Reject images that are too large (as defined by the application).
...
The BMP loader already had this hardcoded to (1 << 24) pixels, so this seems
like a good default to apply to all formats, but many apps will want to clamp
this much much lower.
It's possible to craft malicious but valid images that are enormous, causing
stb_image to allocate tons of memory and eat a ton of CPU, so locking these
to a maximum permitted size can save a lot of headaches in the wild.
ago%!(EXTRA string=5 years)