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
1080f72c
...
1080f72c46c54957078bd93a14a745699278c7c9
authored
2004-08-07 09:06:25 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
(maildir_gethostname): Fixed a gross memory allocation bug.
1 parent
44bed5ec
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
mailbox/maildir/mbox.c
mailbox/maildir/mbox.c
View file @
1080f72
...
...
@@ -95,6 +95,7 @@ static struct info_map {
};
#define info_map_size (sizeof (info_map) / sizeof (info_map[0]))
/* FIXME: is not used */
static
int
info_map_letter
(
int
c
)
{
...
...
@@ -200,7 +201,7 @@ maildir_gethostname ()
{
char
*
q
;
hp
=
malloc
(
strlen
(
hostname
)
)
+
s
+
1
;
hp
=
malloc
(
strlen
(
hostname
)
+
s
+
1
)
;
for
(
p
=
hostname
,
q
=
hp
;
*
p
;
p
++
)
switch
(
*
p
)
{
...
...
Please
register
or
sign in
to post a comment