mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
EANX_CC/UPCA_CC: fix crash in dbar_date()
on not checking length
in `cc_binary_string()`, ticket #300 (#5 & #6), props Andre Maute; add other checks for length on processing encoding mode PDF417: fix out-of-bounds crash on overrunning string and codeword buffers by tripling size (convert to `short` instead of `int` to guard against too much stack), ticket #300 (#7 & #10), props Andre Maute; (TODO: add some checks instead to bail out earlier?) CODEONE: fix looping on latch crash in `c1_encode()`, ticket #300 (#8), props Andre Maute CODABLOCKF: fix crash on negative overflow of `columns` (`option_2`), ticket #300 (#9), props Andre Maute library: add `debug_print_escape()` helper for ZINT_DEBUG_PRINT
This commit is contained in:
@ -22,6 +22,7 @@ run_bwipp_test "test_bc412"
|
||||
run_bwipp_test "test_channel" "encode"
|
||||
run_bwipp_test "test_codablock" "input"
|
||||
run_bwipp_test "test_codablock" "encode"
|
||||
run_bwipp_test "test_codablock" "fuzz"
|
||||
run_bwipp_test "test_code" "encode"
|
||||
run_bwipp_test "test_code1" "encode"
|
||||
run_bwipp_test "test_code1" "encode_segs"
|
||||
@ -51,6 +52,7 @@ run_bwipp_test "test_medical" "encode"
|
||||
run_bwipp_test "test_pdf417" "input"
|
||||
run_bwipp_test "test_pdf417" "encode"
|
||||
run_bwipp_test "test_pdf417" "encode_segs"
|
||||
run_bwipp_test "test_pdf417" "fuzz"
|
||||
run_bwipp_test "test_plessey" "encode"
|
||||
run_bwipp_test "test_postal" "input"
|
||||
run_bwipp_test "test_postal" "encode"
|
||||
|
@ -20,6 +20,7 @@ run_zxingcpp_test "test_aztec" "encode_segs"
|
||||
run_zxingcpp_test "test_aztec" "fuzz"
|
||||
run_zxingcpp_test "test_codablock" "input"
|
||||
run_zxingcpp_test "test_codablock" "encode"
|
||||
run_zxingcpp_test "test_codablock" "fuzz"
|
||||
run_zxingcpp_test "test_code" "encode"
|
||||
run_zxingcpp_test "test_code128" "input"
|
||||
run_zxingcpp_test "test_code128" "encode"
|
||||
@ -43,6 +44,7 @@ run_zxingcpp_test "test_pdf417" "reader_init"
|
||||
run_zxingcpp_test "test_pdf417" "input"
|
||||
run_zxingcpp_test "test_pdf417" "encode"
|
||||
run_zxingcpp_test "test_pdf417" "encode_segs"
|
||||
run_zxingcpp_test "test_pdf417" "fuzz"
|
||||
run_zxingcpp_test "test_qr"
|
||||
run_zxingcpp_test "test_rss" "binary_div_modulo_divisor"
|
||||
run_zxingcpp_test "test_rss" "examples"
|
||||
|
Reference in New Issue
Block a user