Commit Graph

144815 Commits

Author SHA1 Message Date
rpaulo cde2100ae9 Add EOF and EOT. 2006-03-20 12:22:08 +00:00
rpaulo 4532d44c4d RFC 4191 changed the meaning of the "Reserved" Router Preference
value. Previously the router should treat the recieved router
advertisement as having a 0 router lifetime. The RFC now says that the
router should treat the "Reserved" field the same way as if it was the
medium (default) preference.

From the KAME project via SUZUKI Shinsuke.
2006-03-20 12:13:05 +00:00
kleink 4b173cfc48 Don't build extended-precision routines on m68000; from Havard. 2006-03-20 09:52:23 +00:00
he 5c598dee82 Now that we use an errno constant, we need <errno.h>. 2006-03-20 09:27:30 +00:00
martin a090457a0b Ensure proper buffer alignement. OK'd by yamt. 2006-03-20 08:57:37 +00:00
briggs a8fffa1ddf After reading up a bit in the ia32 system architecture manual, take
a shot at enabling thermal monitoring.  On a Dell MP Xeon here, the
BIOS leaves the CPU out of spec. by not enabling thermal monitoring
at all.  It looks like this code is not properly handling TM2 for
P-4 systems.  Pentium-D and Pentium-4 systems enable TM2 differently.
I'm not sufficiently clued-up to deal with that at the moment.
2006-03-20 05:21:27 +00:00
rtr 5cefc5aa01 check the return of alloca() if it fails set errno = ENOMEM and fail execl().
approved by christos@
resolves pr29671
2006-03-20 05:12:24 +00:00
christos 42452df924 More krb4 removal. 2006-03-20 04:22:41 +00:00
christos d4f1ea1219 Fix the lists. 2006-03-20 04:17:39 +00:00
christos ad4cee0d1e remove KerberosV 2006-03-20 04:14:42 +00:00
christos 85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
lukem 35f57c3fc9 Don't attempt to call (*sme->sme_gtredata)() or (*sme->sme_streinfo)()
if those members are NULL.
As discussed on tech-kern in October/November 2005.
2006-03-20 03:23:35 +00:00
christos 1db63daa9d fix compilation after des.h change. The countdown to krb4 has started. 2006-03-20 02:18:59 +00:00
christos 731d9b0c04 Coverity CID 2305: Fix memory leak. 2006-03-20 01:51:54 +00:00
christos ef75a584c1 Coverity CID 2301: FIx memory leak. 2006-03-20 01:45:12 +00:00
christos 4b15f35af4 Coverity CID 2302: Free fat if fatal error to avoid leak. 2006-03-20 01:42:47 +00:00
christos 74f7dc651d Coverity CID 2299: Fix memory leak. 2006-03-20 01:37:10 +00:00
gdamore 6af224c1b4 Support cross-building tn3270 from other OS' e.g. Solaris by hiding
_RCS and _COPYRIGHT macros in #ifndef HOST_TOOL, and defining HOST_CPPFLAGS
apropriately for host tools.  Approved by uwe@.
2006-03-20 01:34:49 +00:00
christos 16f27d8161 Coverity CID 2298: Fix memory leak. 2006-03-20 01:34:16 +00:00
christos 3401a36160 Coverity CID 2074: Fix memory leak. 2006-03-20 01:30:34 +00:00
christos 635d729786 Coverity CID 1745: Fix memory leak. 2006-03-20 01:27:44 +00:00
christos e5919d97fc Coverity CID 1078: Add assertion check for NULL pointer. 2006-03-20 01:25:14 +00:00
christos 0794bfc81d Coverity CID 2551: Don't use LIST_FOREACH() if you are going to free the
current element (bp) in the body of the loop; the foreach does bp = bp->next;
2006-03-20 01:20:55 +00:00
christos db7722d2a7 Coverity CID 774: Don't increment a pointer *before* testing it for NULL! 2006-03-20 01:06:07 +00:00
christos 9871eb575d Coverity CID's 1853, 1852, 1851: Plug memory leaks. 2006-03-20 01:00:34 +00:00
christos 25207a2398 Coverity CID 1203: Check return code of b64_ntop(). 2006-03-20 00:53:39 +00:00
christos 6ba3c05c69 Fix krb4 compilation before ejection. 2006-03-20 00:28:44 +00:00
christos b9b4a8cc41 Use sig_atomic_t 2006-03-20 00:22:38 +00:00
he 405939eac0 Change MALLOC to malloc and FREE to free in one instance where the
size parameter is not an integer constant.  Fixes build problem seen
when building for acorn26.
2006-03-19 23:45:13 +00:00
cube 6a6299eb8f Panic on an unlikely error condition. CID 177. 2006-03-19 23:36:10 +00:00
cube e50e4ee4b2 Free a nvlist used temporarily.
Found by Coverity, CID 179 and 180.
2006-03-19 23:12:59 +00:00
christos 2fd1a9105a Coverity CID 1515: Off-by-one and trash the stack... 2006-03-19 23:10:04 +00:00
christos 1acc910067 Coverity CID 587: Dead code detected because the loop was using the wrong
variable (rc instead of rv).
2006-03-19 23:05:50 +00:00
christos 142b3180cb Coverity CID 882: Avoid NULL deref. 2006-03-19 23:01:03 +00:00
elad 2b9c10de57 Set errno on failure, and man-page updates. 2006-03-19 22:58:21 +00:00
christos ae8f65bfac make krb4 compile before I nuke it. 2006-03-19 22:58:14 +00:00
christos 950274b463 Revert part of previous free'ing because it was really a bug in -lkrb5.
Coverity CID 918: Avoid NULL deref (not strictly necessary).
2006-03-19 22:56:36 +00:00
christos 171dd64c65 Coverity CID 1247: Don't use negative index. 2006-03-19 22:54:00 +00:00
jnemeth 4be1f2c6fd Fix Coverity run 5, issue 1931 -- memory leak. This was noted as being a
bug by cgilbert.
Approved by christos@.
2006-03-19 22:52:01 +00:00
christos e4547e1148 Coverity CID 1904: Don't leak memory on error. 2006-03-19 22:49:59 +00:00
christos a09bebd7da Don't forget to free reply on failure. 2006-03-19 22:45:03 +00:00
matt 6a9dc55430 More variable sized MALLOC -> malloc changes. 2006-03-19 22:39:28 +00:00
christos 0666075024 Coverity CID 1907: Free keyblock, not just the contents. 2006-03-19 22:34:59 +00:00
cube 11820066f8 Close file on error. CID 176. 2006-03-19 22:34:44 +00:00
david f68eabdfe8 Free allocated memory if attach fails.
From Coverity CID 2329
2006-03-19 22:30:56 +00:00
cube 8e4130e5ee Fix various resource leaks, all happenning on error situations (IOW,
shortly before exit(1)).  CIDs 181, 182, 183, 184 and 185.
2006-03-19 22:27:14 +00:00
christos a3f80bb48f - Don't trash error number returned by the handler; return it instead.
- Add default cases and return EINVAL
- Don't check for NULL arguments and return EFAULT. Let it core-dump instead.
  (or add DIAGASSERT)
- Coverity CID 799: Don't dereference m and n if they are known to be NULL.
  Bail out sooner with EINVAL.
2006-03-19 22:18:25 +00:00
christos b3044379df Clarify errno's returned by those functions. 2006-03-19 21:56:04 +00:00
christos 6b99850ef0 Coverity CID 1209: Avoid negative close. While I am there fix bugs (open
returning 0 is ok). Reorganize code to factor out common parts, cleanup
syscall checking and error code return.
2006-03-19 21:55:37 +00:00
christos 5ebcdaa51a Add casts to compile again. 2006-03-19 21:45:33 +00:00