Bug 983 - strcpy(s,s+N) 内存溢出错误
Summary: strcpy(s,s+N) 内存溢出错误
Status: RESOLVED DUPLICATE of bug 984
Alias: None
Product: Anolis OS 7
Classification: Anolis OS
Component: BaseOS Packages (show other bugs) BaseOS Packages
Version: 7.9
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: layne-yang
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-27 15:51 UTC by wuyyyyuw
Modified: 2022-05-19 22:59 UTC (History)
2 users (show)

See Also:


Attachments
-wuyy (88.91 KB, image/png)
2022-04-27 15:51 UTC, wuyyyyuw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wuyyyyuw 2022-04-27 15:51:51 UTC
Created attachment 192 [details]
-wuyy

Description of problem:

我们现在有个场景:语言 c 和 c++ 混合使用。strcpy(ssrc,ssrc+7); 这种会出现内存混乱的情况。

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:
Comment 1 杨晓旋 uniontech_group 2022-05-19 22:59:32 UTC
同984

*** This bug has been marked as a duplicate of bug 984 ***