1
0
mirror of https://github.com/DanBloomberg/leptonica.git synced 2026-10-23 15:28:56 +03:00

Commit Graph

  • 3543135534 Issue #820: fix pnm reader to keep first byte whitespace in P4 (raw) data master danblooomberg 2026-10-22 12:38:40 -07:00
  • a33921c680 Merge pull request #819 from arshsmith1/fix-ccbaread-truncated-overflow Dan Bloomberg 2026-10-21 21:44:57 -07:00
  • 6a5d0bf95a Fix heap buffer overflow in ccbaReadStream on truncated input arshiya tabasum 2026-10-21 01:13:16 +05:30
  • 48f44ff109 Merge pull request #818 from arshsmith1/fix-sela-read-nalloc-overflow Dan Bloomberg 2026-10-20 10:28:28 -07:00
  • 53ad1a2942 Fix heap overflow in selaReadStream from unvalidated Sel count arshiya tabasum 2026-10-19 15:56:31 +05:30
  • 8ad618f103 CVE vulnerability due to unequal component array sizes in jpeg2000 danblooomberg 2026-10-02 11:31:44 -07:00
  • 8fdef8f58e Merge pull request #815 from stweil/coverity Dan Bloomberg 2026-09-02 10:44:08 -06:00
  • 2ac214a923 Check the return values of pixSubtract in pixDisplayDiffBinary Stefan Weil 2026-09-01 14:04:41 +02:00
  • e569112a02 Check the return value of pixCopy in finalPositioningForAlignment Stefan Weil 2026-09-02 06:04:14 +02:00
  • 1346e50955 Free the colormap field directly in pixDestroyColormap Stefan Weil 2026-09-01 13:53:32 +02:00
  • b6dfddf234 Free data on all error paths in l_generateJpegDataMem (fix CID 1677679) Stefan Weil 2026-09-01 13:34:58 +02:00
  • e75c16b3f1 Small cleanups danblooomberg 2026-09-01 10:59:16 -06:00
  • cdf941d7cf Merge pull request #813 from eobi/fix-pix3-fuzzer-missing-pixcopy Dan Bloomberg 2026-08-31 15:28:41 -06:00
  • d6a9a4fcdc Merge pull request #814 from stweil/coverity Dan Bloomberg 2026-08-31 14:53:52 -06:00
  • 8500491f73 Reject empty or unreadable input in fileCorruptBy* functions Stefan Weil 2026-08-31 21:23:24 +02:00
  • db1d7c86ab Avoid integer overflow in lheapSwapDown (fix CID 1595537) Stefan Weil 2026-08-31 21:17:10 +02:00
  • 246c1661c0 Limit fscanf field widths in gplotRead (fix CID 1364761) Stefan Weil 2026-08-31 21:04:49 +02:00
  • c0704cb882 Limit w and h when reading FPix and DPix from file (fix CID 1677680) Stefan Weil 2026-08-31 20:48:38 +02:00
  • a4a80e9190 Check calloc in l_generateJpegData and l_generateJpegDataMem Stefan Weil 2026-08-31 20:36:35 +02:00
  • 722969bafb Initialize ymax in findbinding (fix CID 1677682) Stefan Weil 2026-08-31 19:42:46 +02:00
  • b27b4962aa Destroy na1 in rotateorthFilesToPdf (fix CID 1677681) Stefan Weil 2026-08-31 19:42:42 +02:00
  • 9a14d407dd Destroy cid on error in cidConvertToPdfData (fix CID 1677679) Stefan Weil 2026-08-31 19:42:39 +02:00
  • 9e32f3eba2 Merge pull request #812 from stweil/coverity Dan Bloomberg 2026-08-31 11:12:00 -06:00
  • 229f3c74e4 fuzzing: pix3_fuzzer passes NULL to three functions it means to test Obi Ebuka David 2026-08-31 09:25:31 -05:00
  • 9342f78ba0 Use ERROR_FLOAT for error returns in pixAverageOnLine Stefan Weil 2026-08-31 07:50:20 +02:00
  • 1ee0d2bad9 Check return values from fseek/ftell in file-positioning helpers Stefan Weil 2026-08-30 19:21:28 +02:00
  • b513ebf847 Free partially-allocated tables/arrays on calloc failure Stefan Weil 2026-08-30 19:10:19 +02:00
  • e533ad169d Check jp2 header return and guard against zero pixel count Stefan Weil 2026-08-30 19:06:36 +02:00
  • 95bc98f2db Merge pull request #773 from DanBloomberg/coverity Dan Bloomberg 2026-08-30 16:58:18 -06:00
  • 36c129d92b Merge pull request #811 from stweil/const-readonly-params2 Dan Bloomberg 2026-08-30 14:30:50 -06:00
  • c370e8ce4e Merge pull request #810 from stweil/fix-make-allheaders Dan Bloomberg 2026-08-30 14:04:55 -06:00
  • 25236783a3 Use boolean form for ascii85flag in the other data generators Stefan Weil 2026-08-30 17:16:32 +02:00
  • b1c4ca801f Check return value from mkdir (fix CID 1647416) Stefan Weil 2025-07-06 12:48:21 +02:00
  • 4d1f554c83 Fix CID 1503047 Stefan Weil 2024-12-31 09:28:48 +01:00
  • b3420b777e Add const to read-only BOX/NUMA input parameters Stefan Weil 2026-08-30 08:23:39 +02:00
  • 28109e8c67 Add const to read-only PIXCMAP input parameters Stefan Weil 2026-08-30 08:21:06 +02:00
  • af3516bc0a Add const to read-only SEL input parameters Stefan Weil 2026-08-30 08:18:49 +02:00
  • 2de4cd2927 Add const to read-only SARRAY input parameters Stefan Weil 2026-08-30 08:17:48 +02:00
  • ef4c8cd7c2 Add const to read-only BOXAA input parameters Stefan Weil 2026-08-30 08:15:31 +02:00
  • fff32399e6 Add const to read-only PTAA input parameters Stefan Weil 2026-08-30 08:06:37 +02:00
  • 4e458c9f86 Add const to read-only NUMAA input parameters Stefan Weil 2026-08-30 08:03:50 +02:00
  • baadca22a8 Add const to read-only PIXA input parameters Stefan Weil 2026-08-30 07:59:22 +02:00
  • 6a28386873 Fix 'make allheaders' for out-of-tree builds and non-default include paths Stefan Weil 2026-08-30 09:35:41 +02:00
  • 4875a6ae7a Merge pull request #809 from stweil/const-readonly-params Dan Bloomberg 2026-08-29 17:58:15 -06:00
  • b065e999c5 Add const to read-only PTA input parameters Stefan Weil 2026-08-29 14:22:18 +02:00
  • b28613600c Add const to read-only PIXCMAP input parameters Stefan Weil 2026-08-29 14:19:05 +02:00
  • 373c333adb Add const to read-only SEL input parameters Stefan Weil 2026-08-29 14:18:00 +02:00
  • 752bdca440 Add const to read-only SARRAY input parameters Stefan Weil 2026-08-29 14:16:08 +02:00
  • 4de7efc1e8 Add const to read-only NUMA input parameters Stefan Weil 2026-08-29 14:14:44 +02:00
  • fccf062f5b Add const to read-only BOX/BOXA/BOXAA input parameters Stefan Weil 2026-08-29 14:01:21 +02:00
  • 930bd33b64 Add const to read-only PIX input parameters Stefan Weil 2026-08-29 17:24:16 +02:00
  • 51bfc12d70 Merge pull request #807 from stweil/remove-msvc6-workaround Dan Bloomberg 2026-08-29 12:42:15 -06:00
  • 852c506c81 Merge pull request #808 from stweil/fix/boxa-savevalid-warning Dan Bloomberg 2026-08-29 12:35:54 -06:00
  • 5c3d344299 Remove MSVC6 workaround for 20+ years old compilers Stefan Weil 2026-06-30 14:53:59 +02:00
  • ca3f2d05ac Fix warning for assignment used as condition in boxaSaveValid() Stefan Weil 2026-08-29 11:21:13 +02:00
  • b2466278fb Merge pull request #806 from stweil/fix/findfileformatbuffer-tiff-version Dan Bloomberg 2026-08-29 10:51:47 -06:00
  • af9f993e9b Require tiff version number in findFileFormatBuffer() Stefan Weil 2026-08-29 10:28:14 +02:00
  • d3575b5de8 Merge pull request #805 from stweil/s390_fixes Dan Bloomberg 2026-08-28 10:36:22 -06:00
  • 6f8a9dcfbb Check for calloc failure in create functions Stefan Weil 2026-08-28 17:29:53 +02:00
  • 10bdea2f19 Update git describe command to include always option zdenop 2026-07-12 16:25:48 +02:00
  • 8cf07fcab4 ci: Remove unused ilammy/setup-nasm (#802) Stefan Weil 2026-07-09 07:44:42 +02:00
  • 227825f570 ci: add permissions and pin third-party action SHA (#794) alb3e3 2026-06-29 20:58:46 +02:00
  • ddec00b6a7 Merge pull request #801 from orbisai0security/fix-insecure-strcpy-utils2 Dan Bloomberg 2026-06-27 16:39:41 -06:00
  • a3e09eab72 chore: remove orphaned invariant test for utils2 OrbisAI Security 2026-06-24 18:47:13 +05:30
  • 45fe9e99d6 fix: add buffer-length check in utils2.c orbisai0security 2026-06-24 13:01:58 +00:00
  • f630a6ae70 fix: c.lang.security.insecure-use-string-copy-fn.insecure-use-string-copy-fn security vulnerability orbisai0security 2026-06-24 13:01:14 +00:00
  • 29ce799bf4 fix: use bounded snprintf in pixa_recog_fuzzer.cc (#799) OrbisAI Security 2026-06-24 18:04:08 +05:30
  • 73acbd22e8 fix: use bounded snprintf in fhmtauto.c (#800) OrbisAI Security 2026-06-24 18:00:50 +05:30
  • 325e6e8379 fix: use snprintf in recog_basic_fuzzer.cc (#798) OrbisAI Security 2026-06-23 15:32:57 +05:30
  • f20329ec92 Bump actions/checkout from 6 to 7 (#797) dependabot[bot] 2026-06-23 07:15:01 +02:00
  • 48363a0b9a Add initial Dependabot configuration Stefan Weil 2026-06-22 21:52:53 +02:00
  • d6ef949a2a GA: disable automatic run of sw zdenop 2026-06-22 22:08:13 +02:00
  • d0b597df36 Merge pull request #795 from lifw555/patch-1 zdenop 2026-06-22 18:38:25 +02:00
  • 33c75379b5 Potential fix for pull request finding 27号 2026-06-22 20:23:34 +08:00
  • ec153120e2 Update Leptonica include directories configuration 27号 2026-06-22 16:38:55 +08:00
  • db2e6ad70f Refactor SW_BUILD option handling in CMakeLists.txt zdenop 2026-06-16 20:30:56 +02:00
  • 86e7c416f3 Use adaptive thresholding before skew detection danblooomberg 2026-06-05 15:52:39 -07:00
  • 19e4d64c62 Added casts & fixed typo in dpixReadStream(), from PR #793 danblooomberg 2026-06-03 11:10:44 -07:00
  • d7fcb1b0ef Merge pull request #792 from cjhxmx/patch-1 Dan Bloomberg 2026-06-03 01:14:49 -07:00
  • 3084f8987c Fix use-after-free in morphSequenceVerify() chenjianhu 2026-06-03 12:02:00 +08:00
  • e1fe4fbf0f Disable macOS 13 configuration in workflow zdenop 2026-05-24 21:14:35 +02:00
  • e37170dc35 Add CI badges to README.md zdenop 2026-05-24 20:56:21 +02:00
  • 4417a0b884 Re: Issue #785: revert memset byte number argument to type LL in 1.87.0. danblooomberg 2026-05-22 10:59:23 -07:00
  • d14a5d538d Add checks on sizes for reading FPix and DPix from file. danblooomberg 2026-05-18 22:02:51 -07:00
  • 948d9aab1e Fix rotateorthpdf to preserve image quality, using pdfimages. danblooomberg 2026-05-10 15:25:07 -07:00
  • cc7258743d Github Actions: Fix CodeQL setup #2 zdenop 2026-05-09 10:37:54 +02:00
  • b9f4c810c2 Github Actions: Fix CodeQL setup zdenop 2026-05-09 10:24:35 +02:00
  • 8ed619411a Github Actions: update actions zdenop 2026-05-09 10:00:33 +02:00
  • 90d08b11af Merge pull request #791 from uilianries/cmake/honor-options zdenop 2026-05-07 20:17:33 +02:00
  • 59e91ccf88 Move ENABLE_ to a single block Uilian Ries 2026-05-07 09:01:38 +02:00
  • a6b5784718 Honor definitions for optional dependencies Uilian Ries 2026-05-06 12:52:54 +02:00
  • bb244a3176 New program for selective orthogonal rotation of images in a pdf. danblooomberg 2026-04-18 16:52:20 -07:00
  • dc88c95380 Modify comment in prog/compresspdf.c danblooomberg 2026-03-23 17:31:26 -07:00
  • 0020a6654a Issue #788: check for failure to add box to the end of a boxa by L_INSERT danblooomberg 2026-03-23 17:18:11 -07:00
  • 2b8a528c37 Fix Issue #787: possible integer ovfl in loop variable danblooomberg 2026-03-21 16:00:51 -07:00
  • a0ca522b7d Fix potential security issues found by Anthropic with Claude and TrailOfBits * heap buffer underflow in pixSetBorderVal() * out-of-bounds write in sarrayReadStream() danblooomberg 2026-03-20 16:14:27 -07:00
  • 64a1de9a9c Fix issue #786: failure reading Windows file paths enclosed in double quotes danblooomberg 2026-02-27 17:04:59 -08:00
  • d85e6c3139 Fix issue #785: GCC 16 compiler miscompiles 4LL in memset operations danblooomberg 2026-02-04 11:15:17 -08:00
  • bab20e1368 Investigate issue #785, a crash when tesseract apparenty calls bmfCreate() danblooomberg 2026-01-30 16:43:52 -08:00
  • 6b06357741 Fixed several heap buffer overflows when converting sarrays to strings danblooomberg 2026-01-29 11:54:51 -08:00