Commit Graph

  • 55d29285d9 made numPositiveRecs / numNegativeRecs param order consistent with related functions in Msg5::getTreeList (were used in wrong order) Brian Rasmusson 2016-09-29 12:41:07 +02:00
  • 2fa68d0ea4 removed dead code (duplicate < 0 check) in Msg5::getList Brian Rasmusson 2016-09-29 12:21:43 +02:00
  • 5fd19d4d5d better check of null m_si before use in Msg40::launchMsg20s Brian Rasmusson 2016-09-29 12:14:11 +02:00
  • 70816a633d Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-29 12:10:01 +02:00
  • cc822711f5 check for NULL rdb obj before working on it in addMetaList (Msg4) Brian Rasmusson 2016-09-29 11:52:32 +02:00
  • afc2d6a668 check for rename error and log it in saveAddsInProgress (Msg4) Brian Rasmusson 2016-09-29 11:49:28 +02:00
  • 05496ca7a8 fixed url copy fix Brian Rasmusson 2016-09-29 11:30:41 +02:00
  • c77ae8f6de eliminated dead code in Msg0::getList Brian Rasmusson 2016-09-29 11:23:28 +02:00
  • 2e1979d9d4 corrected file seek error check in handleRequest (Msg1f - log viewer) Brian Rasmusson 2016-09-29 11:19:49 +02:00
  • 05a157b2ed corrected file open error check in handleRequest (Msg1f - log viewer) Brian Rasmusson 2016-09-29 11:16:55 +02:00
  • 7d5b2a98cb check number of bytes read before using read value in loadAddsInProgress (Msg4) Brian Rasmusson 2016-09-29 09:36:31 +02:00
  • 4e88b93270 bit of dead code removed in Msg3::doneScanning Brian Rasmusson 2016-09-29 09:29:45 +02:00
  • 6a9cd188c6 safer url copying in Msg22::getTitleRec Brian Rasmusson 2016-09-29 09:27:56 +02:00
  • d8953bbf6d don't work on url obj if null in Msg22::getTitleRec Brian Rasmusson 2016-09-29 09:23:56 +02:00
  • 949f5eabea do not use entry obj if null in Msg25::addNote Brian Rasmusson 2016-09-29 09:18:22 +02:00
  • 1f35ee78aa don't store value in *itemLen if it is null in getLinkText2 Brian Rasmusson 2016-09-29 09:14:12 +02:00
  • ddfbf21991 don't access collectionRec ptr if null in XmlDoc::set4 Brian Rasmusson 2016-09-28 22:26:23 +02:00
  • 359393feb4 don't attempt to access value of ipaddr that is null in XmlDoc::hashLinksForLinkdb Brian Rasmusson 2016-09-28 22:22:52 +02:00
  • 32330de127 don't attempt to use name var in XmlDoc::hashJSONFields2 if it is null Brian Rasmusson 2016-09-28 22:16:05 +02:00
  • e88dfd6a80 init class members in HashInfo Brian Rasmusson 2016-09-28 22:12:52 +02:00
  • 0487a80abb make null check of valueLen consistent in XmlNode::getAttrValue Brian Rasmusson 2016-09-28 22:10:31 +02:00
  • ef9cd54811 init class members in Title Brian Rasmusson 2016-09-28 20:57:44 +02:00
  • 73a5c088da consistent m_tagIds check in Words::addWords Brian Rasmusson 2016-09-28 20:51:31 +02:00
  • 2aacfb6c27 avoid core in isLinkSpam if xml param is null Brian Rasmusson 2016-09-28 20:42:28 +02:00
  • be0682c59c avoid potentially passing null lang to strncasecmp in getUrlFilterNum Brian Rasmusson 2016-09-28 20:31:13 +02:00
  • 93e8d20284 bail out of getUrlFilterNum is sreq param is null, instead of working on null pointer Brian Rasmusson 2016-09-28 20:25:42 +02:00
  • 9cc807bb69 avoid risk of using negative index into array in Pages::printAdminTop Brian Rasmusson 2016-09-28 19:59:52 +02:00
  • 0e1a5eb1b1 never try to access m_slab if null in Msge0::reset Brian Rasmusson 2016-09-28 17:33:56 +02:00
  • 8b3d17aa9f fixed potential buffer overrun in sendPageSockets (PageSockets.cpp) Brian Rasmusson 2016-09-28 17:28:15 +02:00
  • f0ca9b0feb Merge branch 'master' of https://github.com/privacore/open-source-search-engine Brian Rasmusson 2016-09-28 17:06:15 +02:00
  • 2e202817ea add null check to Parms::convertHttpRequestToParmList so we don't pass null pointer to addNewParmToList2 Brian Rasmusson 2016-09-28 17:06:05 +02:00
  • 4ea864cb94 Added 2 new tools to dump RdbBuckets & RdbIndex Ai Lin Chia 2016-09-28 17:01:57 +02:00
  • cda54a7f05 Allow print_fn to override logging of buckets Ai Lin Chia 2016-09-28 17:01:04 +02:00
  • 3b8e7143dd Fix uninitialized data access Ai Lin Chia 2016-09-28 17:00:38 +02:00
  • 4d395bc25d Add new printKey function Ai Lin Chia 2016-09-28 16:59:09 +02:00
  • 178fd486de Add logTrace for RdbTree Ai Lin Chia 2016-09-28 16:57:34 +02:00
  • 2e1328ddbe Fix compilation error for validate_rdbindex Ai Lin Chia 2016-09-28 16:10:47 +02:00
  • 4d454d8030 removed dead code in Parm::printVal Brian Rasmusson 2016-09-28 16:59:02 +02:00
  • d4b92bc430 added null check to atotime in HttpMime as it would happily work on a null pointer. Could potentially happen in Params.setParm Brian Rasmusson 2016-09-28 16:57:26 +02:00
  • ea2b3db235 avoid potential use of null var in Parms::saveToXml Brian Rasmusson 2016-09-28 16:53:03 +02:00
  • 8644185680 avoid potentially accessing members of a null cr object in printDropDownProfile Brian Rasmusson 2016-09-28 16:43:24 +02:00
  • c89efb2c3b avoid potential use of another uninit var in Parms::saveToXml Brian Rasmusson 2016-09-28 16:33:32 +02:00
  • 914b3704de avoid potential use of uninit var in Parms::saveToXml Brian Rasmusson 2016-09-28 16:31:49 +02:00
  • 935cc616f4 avoid potential use of uninit var in Parms::overlapTest Brian Rasmusson 2016-09-28 16:26:20 +02:00
  • 2e9e764750 Added sanity check to atotime4 in HttpMime. It could index out of bounds, e.g. when called by atotime in Parms::setParm Brian Rasmusson 2016-09-28 16:01:35 +02:00
  • 8a755e70a9 fix uninit use of var oldRound in handleRequest3fLoop Brian Rasmusson 2016-09-28 15:40:08 +02:00
  • 1d522b1f64 fix fix of dead-code in Process::saveRdbTrees Brian Rasmusson 2016-09-28 15:25:12 +02:00
  • 9702a6b032 fix fd leak and fd-out-of-scope in Wiktionary::generateHashTableFromWiktionaryTxt Brian Rasmusson 2016-09-28 14:58:10 +02:00
  • 7898aa9766 avoid potential negative array index read in Pages::printFormTop Brian Rasmusson 2016-09-28 14:25:21 +02:00
  • d7e36790cd avoid use of uninitialized var lasty in Statsdb::plotGraph Brian Rasmusson 2016-09-28 14:12:31 +02:00
  • afdc412f01 Fix bug where deleting node in buckets does not trigger a save Ai Lin Chia 2016-09-28 13:47:27 +02:00
  • 6456119bb3 Add more RdbBuckets trace log Ai Lin Chia 2016-09-28 13:46:48 +02:00
  • d5c2300ffa avoid complaint about not null-terminating when using strncpy Brian Rasmusson 2016-09-28 12:19:30 +02:00
  • a05ee1f6f2 potential use of uninit var in RdbList::merge_r Brian Rasmusson 2016-09-28 12:12:14 +02:00
  • 3bd0811540 Add some test on duplicated nodes Ai Lin Chia 2016-09-28 12:01:09 +02:00
  • 0c76a6a578 Make sure posdb keys in RdbBuckets are removed as well when document is respidered/deleted Ai Lin Chia 2016-09-28 11:42:29 +02:00
  • 321a41b6e6 Disable old unit test until we can figure out if it's useful Ai Lin Chia 2016-09-27 15:58:12 +02:00
  • 945c643c20 Make sure delete key with termId 0 is added when rdb files exist Ai Lin Chia 2016-09-27 15:57:30 +02:00
  • 6c6fd29a05 Remove tmp comments Ai Lin Chia 2016-09-27 15:52:47 +02:00
  • cc118693b0 moved some members init from reset to constructor Brian Rasmusson 2016-09-28 11:22:26 +02:00
  • 414e4e1769 fd leak in pingTest if setsockopt failed Brian Rasmusson 2016-09-27 20:20:04 +02:00
  • 2a328e5930 more init class members in Repair Brian Rasmusson 2016-09-27 20:18:07 +02:00
  • a1d0ea5b26 more init class members in RdbMerge Brian Rasmusson 2016-09-27 20:15:22 +02:00
  • d437bc5d54 init oldk in RdbList::removeBadData_r before use (Coverity pleasing) Brian Rasmusson 2016-09-27 20:13:36 +02:00
  • 6d73851922 more init class members in Links (Msg25) Brian Rasmusson 2016-09-27 20:09:54 +02:00
  • 78c43439bb avoid potentially indexing into a null pointer i doPoll Brian Rasmusson 2016-09-27 20:08:07 +02:00
  • a965c15005 more init class members in Collectiondb Brian Rasmusson 2016-09-27 20:04:50 +02:00
  • 943570f21f init class members in Stats Brian Rasmusson 2016-09-27 19:44:17 +02:00
  • ae38b7582a init class members in SpiderLoop Brian Rasmusson 2016-09-27 17:49:41 +02:00
  • 17a5ed1b76 unused member m_isSaving removed from SpiderCache Brian Rasmusson 2016-09-27 17:37:23 +02:00
  • bdbe3a09c9 init class members in SiteGetter Brian Rasmusson 2016-09-27 17:34:35 +02:00
  • c3a3285d96 init class members in Sections Brian Rasmusson 2016-09-27 17:24:19 +02:00
  • 92ba3b89ae init class members in SearchInput Brian Rasmusson 2016-09-27 17:11:35 +02:00
  • f08b2e33fb Use sizeof correctly in UCPropTable.cpp Ivan Skytte Jørgensen 2016-09-27 16:53:28 +02:00
  • 252f0fa6b0 more init class members in Repair Brian Rasmusson 2016-09-27 16:48:47 +02:00
  • 8bb1b2a704 Merge branch 'master' of https://github.com/privacore/open-source-search-engine Brian Rasmusson 2016-09-27 16:42:36 +02:00
  • 8cfabed19f init class members in RdbMerge Brian Rasmusson 2016-09-27 16:42:26 +02:00
  • 422abcaa2e Better error checking in UCPropTable::deserialize() Ivan Skytte Jørgensen 2016-09-27 16:39:00 +02:00
  • 38f74b51ef sanity check before using null-hintkey Brian Rasmusson 2016-09-27 16:30:43 +02:00
  • 8c67f7d328 doh.. fix null check Brian Rasmusson 2016-09-27 16:24:55 +02:00
  • db5af20c71 more init class members in Profiler Brian Rasmusson 2016-09-27 16:22:54 +02:00
  • 88b6dc61c4 init class members in Parm and Parms Brian Rasmusson 2016-09-27 16:19:44 +02:00
  • 1a2fecbf31 Made pointer arithmetics in serializeMsg2() slightly clearer Ivan Skytte Jørgensen 2016-09-27 16:14:00 +02:00
  • 40b333067b Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-27 16:10:30 +02:00
  • b26cfcf788 Don't reset m_cks etc. in RdbCache:.reset() Ivan Skytte Jørgensen 2016-09-27 16:06:19 +02:00
  • e190767cfb more init class members in Msg5 Brian Rasmusson 2016-09-27 15:57:33 +02:00
  • 90e3a99eb9 more init class members in Msg25 Brian Rasmusson 2016-09-27 15:20:26 +02:00
  • 1a5f180e14 Moved summary generation to separate threads. Ivan Skytte Jørgensen 2016-09-27 14:27:20 +02:00
  • 0ada34831f Fix coverity warning logically dead code Ai Lin Chia 2016-09-27 14:07:48 +02:00
  • 7a7cfb0880 initialize XmlDoc::m_errno Ivan Skytte Jørgensen 2016-09-27 14:04:46 +02:00
  • 58a97bab8b Merge branch 'master' into nomerge2 Ivan Skytte Jørgensen 2016-09-27 14:00:20 +02:00
  • 346cf7c1ee Add more test for with/without index Ai Lin Chia 2016-09-27 13:45:20 +02:00
  • 3b0d2de057 more init class members in Links (Msg25) Brian Rasmusson 2016-09-27 13:36:30 +02:00
  • 836b415a84 avoid potentially indexing into null-pointer in Loop::doPoll when debug is enabled Brian Rasmusson 2016-09-27 13:34:01 +02:00
  • de66a09c58 more init class members in Images Brian Rasmusson 2016-09-27 13:30:46 +02:00
  • 68c61b4c3f Protect intersection logic from non-existing hash groups (which apparently sometimes are in posdb) Ivan Skytte Jørgensen 2016-09-27 13:29:03 +02:00
  • 8a904545b1 Mutex-lock in SummaryCache Ivan Skytte Jørgensen 2016-09-27 13:24:53 +02:00
  • 0e99c1dc8b init class members in HttpRequest Brian Rasmusson 2016-09-27 13:23:04 +02:00
  • fcd977edcd more init members in Conf Brian Rasmusson 2016-09-27 13:06:21 +02:00
  • e5e38d4a28 more init class members in Collectiondb Brian Rasmusson 2016-09-27 12:21:54 +02:00