Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
55dc1999
...
55dc199944982d6bacebc096b604b9cdcad4152c
authored
2005-05-31 15:46:20 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(maildir_uniq): Fix memory overwrite.
1 parent
c2403102
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
mailbox/maildir/mbox.c
mailbox/maildir/mbox.c
View file @
55dc199
...
...
@@ -314,7 +314,7 @@ maildir_uniq (struct _amd_data *amd, int fd)
FMT
(
"%lu"
,
tv
.
tv_sec
);
COPY
(
"."
);
if
(
read_random
(
&
n
,
32
))
if
(
read_random
(
&
n
,
sizeof
(
unsigned
long
)))
/* FIXME: 32 bits */
PFX
(
'R'
,
"%lX"
,
n
);
if
(
fd
>
0
&&
fstat
(
fd
,
&
st
)
==
0
)
...
...
Please
register
or
sign in
to post a comment