Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sbkclient
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李定达
sbkclient
Commits
932408b6
Commit
932408b6
authored
Jul 10, 2017
by
李定达
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修复indata访问越界
parent
8c95cb60
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
ZH_Client.suo
+0
-0
ZH_Client/sbk_client.cpp
+4
-1
No files found.
ZH_Client.suo
View file @
932408b6
No preview for this file type
ZH_Client/sbk_client.cpp
View file @
932408b6
...
@@ -660,7 +660,10 @@ __declspec(dllexport) int _stdcall GetValue(char *indata, char *outdata)
...
@@ -660,7 +660,10 @@ __declspec(dllexport) int _stdcall GetValue(char *indata, char *outdata)
LOG
()
<<
"get json from pos :"
<<
indata
;
LOG
()
<<
"get json from pos :"
<<
indata
;
string
tmpin
(
indata
,
MAX_BUF_LEN
);
char
buf
[
MAX_BUF_LEN
]
=
{
0
};
strcpy_s
(
buf
,
strlen
(
indata
)
+
1
,
indata
);
string
tmpin
(
buf
,
MAX_BUF_LEN
);
string
in
;
string
in
;
int
needrbk
=
0
;
int
needrbk
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment