LXGMAX

微信扫码库的 bug 已被修复

  •  
  •   LXGMAX · Apr 27, 2023 · 2849 views
    This topic created in 1138 days ago, the information mentioned may be changed or developed.

    先贴 PR: https://github.com/opencv/opencv_contrib/pull/3480/files

    问题发生在 DecodedBitStreamParser::decodeByteSegment 中。如果传入参数 bits_是内容为空但长度非零的 ByteSegment ,此时 bits.available () 返回 0 ,随后 count 被更新为 0 ,但 nBytes 没有更新仍保持为非 0 。这会造成后面的 append 函数访问空指针 readBytes 读取 nBytes 数据,导致程序终止。

    微信修复估计得下个版本了

    6 replies    2023-04-27 14:00:11 +08:00
    chotow
        1
    chotow  
       Apr 27, 2023
    - 修复了一些已知问题。

    😄
    EvanLuo42
        2
    EvanLuo42  
       Apr 27, 2023   ❤️ 2
    allin1
        3
    allin1  
       Apr 27, 2023
    已经搜到 8.0.37
    该版本主要更新如下:
    解决了一些已知问题。
    justin2018
        4
    justin2018  
       Apr 27, 2023
    mac 测试版 Version. 3.7.1 (25682) Beta 12

    修复了一些已知问题
    lxiian
        5
    lxiian  
       Apr 27, 2023 via iPhone
    @EvanLuo42 笑死🤣
    LXGMAX
        6
    LXGMAX  
    OP
       Apr 27, 2023
    @EvanLuo42 好活儿
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3127 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 13:36 · PVG 21:36 · LAX 06:36 · JFK 09:36
    ♥ Do have faith in what you're doing.