larksuite / larksuite/oapi-sdk-java

获取部门下人员信息,入职时间超过2099年出现报错Int类型超出

Open
#117 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
310
Forks
115
PR merge metrics
No merged PRs in 30d

Description

baocuo
管理后台入职时间可以随便修改,当入职时间为2099年时 时间戳=4081276800 此时使用接口部门id获取部门下人员是出现反序列化错误

Contributor guide

No contributing guide indexed for this repository

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

Reproduce the department-personnel API request with an employment date in 2099, using the timestamp value 4081276800 from the report. Trace the response model and deserialization path to find the employment-time field, then verify that the request succeeds without an integer overflow and that existing responses still deserialize correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.