Marcus Boerger
|
255c6a71d7
|
- MFH Readability
|
2007-02-25 13:09:13 +00:00 |
|
Pierre Joye
|
dfeff9efe6
|
- sync with libgd.org, patch from Kees Cook
|
2007-02-25 02:45:06 +00:00 |
|
Rasmus Lerdorf
|
7b80d01aa3
|
Fix test
|
2007-02-24 22:02:16 +00:00 |
|
Antony Dovgal
|
914b64dd4f
|
BFN
|
2007-02-24 21:30:56 +00:00 |
|
Antony Dovgal
|
e058ba92f9
|
MFH: fix #40621 (Crash when constructor called inappropriately (statically))
|
2007-02-24 21:30:48 +00:00 |
|
Marcus Boerger
|
1345740fa5
|
- Add [v]slprintf to overcome the returnvalues issue of snprintf
|
2007-02-24 18:20:46 +00:00 |
|
Ilia Alshanetsky
|
3588f9eed6
|
missing -1
|
2007-02-24 18:02:11 +00:00 |
|
Ilia Alshanetsky
|
9783f5f1f3
|
strncpy() -> strlcpy()
|
2007-02-24 18:00:56 +00:00 |
|
Ilia Alshanetsky
|
9651aeaf78
|
Pad to given length, not replace data with spaces
|
2007-02-24 17:57:57 +00:00 |
|
Ilia Alshanetsky
|
afa4b732c5
|
Eliminate strncpy and simplify code
|
2007-02-24 17:40:45 +00:00 |
|
Ilia Alshanetsky
|
27c6f40783
|
Eliminate strncpy() and simplify code
|
2007-02-24 17:18:24 +00:00 |
|
Ilia Alshanetsky
|
34928eeeca
|
strncpy > strlcpy
|
2007-02-24 17:16:23 +00:00 |
|
Ilia Alshanetsky
|
0ccf1cf9ce
|
Only do size check on create operations
|
2007-02-24 16:36:56 +00:00 |
|
Ilia Alshanetsky
|
f4a8180f65
|
Fixed snprintf() usage
|
2007-02-24 16:23:10 +00:00 |
|
Ilia Alshanetsky
|
a2a55daf21
|
Segment size validation
|
2007-02-24 15:50:54 +00:00 |
|
Ilia Alshanetsky
|
1b8a85415d
|
Fixed Bug #39396 (stream_set_blocking crashes on Win32).
|
2007-02-24 15:48:40 +00:00 |
|
Ilia Alshanetsky
|
e4ff13e43e
|
Unify validation of shm segment size inside shm_attach()
|
2007-02-24 15:44:43 +00:00 |
|
Ilia Alshanetsky
|
44aefd1ea0
|
Fixed test to work with new version of libtidy that strips spaces
|
2007-02-24 15:35:04 +00:00 |
|
Marcus Boerger
|
24fa61e202
|
- Drop superflous efree
|
2007-02-24 14:53:50 +00:00 |
|
Marcus Boerger
|
d2c343a3df
|
- Fix spprintf usage
|
2007-02-24 14:33:50 +00:00 |
|
Marcus Boerger
|
1b1c62d708
|
- Make debug code really safe
|
2007-02-24 14:28:09 +00:00 |
|
Dmitry Stogov
|
0caa2be91f
|
Use poll() instead of select() if available
|
2007-02-24 11:20:43 +00:00 |
|
Ilia Alshanetsky
|
0763686034
|
strdup() can fail
|
2007-02-24 03:24:40 +00:00 |
|
Stanislav Malyshev
|
698f114ddc
|
use safe allocations
|
2007-02-24 03:08:05 +00:00 |
|
Ilia Alshanetsky
|
6223b18134
|
Fixed a typo
|
2007-02-24 02:59:58 +00:00 |
|
Stanislav Malyshev
|
b415e3da5a
|
Unfortunately, VC does not have snprintf, and sprintf_s supported only in vc2005
Fortunately, we don't need it here too badly.
|
2007-02-24 02:50:58 +00:00 |
|
Stanislav Malyshev
|
33956fc358
|
fix typo
|
2007-02-24 02:45:24 +00:00 |
|
Stanislav Malyshev
|
b107f3bfbe
|
fix typos
|
2007-02-24 02:43:53 +00:00 |
|
Marcus Boerger
|
50ea26760d
|
- Avoid sprintf, even when checked copy'n'paste or changes lead to errors
|
2007-02-24 02:17:47 +00:00 |
|
Stanislav Malyshev
|
3e262bd369
|
disallow negative length
|
2007-02-24 01:18:14 +00:00 |
|
Sara Golemon
|
c3935671cd
|
MFH (r-1.82): Add retry for interrupted reads and graceful handling for failed retries
|
2007-02-23 23:09:14 +00:00 |
|
Stanislav Malyshev
|
59bcd2372d
|
use strlcat
|
2007-02-23 22:08:31 +00:00 |
|
Stanislav Malyshev
|
b40c94194f
|
use strlcat
|
2007-02-23 22:05:46 +00:00 |
|
Stanislav Malyshev
|
4019bf5370
|
use snprintf
|
2007-02-23 21:45:00 +00:00 |
|
Stanislav Malyshev
|
e894206874
|
use snprintf
|
2007-02-23 21:38:25 +00:00 |
|
Stanislav Malyshev
|
43aa661c5e
|
increase array size to fit buffer size
|
2007-02-23 21:14:52 +00:00 |
|
Antony Dovgal
|
fa513e74ce
|
MFH: fix leak
|
2007-02-23 20:51:02 +00:00 |
|
Stanislav Malyshev
|
9d3e446d80
|
use safe_emalloc
|
2007-02-23 20:40:55 +00:00 |
|
Antony Dovgal
|
f3a9413b28
|
MFH: fix #40606 (umask is not being restored when request is finished)
|
2007-02-23 16:22:20 +00:00 |
|
Rob Richards
|
db19c74cfe
|
BFN
|
2007-02-23 11:15:08 +00:00 |
|
Rob Richards
|
7846ed2e84
|
fix bug #40598 (libxml segfault)
|
2007-02-23 11:12:49 +00:00 |
|
Pierre Joye
|
b5e6c78eda
|
- #40578, fix the 2nd race condition on shutdown when the cache is freed
|
2007-02-23 00:58:49 +00:00 |
|
Ilia Alshanetsky
|
a471f75354
|
Simplify code by converting emalloc() + sprintf() to spprintf()
|
2007-02-23 00:37:36 +00:00 |
|
Antony Dovgal
|
e0a7362646
|
MFH: check for buflen (on FreeBSD _SC_GETGR_R_SIZE_MAX is not implemented)
patch by stas at FreeBSD dot org
|
2007-02-22 23:40:39 +00:00 |
|
Marcus Boerger
|
e3d786be4e
|
- MFH Fix logic
|
2007-02-22 23:26:03 +00:00 |
|
Nuno Lopes
|
d94e388d74
|
fix test on ultra-fast-machines and/or SOs with long time slices
# Thanks Tony
|
2007-02-22 11:48:14 +00:00 |
|
Antony Dovgal
|
dfbc224555
|
MFH
|
2007-02-22 10:06:22 +00:00 |
|
Dmitry Stogov
|
f027aef074
|
Fixed possible crash in putenv() on win32
|
2007-02-22 08:23:17 +00:00 |
|
Ilia Alshanetsky
|
609ecbfc37
|
One more strcpy. (Thanks Stas)
|
2007-02-22 00:44:08 +00:00 |
|
Ilia Alshanetsky
|
06e5bc9ea2
|
strcpy() elimination
|
2007-02-22 00:25:38 +00:00 |
|