<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ZXing/zxing.git/javase/src, branch dependabot/github_actions/actions/setup-java-6</title>
<subtitle>ZXing ("Zebra Crossing") barcode scanning library for Java, Android (mirror)</subtitle>
<id>https://git.radix-linux.su/ZXing/zxing.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-java-6</id>
<link rel='self' href='https://git.radix-linux.su/ZXing/zxing.git/atom?h=dependabot%2Fgithub_actions%2Factions%2Fsetup-java-6'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/'/>
<updated>2026-06-25T22:09:49+00:00</updated>
<entry>
<title>reject negative and overflowing crop in BufferedImageLuminanceSource (#2111)</title>
<updated>2026-06-25T22:09:49+00:00</updated>
<author>
<name>jmestwa-coder</name>
<email>jmestwa@gmail.com</email>
</author>
<published>2026-06-25T22:09:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=329f34a8849544c78f8478bd35925da25d6f30d2'/>
<id>urn:sha1:329f34a8849544c78f8478bd35925da25d6f30d2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Validate crop rectangle for TYPE_BYTE_GRAY images in BufferedImageLuminanceSource (#2107)</title>
<updated>2026-06-22T17:45:57+00:00</updated>
<author>
<name>Vasiliy Mikhailov</name>
<email>vasiliy-mikhailov@users.noreply.github.com</email>
</author>
<published>2026-06-22T17:45:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=f70ca235c3374177b077420db4151f32b53d8568'/>
<id>urn:sha1:f70ca235c3374177b077420db4151f32b53d8568</id>
<content type='text'>
The crop-bounds check was only in the else branch, so TYPE_BYTE_GRAY images
skipped it and an out-of-bounds crop was accepted, failing later with an
ArrayIndexOutOfBoundsException instead of IllegalArgumentException. Hoist the
check above the image-type branch so it applies to all images. Adds a test.</content>
</entry>
<entry>
<title>wrap invalid base64 as IOException in readDataURIImage (#2105)</title>
<updated>2026-06-22T13:11:52+00:00</updated>
<author>
<name>jmestwa-coder</name>
<email>jmestwa@gmail.com</email>
</author>
<published>2026-06-22T13:11:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=bbe601df8b9a8264a448609cf41ed527a526f7c7'/>
<id>urn:sha1:bbe601df8b9a8264a448609cf41ed527a526f7c7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix QR decode failure for small/native-size images (#2061)</title>
<updated>2026-04-08T03:40:49+00:00</updated>
<author>
<name>Andrew Szeto</name>
<email>github@jabagawee.com</email>
</author>
<published>2026-04-08T03:40:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=282319c8134c132fddfc0c942981c41eea3311cb'/>
<id>urn:sha1:282319c8134c132fddfc0c942981c41eea3311cb</id>
<content type='text'>
* Fix QR decode failure for small/native-size images (#1976)

QRCodeWriter.encode(..., 0, 0) produces a 33x33 native-size QR that
ZXing cannot decode. The CENTER_QUORUM filter in selectBestPatterns()
(added in 110ef9e to fix #1567) removes finder patterns with count &lt; 2.
For small images, the row-skip interval (iSkip=3, MIN_SKIP) means the
scanner only crosses the top two finder pattern centers on a single row
each, giving them count=1. The bottom-left pattern gets count=2 because
it's scanned after iSkip drops to 2. The filter then removes the two
count=1 patterns, leaving 1 of the 3 needed, and throws
NotFoundException.

The fix: only apply the CENTER_QUORUM filter when either (a) at least 3
confirmed patterns would survive, or (b) the total candidate list
exceeds a size threshold. This preserves #1567 protection while
allowing small images through.

Why a size threshold: the filter was added to prevent O(n^3) blowup
in the triangle-selection loop when noisy images produce thousands of
spurious candidates. When the candidate list is small (&lt;= 25 entries,
yielding &lt;= ~2300 loop iterations), the cubic cost is negligible
regardless of whether the patterns are real or spurious. A clean
single-QR image produces ~3 candidates; even a noisy image below the
threshold is computationally trivial. Above the threshold, the filter
applies unconditionally, matching today's behavior.

Alternatives considered:
- Removing the filter entirely: all 561 existing tests pass, but
  re-opens #1567 for pathological images with thousands of spurious
  count=1 candidates.
- Reducing MIN_SKIP from 3 to 1 for small images: addresses the
  symptom (more scan rows = higher counts) but doesn't fix the
  fundamental interaction between iSkip and the quorum filter,
  and changes scan behavior for all small images.
- Fallback (try with filter, retry without on failure): re-opens
  #1567 whenever fewer than 3 confirmed patterns exist, which is
  exactly the scenario that produces thousands of unconfirmed
  candidates in noisy images.

* Increase noisy-image test timeout from 5s to 30s

GitHub shared runners timed out at 5s. Local measurement shows ~1.2s,
implying at least 4x slowdown on CI. 30s gives a comfortable margin
while still catching the O(n^3) regression from #1567.</content>
</entry>
<entry>
<title>Prevent --raw CLR option from failing if result.getRawBytes() is null (#1683)</title>
<updated>2023-09-07T01:58:06+00:00</updated>
<author>
<name>Dan Lenski</name>
<email>dlenski@gmail.com</email>
</author>
<published>2023-09-07T01:58:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=672bd4095882539e7c3ba897fff62bb237e77570'/>
<id>urn:sha1:672bd4095882539e7c3ba897fff62bb237e77570</id>
<content type='text'>
Fixes https://github.com/zxing/zxing/issues/1682</content>
</entry>
<entry>
<title>javase/test/matrix: check format support (#1668)</title>
<updated>2023-07-20T22:15:06+00:00</updated>
<author>
<name>Valérian Rousset</name>
<email>tharvik@users.noreply.github.com</email>
</author>
<published>2023-07-20T22:15:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=4a59188a2eaeadf34b4533351eecb2fd5d65a576'/>
<id>urn:sha1:4a59188a2eaeadf34b4533351eecb2fd5d65a576</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use SwingUtilities to avoid deadlock in GUI mini app</title>
<updated>2022-10-23T21:20:22+00:00</updated>
<author>
<name>Sean Owen</name>
<email>srowen@gmail.com</email>
</author>
<published>2022-10-23T21:20:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=bdc7c26526ada2b7b9864d949b56d762f05c65ca'/>
<id>urn:sha1:bdc7c26526ada2b7b9864d949b56d762f05c65ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Set FEATURE_SECURE_PROCESSING when reading XML in HtmlAssetTranslator, just in case (#1482)</title>
<updated>2022-01-14T14:43:05+00:00</updated>
<author>
<name>Sean Owen</name>
<email>srowen@gmail.com</email>
</author>
<published>2022-01-14T14:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=037efb0c282e8f7578596a58cf54dee3007451c2'/>
<id>urn:sha1:037efb0c282e8f7578596a58cf54dee3007451c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Minor code style updates to MinimalEncoder and a few other files ; minor dep updates</title>
<updated>2021-10-13T02:06:05+00:00</updated>
<author>
<name>Sean Owen</name>
<email>srowen@gmail.com</email>
</author>
<published>2021-10-13T02:06:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=831ebac6e74ebf2e5d1f7c0185caabb20a4e9799'/>
<id>urn:sha1:831ebac6e74ebf2e5d1f7c0185caabb20a4e9799</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Enforce line length and indent in checkstyle (#1448)</title>
<updated>2021-10-05T20:49:47+00:00</updated>
<author>
<name>Sean Owen</name>
<email>srowen@gmail.com</email>
</author>
<published>2021-10-05T20:49:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/ZXing/zxing.git/commit/?id=b51346c072723d6c3f14da17a0c842243af8a2ab'/>
<id>urn:sha1:b51346c072723d6c3f14da17a0c842243af8a2ab</id>
<content type='text'>
</content>
</entry>
</feed>
