Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
33c52818
Commit
33c52818
authored
Nov 24, 2010
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Nov 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Add missing dereference of the time pointer.
parent
d8cad3eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
time.c
dlls/msvcrt/time.c
+2
-2
No files found.
dlls/msvcrt/time.c
View file @
33c52818
...
...
@@ -913,7 +913,7 @@ int CDECL MSVCRT__ctime64_s(char *res, MSVCRT_size_t len, const MSVCRT___time64_
return
MSVCRT_EINVAL
;
}
res
[
0
]
=
'\0'
;
if
(
!
MSVCRT_CHECK_PMT
(
time
!=
NULL
)
||
!
MSVCRT_CHECK_PMT
(
time
>
0
)
)
if
(
!
MSVCRT_CHECK_PMT
(
time
!=
NULL
)
||
!
MSVCRT_CHECK_PMT
(
*
time
>
0
)
)
{
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
return
MSVCRT_EINVAL
;
...
...
@@ -946,7 +946,7 @@ int CDECL MSVCRT__ctime32_s(char *res, MSVCRT_size_t len, const MSVCRT___time32_
return
MSVCRT_EINVAL
;
}
res
[
0
]
=
'\0'
;
if
(
!
MSVCRT_CHECK_PMT
(
time
!=
NULL
)
||
!
MSVCRT_CHECK_PMT
(
time
>
0
)
)
if
(
!
MSVCRT_CHECK_PMT
(
time
!=
NULL
)
||
!
MSVCRT_CHECK_PMT
(
*
time
>
0
)
)
{
*
MSVCRT__errno
()
=
MSVCRT_EINVAL
;
return
MSVCRT_EINVAL
;
...
...
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