Commit Graph

145003 Commits

Author SHA1 Message Date
drochner 8c54151993 -fix uninitialized variable introduced in previous
(found by gcc:-)
-minor prototype cleanup
2006-03-22 12:51:32 +00:00
itojun d9a428ea1c avoid heap overrun. thanks goes to Susan Lan of zyxel. 2006-03-22 09:22:28 +00:00
christos 549b5ed9d1 Simplify (Masao Uebayashi) 2006-03-22 05:03:10 +00:00
christos 8d95e8aad0 Coverity CID 991: Remove useless test. 2006-03-22 04:34:49 +00:00
christos af542fc05c Coverity CID 563: Kill SUNOS3 case; it is dead code. 2006-03-22 04:30:28 +00:00
christos 8b7bfd1f64 Coverity CID 692: Another && that should be ||. Boy... 2006-03-22 04:24:14 +00:00
christos 1990635dbb Coverity CID 558: && should be obviously || 2006-03-22 04:22:05 +00:00
christos ded5be2fff Coverity CID 2746: Remove useless test. 2006-03-22 04:11:15 +00:00
jonathan 9c52d6aebc Commit work-in-progress draft of ciss.4 manpage, per havard's request. 2006-03-22 03:59:21 +00:00
christos 1174f5b4bb Coverity CID 2060: Fix memory leak. 2006-03-22 02:29:42 +00:00
christos 86bc6ef985 Coverity CID 786: Avoid NULL dereference. 2006-03-22 02:25:44 +00:00
christos 9a02e676ef Coverity CID 1301: Return early if we could not open /dev/null 2006-03-22 02:23:11 +00:00
christos 7ef824757b Coverity CID 1593: Plug memory leak 2006-03-22 02:21:20 +00:00
christos ec4e36f798 Coverity CID 46: Remove dead code. 2006-03-22 02:17:52 +00:00
christos 4b41923ad3 Coverity CID 198: Remove dead code if INT_MAX == LONG_MAX 2006-03-22 02:14:03 +00:00
christos ec166aba55 Coverity CID 199: make sure that rtp is not NULL before dereferencing. 2006-03-22 02:08:55 +00:00
christos 4bd79d53a1 Oops, the previous change was not entirely correct since we were checking
the wrong byte.
2006-03-22 01:45:08 +00:00
matt ce8489309f There is no need to use MALLOC/FREE when rebuilding the execsw array
due to LKM loading/unloading.  This is not performance critical.
2006-03-22 01:14:46 +00:00
matt 4c71408df5 An MTU can't be negative so store them in unsigned variables. 2006-03-22 01:07:24 +00:00
christos e5d3e31596 Coverity CID 578: remove dead code 2006-03-22 00:14:18 +00:00
hubertf 2785aa55bc Add to comment for "mapfile": see also /usr/share/wscons/keymaps 2006-03-22 00:13:44 +00:00
matt 3ae62e4c0b Get rid of stupid GCC fix. It was wrong. Spotted by Coverity. 2006-03-22 00:13:26 +00:00
christos ee43724903 Coverity CID 580: fix 'c' handling to match 'x' ('c' used the wrong variable) 2006-03-22 00:11:28 +00:00
christos c8780d3168 Coverity CID 1440: off by one in array count. 2006-03-22 00:08:09 +00:00
christos f70970fc40 Coverity CID 1640: closedir on error. 2006-03-22 00:05:01 +00:00
christos bd4761ac59 Coverity CID 2279: Plug memory leak. 2006-03-22 00:03:51 +00:00
christos c882076269 Coverity CID 2280: Plug memory leak. 2006-03-22 00:03:00 +00:00
christos 999efc5191 Coverity CID 2291: Move function call before allocating storage to prevent
memory leak on error.
2006-03-22 00:02:00 +00:00
christos 3a135d2872 Coverity CID 2292: Plug memory leak. 2006-03-22 00:00:16 +00:00
christos a742aacd73 Coverity CID 2293: Fix memory leak. 2006-03-21 23:58:24 +00:00
christos 40c58e8b04 Coverity CID 2363: cur is known not to be NULL. 2006-03-21 23:56:47 +00:00
christos 432fdd32e0 Coverity CID 2364: cur is known not to be NULL. 2006-03-21 23:55:56 +00:00
christos f12fd11960 Coverity CID 2430: cur is known not to be NULL. 2006-03-21 23:55:02 +00:00
christos 80f67fa272 Coverity CID 879: Don't increment bits before checking it for NULL. 2006-03-21 23:50:09 +00:00
christos 17c2501482 Coverity CID 881: Always print an error if allocation failed.
If the program is not specified use getprogname()
2006-03-21 23:47:51 +00:00
christos 3351d69442 Add coverity model annotations 2006-03-21 23:40:49 +00:00
bjh21 f3cb4934df Now that NetBSD's got a real logo, use it for !BtNetBSD's icons.
These are basically a straight conversion of the logo -- a better job
could almost undoubtedly be done by someone with artistic talent.
2006-03-21 23:33:35 +00:00
yamt 73998aa4b5 fw_bus_probe_thread: change wmesg from "-" to "fwprobe". 2006-03-21 23:29:04 +00:00
bjh21 cd2a0c7440 Add a NetBSD RCS ID and a comment explaining what this is and where it
came from.
2006-03-21 23:25:46 +00:00
agc 86caa230d8 Actually do something with the SYNC_CACHE command - use fsync_range(2) if
it's available, falling back to fsync(2) if it's not. Add the necessary
glue to the autoconf scripts.
2006-03-21 22:56:55 +00:00
pavel d8e5c31820 Clarify and correct the description of the -R (Record Route) flag.
Reviewed by jnemeth, whith help from him.
2006-03-21 22:54:46 +00:00
gdamore 2716ac0eba Remove a file that should never have been committed. (Stub implementation
that I abandoned.)
2006-03-21 22:50:21 +00:00
he dcaa7a3be5 It's .endif, not .fi. 2006-03-21 22:50:13 +00:00
christos db1dbe6ce9 Coverity CID 1225: Don't close negative fd. While here fix fd leak. 2006-03-21 22:49:43 +00:00
christos 4a6e5a625c Coverity CID 1750: Add a function to free a queue and use it. 2006-03-21 22:47:26 +00:00
gdamore 3cb57abe3a Add a bunch of evbmips device names. 2006-03-21 22:47:09 +00:00
christos 1f548f352a Coverity CID 1752: getq() always allocates a queue if nitems >= 0, so always
free it.
2006-03-21 22:37:34 +00:00
he ce265dd19b Commit forgotten definition of the ciss driver. 2006-03-21 22:33:07 +00:00
bjh21 2cc5929cc1 We don't ship the Settypes file any more, so remove the reference to it. 2006-03-21 22:16:43 +00:00
phil 4617d0a2bf Kill NULL deref (CID: 871)
Plug fd leak (not caught by coverity).
2006-03-21 21:59:56 +00:00