Commit Graph

2176 Commits

Author SHA1 Message Date
cf6f69cdc9 Fix the calculation of the input image shift when using subpixel regions. Includes some more tests which had incorrect results before and now work fine. 2015-11-08 16:40:32 -08:00
bc2219e1b3 fix multiple crashes on invalid files 2015-11-08 16:22:07 -08:00
bdac1d2ab4 fix two crashes in invalid files 2015-11-08 16:01:40 -08:00
70b33e99f0 fix crash from invalid file 2015-11-08 14:04:56 -08:00
ea88e59b5d fix invalid handling of truncated end-of-file indicator 2015-11-08 13:45:33 -08:00
69a318bdb3 fix two invalid-file crashes found by fuzz testing 2015-11-08 13:20:55 -08:00
2073403a5f fix two setup crashes found by fuzz testing 2015-11-08 13:09:30 -08:00
297ff62859 change bmp info to use common header parser 2015-11-08 13:09:16 -08:00
876aea3dbe refactor bmp header parser for sharing with stbi_info 2015-11-08 01:22:30 -08:00
16fc63404d suppress bogus static analysis warning 2015-11-08 01:03:37 -08:00
6382e49063 don't crash if out of memory allocating a new active edge (assert in debug) 2015-11-08 00:54:49 -08:00
0615df6c9b allows comments in pgm/ppm headers 2015-11-08 00:45:17 -08:00
a0f850421d Merge branch 'master' into working 2015-11-08 00:41:01 -08:00
31eff2dcaf fix bug in integer parsing 2015-11-08 00:37:52 -08:00
9f1a587d22 stb_image.h: Fix/add some comments. 2015-11-05 23:34:44 +01:00
8603c6e809 stb_image.h: Only define stbi__l2h_{gamme,scale} when needed.
This fixes a (well, actually the only) compiler warning.
2015-11-05 23:32:40 +01:00
3f73dfd7ce Update other_libs.md 2015-11-05 06:49:02 -08:00
fa9a6e4e0a Update other_libs.md 2015-11-05 06:48:42 -08:00
d4cea6123a Update other_libs.md 2015-11-05 05:13:00 -08:00
20eea21e01 Update other_libs.md 2015-11-05 05:11:34 -08:00
a44e950d9a Update other_libs.md 2015-11-05 04:58:42 -08:00
b6602ab085 Update other_libs.md 2015-11-05 04:51:38 -08:00
450db24449 Update other_libs.md 2015-11-05 04:47:49 -08:00
76b8ff0051 Update other_libs.md 2015-11-05 04:47:36 -08:00
d113bea69a typo in shader
Should be mat4 or mat4x4, not mat44
2015-11-04 14:02:33 -06:00
702c5bfee8 Update other_libs.md 2015-11-03 15:10:58 -08:00
8d9302ab05 readdir_raw buffer overrun fixes.
- Add stb_vsnprintf, stb_snprintf functions.
- stb snprintf routines should return -1 on buffer truncation on all platforms.
- Add stb_strscpy string copy function which should behave the same as Linux kernel strscpy.
- Bump readdir_raw buffer sizes up to 4k, add checks for path truncations.
- Use d_type to check for directory instead of opendir/closedir. This
  should be faster and fix recursive symlnk death.
2015-11-01 17:53:35 -08:00
ba40683515 readdir_raw was skipping all dirnames starting with dots. Only skip . and .. 2015-11-01 17:53:35 -08:00
06ae60645e Update other_libs.md 2015-10-31 11:17:02 -07:00
8cea0090b2 Removie implicit cast to float
When compiling with more restrictive compiler options
such casting from double to float will cause a warning.

Ex. GCC -Wdouble-promotion

Signed-off-by: Filip Wasil <filip.wasil@gmail.com>
2015-10-29 16:09:21 +01:00
b95858a2f7 Add bitmask to unsigned char casts to fix MSVC runtime checks 2015-10-20 23:22:27 +02:00
22dd50f256 Fix documentation error 2015-10-20 22:03:50 +02:00
f1d401845f Fix race condition in static crc_table
If calling stbi_write_png concurrently the static array crc_table would be shared between threads causing data-races.
2015-10-17 17:33:00 +02:00
385927fb4b Update other_libs.md 2015-10-15 17:59:40 -07:00
35fcd0817f stb_vorbis.c: Silence -pedantic warning. 2015-10-09 20:46:59 -05:00
c4082cfb89 Update other_libs.md 2015-10-09 15:31:50 -07:00
ff085b88f4 Update other_libs.md 2015-10-09 02:11:28 -07:00
6a9cdd1c83 other_libs: add a few libraries 2015-10-09 02:03:44 -07:00
3e404042c5 other_libs: added TweetNaCl 2015-10-07 21:53:40 -07:00
0b79b3bfe1 Update other_libs.md 2015-10-05 09:43:46 -07:00
cc3bb7c458 Update other_libs.md 2015-10-05 09:43:27 -07:00
bdcc1535d6 Update other_libs.md 2015-09-27 11:04:06 -07:00
dc92c6c4c4 Update other_libs.md 2015-09-27 08:30:16 -07:00
bbdb4f65ef Update other_libs.md 2015-09-27 08:23:56 -07:00
cd9c6d7b43 Update other_libs.md 2015-09-27 08:21:39 -07:00
8d0ae2d39f move other_libs list to its own file 2015-09-27 08:16:33 -07:00
2bd2e571a2 Update other_libs.md 2015-09-27 08:16:13 -07:00
f6d172d92b Update other_libs.md 2015-09-27 08:15:32 -07:00
4b587a409a Update other_libs.md 2015-09-27 08:14:48 -07:00
847fb2c230 put other_libs list in its own file 2015-09-27 08:13:09 -07:00