Commit Graph

226045 Commits

Author SHA1 Message Date
ozaki-r
044269e319 Fix; cts[0] => cts 2014-03-28 13:35:13 +00:00
ozaki-r
046f996cf0 Use snprintf instead of sprintf 2014-03-28 13:26:24 +00:00
ozaki-r
6ac95d35b1 Fix unused variable 'mp' 2014-03-28 11:55:09 +00:00
hkenken
3dbfb37284 Fix printf formating in DPRINTF. 2014-03-28 11:52:51 +00:00
ozaki-r
8405b449bb Use snprintf instead of sprintf 2014-03-28 11:49:40 +00:00
apb
a572e5336e +ICN:Incheon, South Korea
Also fix spelling of Incheon in the entry for JCN
2014-03-28 10:16:28 +00:00
hsuenaga
99b1ffd423 Added myself, hsuenaga 2014-03-28 08:24:06 +00:00
apb
59df49b517 Add placeholder for osnet. 2014-03-28 08:15:48 +00:00
pettai
4754343be0 Fix lost merges 2014-03-28 07:01:49 +00:00
htodd
e4ef43c25c Fix build. 2014-03-28 04:09:19 +00:00
ozaki-r
b7c3845c47 Complete migrating to snprintf_blkptr 2014-03-28 03:46:56 +00:00
ozaki-r
c5002aae34 Fix migrating to snprintf_blkptr 2014-03-28 03:18:24 +00:00
ozaki-r
2821606826 Add missing 4th argument of ddt_object_name 2014-03-28 03:11:00 +00:00
ozaki-r
4e2e658100 Fix some snprintf 2014-03-28 02:58:36 +00:00
ozaki-r
bc3ce11eda Add missing 3rd argument of nicenum 2014-03-28 02:50:18 +00:00
christos
e85af085ed Deal with snprintf more gracefully. 2014-03-28 02:16:47 +00:00
christos
fb640ba08c avoid buffer overflow 2014-03-28 02:15:56 +00:00
skrll
3e1dc7f3b2 Merge upstream fixes. 2014-03-27 23:03:06 +00:00
christos
492cf40e08 add missing dependencies (Takahiro HAYASHI) 2014-03-27 21:21:47 +00:00
christos
4d87c37c1f forgot to commit one patch:
Avoid returning released(free), but still hashed inode numbers.
(Ilya Zykov)
2014-03-27 21:13:06 +00:00
christos
33baebc2e5 explain how a printf might happen (since it has bitten more than one person) 2014-03-27 21:09:33 +00:00
apb
6713b766dd format is a pointer, so sizeof(format) is not a good length
to pass to snprintf.  Try to calculate the correct length,
taking into account the amount of space already used.
2014-03-27 19:34:39 +00:00
christos
8ce57b0c72 cleanup debugging printfs to avoid overflow 2014-03-27 18:28:26 +00:00
christos
2cd2c9ba7b remove a bunch of repetitive code by introducing filemon_printf. 2014-03-27 18:27:34 +00:00
christos
e93b33c96c correct/add protection against snprintf overflow. 2014-03-27 18:22:56 +00:00
christos
a9253db65e From Ilya Zykov:
- ifdef out some code that is only used for NO_DEV_PTM
- pass the mountpoint instead of the ptm structure to the implementation
  dependent (ptyfs or bsdpty) functions.
- add a function to return the correct ptyfs mountpoint for the current lwp
2014-03-27 17:31:56 +00:00
apb
594d9bd67e Use calloc instead of malloc + memset. This fixes a bug
in which the wrong size was passed to memset.
2014-03-27 16:34:37 +00:00
apb
4840a75dea sizeof(array - 1) decays to sizeof(pointer), but (sizeof(array) - 1)
was actually wanted.

The effect of this bug is that only a few bytes of the hostname are mixed
into the random seed, instead of using the entire hostname.
2014-03-27 16:26:22 +00:00
apb
ae56564c55 Fix sizeof errors in memset calls in heimdal. 2014-03-27 16:10:45 +00:00
christos
a2d437b386 kill sprintf 2014-03-27 15:50:48 +00:00
skrll
0577e0f028 More #if 0'ed removal 2014-03-27 10:42:47 +00:00
skrll
85a926e15d Remove #if 0'ed code. 2014-03-27 10:11:04 +00:00
skrll
d0eeb335da Simplify the semaphore code a little 2014-03-27 07:59:17 +00:00
skrll
f714ddc6b3 KNF 2014-03-27 07:56:56 +00:00
skrll
fe334a7493 bzero -> memset 2014-03-27 07:54:43 +00:00
christos
c6b4d36c05 kill sprintf 2014-03-26 22:03:26 +00:00
christos
968c5f53d8 in the bsdpty allocvp flavor, call the bsdpty mkname directly, since it is
the only one possible to be valid (Ilya Zykov)
2014-03-26 21:29:54 +00:00
christos
9b453fe1d0 if one of the ptyfs instances has grabbed the handle don't grab it again,
Ilya Zykov
2014-03-26 21:28:48 +00:00
christos
3900446f61 Add missing ; 2014-03-26 19:44:51 +00:00
christos
a6e338b0d6 kill sprintf 2014-03-26 18:12:46 +00:00
christos
3270bbc973 kill {v,}sprintf 2014-03-26 18:11:26 +00:00
christos
04166a5a62 kill sprintf 2014-03-26 18:04:33 +00:00
christos
e9ba8bc5a2 remove {v,}sprintf 2014-03-26 18:03:47 +00:00
christos
54ec44dad1 Remove {v,}sprintf 2014-03-26 18:02:24 +00:00
christos
93100edccb kill sprintf. 2014-03-26 17:58:57 +00:00
christos
1c9d295ac5 kill sprintf 2014-03-26 17:54:46 +00:00
christos
42391ab57b - kill sprintf
- fix unused
2014-03-26 17:53:36 +00:00
christos
43ebc39121 kill sprintf 2014-03-26 17:41:15 +00:00
christos
b90eac3c74 kill sprintf. 2014-03-26 17:38:09 +00:00
christos
360bdb9d7b fix sprintf. 2014-03-26 17:35:08 +00:00