GithubHelp home page GithubHelp logo

Comments (8)

yaoyue avatar yaoyue commented on June 27, 2024

感谢您的反馈,我们尽快优化

from sa-sdk-ios.

yaoyue avatar yaoyue commented on June 27, 2024

您这边有具体的 crash 信息么?这边为了保证后端_ 和 SDK 的 hash 校验一致,需要用 Int。

from sa-sdk-ios.

manajay avatar manajay commented on June 27, 2024

image
image
开启 AddressSanitizer 会崩溃
SDK 版本 : 1.11.1

from sa-sdk-ios.

wangzhzh avatar wangzhzh commented on June 27, 2024

@yaoyue

from sa-sdk-ios.

yaoyue avatar yaoyue commented on June 27, 2024

@manajay 您这边有方式可以复现么?我们尝试开启 AddressSanitizer 没有类似问题。您这边 Xcode 和 设备 版本分别是多少呢?

from sa-sdk-ios.

cntrump avatar cntrump commented on June 27, 2024

看这个算法,emoji或者汉字(长文章),很容易溢出

from sa-sdk-ios.

wangzhzh avatar wangzhzh commented on June 27, 2024

hashCode 本身就可以是负数,为了保证与后端的 hashCode(Java)算法一致。

from sa-sdk-ios.

cntrump avatar cntrump commented on June 27, 2024

hashCode 本身就可以是负数,为了保证与后端的 hashCode(Java)算法一致。

我是指,从hash算法逻辑上看,hash会一直累加,如果计算的 NSString 内容很长,就有溢出的可能。
图里的提示也显示是整形溢出。

from sa-sdk-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.