aboutsummaryrefslogtreecommitdiff
path: root/install-sh
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2007-05-26 22:02:29 +0000
committerDaniel Stenberg <daniel@haxx.se>2007-05-26 22:02:29 +0000
commit8bd7197a8fb6d4a49df7efa25361c95ebdfc1d9c (patch)
tree167549e31b9c921126b0708140ca1cabc2c46e27 /install-sh
parentebb5e1db4b0a3cb1061ac992d615ad0bdadf2fd7 (diff)
Primarily this fixes an off-by-one buffer overwrite (rare but still existing).
I also switched from calloc() to malloc() as a minor performance boost since the rest of the code fills in the structs fine anyway - and they must for the case when we use the stack-based auto variable array instead of the allocated one. I made the loop filling in poll_fds[] break when poll_nfds is reached as a minor speed improvement.
Diffstat (limited to 'install-sh')
0 files changed, 0 insertions, 0 deletions