projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
3c6cd36
)
net.c: Fix a memory leak in makesock().
author
Andre Noll
<maan@systemlinux.org>
Thu, 17 Jan 2008 20:40:38 +0000
(21:40 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 17 Jan 2008 20:40:38 +0000
(21:40 +0100)
"port" was allocated dynamically but never freed. Fix it by
using a static buffer instead. This buffer can not overflow as
"port_number" is an unsigned short, so its decimal representation
consists of at most 5 digits.
No differences found