aliyun / aliyun/aliyun-openapi-cpp-sdk

SDK版本号 1.36.1335 SegmentFurnitureResult::parse 会导致崩溃的问题

Open
#143 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
104
Forks
75
PR merge metrics
No merged PRs in 30d

Description

返回的 payload
{"RequestId":"AAE6BC20-CFC4-54FD-BD6F-2529FC9D85A0","Data":{"Elements":[{"ImageURL":"http://vibktprfx-prod-prod-damo-eas-cn-shanghai.oss-cn-shanghai.aliyuncs.com/segment-furniture/2022-11-17/39b2f6bf-503c-4eec-9f99-24f1e2fa98a1/image.png?Expires=1668673577&OSSAccessKeyId=LTAI4FoLmvQ9urWXgSRpDvh1&Signature=jdnVsBYYcRtyR00zin%2Fg5ojQDoE%3D"}]}}

图片中注释的部分是SDK的代码,注释的下一行是修改后的值。

e

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating SegmentFurnitureResult::parse in the C++ SDK and reviewing the supplied payload and screenshot, especially the commented SDK line and replacement value. Reproduce the crash with that response and confirm that parsing the payload completes without crashing; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.