Commit Graph

129 Commits

Author SHA1 Message Date
pfelt 9e4d4958d5 -- fix: bongo-storetool so that it works right
-- fix: install all required files
2009-08-17 23:26:47 +00:00
pfelt 1c70d90f6f -- fix: bongo-queuetool so that it works right
-- fix: some calls in libbongo were no longer needed
2009-08-17 22:53:51 +00:00
pfelt 0db5f0086a -- fix a strict compile error that LanceHaig found due to a missing function prototype 2009-08-16 20:45:49 +00:00
pfelt 44a5d81ccf -- remove unneeded portions of memmgr, move remaining bits to bongoutil
-- refactor a little bit of code
2009-08-15 21:39:22 +00:00
pfelt 6798503631 -- fix: make json compile cleanly 2009-08-15 17:26:40 +00:00
pfelt b378e96840 -- the beginnings of the all out removal of memmgr and merging it elsewhere. 2009-08-15 17:19:49 +00:00
pfelt 23c9f1e29f -- fix: make memmgr compile cleanly
-- remove some unneeded code
2009-08-12 02:35:55 +00:00
pfelt 05ef3f431a -- fix: make connio compile cleanly. 2009-08-08 03:16:33 +00:00
pfelt ded3f9f3b7 -- fix: the gcry_md_read() function returns an unsigned char *. the sprintf conversion to hex was failing due to signedness 2009-08-02 04:38:24 +00:00
alexhudson 56eef6558b Slay the evil array beast. This is why I want my own array api. 2009-07-20 14:47:00 +00:00
pfelt d7b1ef0bec -- cleanup the parameter list for ConnClose(), ConnCloseAll(), ConnStartup 2009-07-19 23:31:35 +00:00
alexhudson 94912df75c Change back array index call to the right form.. 2009-07-19 22:01:26 +00:00
alexhudson ea708940e9 Give explicit array element size instead of trying to figure it out 2009-07-19 20:19:48 +00:00
alexhudson 6b8b45e92d Update Xpl to compile cleanly, remove some unused code. 2009-07-19 13:43:11 +00:00
alexhudson 4f01ac0677 Make bongocal compile strictly, try to fix some of the bugs in the library... 2009-07-19 13:24:54 +00:00
pfelt 2b417a9c7d -- remove BongoArray and replace it with GArray
-- StrictCompile antispam and fix all the accompanying warnings
2009-07-18 18:09:53 +00:00
pfelt 71bcaa7d9a -- fix a minor bug where not having a callback breaks 2009-07-16 12:23:57 +00:00
alexhudson 8bb3ebbec0 Put back callback handlers in mempool implementation. 2009-07-16 06:57:04 +00:00
alexhudson 20f8e515f2 Turn on strict compiling for the store.. bit messy in places :S 2009-07-12 08:27:13 +00:00
pfelt e6ff789f6e -- fix: zero out slice allocated memory 2009-07-10 23:03:26 +00:00
alexhudson 828ab1006d Merge memmgr-glib experiment onto trunk 2009-07-10 08:34:06 +00:00
alexhudson b7e4ae5eb7 Make PROPGET response codes be properly understood for now. 2009-05-09 10:40:29 +00:00
alexhudson 0845d02c39 Extra PROPGET fixes for decimal / hexadecimal responses 2009-05-03 19:45:38 +00:00
alexhudson 4660ee8966 Make PROPGET work for nmap client library 2009-05-03 19:39:08 +00:00
alexhudson 5cbb7d3524 Make PROPGET response sanely 2009-05-03 19:29:02 +00:00
pfelt 5d70bf41de -- fix memory leak: when conntrace is enabled there is a memory leak because NMAPQuit() did not free the trace destination. 2009-04-18 20:45:24 +00:00
pfelt 23afd06ef7 -- rules.c: memory leak fix. when using a linked list it is important to free more than just the head
-- bongoagent.c: if the type is array and the subtype is string, free the strings since we MemStrdup()'d them initially.
2009-04-17 18:08:57 +00:00
pfelt 6e6727b194 -- fix a memory leak in the rules agent. there is still one in there somewhere
-- fix a memory leak in ReadBongoConfiguration().  we weren't freeing the memory
2009-04-16 00:44:52 +00:00
alexhudson f773e2a2f4 Possibly a rather embarrassing bug fix... :) 2009-04-15 19:44:22 +00:00
pfelt d795c59e95 -- change the cleanup a bit for the *BongoConfiguration() functions. There is still a double free in there somewhere that needs to be found
-- change to FreeBongoConfiguration() to free the strings in the array if string is the subtype.
-- Duplicate strings so that we don't overwrite the memory later
2009-04-05 15:42:57 +00:00
pfelt ca04d0241e -- some fixes for opensuse 64bit build
-- a fix for gnutls detection of invalid sessions
2009-03-07 19:14:54 +00:00
alexhudson 70d6da04ab Make MsgSQLResultTextPtr() return a value instead of random rubbish. 2009-02-15 22:00:37 +00:00
pfelt d8a8373931 -- several changes to clear up some compiler warnings 2009-02-14 17:11:30 +00:00
alexhudson 17e3c2a308 Make the count in ConnReadToConnUntilEOS be signed so that we detect "error" conditions. Need to review if this is ok wrt. 'int' being a big enough value. 2009-02-10 13:05:44 +00:00
pfelt 449353f91b -- fixed a bug in ConnReadToAllocatedBuffer() where we end up reading way out past the end of our buffer. 2009-02-06 06:37:24 +00:00
pfelt 8ce1339a7a -- the previous commit on this, while it worked, was a messed up way of doing it. this is a tad cleaner. 2009-01-26 04:35:44 +00:00
pfelt 26f865c448 -- fix a couple of conntrace related bugs. conntrace should now work again 2009-01-25 16:51:52 +00:00
pfelt 54e2e82bf4 -- i don't really like the way that i fixed the memory leak in connio, however i wanted to get this out to users asap for testing. this fixed a major memory leak for me when tls is used
-- there were a couple of remaining memory leaks in smtpc that have been fixed and i've changed the threadpool size from 5-20 down to 1.  The system still seems to deliver mail rapidly and the huge memory usage does not occur any longer.
2009-01-20 05:13:08 +00:00
alexhudson 90e8a95b6a Go back to previous libical API for header files since this seems to be 'right' for the future now... 2008-10-10 09:08:05 +00:00
alexhudson 07b8c90144 Stop attempting to cache SQL statements; we have a race in here which causes crashing. 2008-10-05 11:43:58 +00:00
alexhudson c8b76933bb Try to catch various crashes and log something to a file. Works for the queue, and possibly other agents if they use the main signal handler. 2008-09-22 20:00:41 +00:00
alexhudson 29f4eeec4e Merge the store-sqlite branch back onto trunk 2008-09-04 15:22:34 +00:00
alexhudson b4a2c683aa Update doxygen setup and fix some of the bad bits of documentation. 2008-04-12 13:40:18 +00:00
alexhudson 160871308e One-liner to fix segfault in bongo-config 2008-04-04 17:20:16 +00:00
pfelt 2e9fab5085 -- BongoSListDelete() and BongoListDelete() now conform better to the reset of the list api
-- added back code from alex on the progress stuff due to oddness in the flushing and messaging.
-- changed the progress stuff to use the new *ListDelete() calls
2008-03-29 23:09:15 +00:00
pfelt 362bdba3f1 -- added list delete functions 2008-03-18 02:42:05 +00:00
pfelt 4778f84e82 -- minor pointer fix. this should fix buffer overflows. 2008-03-11 04:04:07 +00:00
alexhudson 37fbbedcd1 Obvious bug in my new connio function - advance the read pointer when we consume some data... 2008-03-08 21:14:15 +00:00
alexhudson 5777226c63 Fix up my misunderstanding of 'remaining' bytes actually being available buffer space... 2008-03-05 12:05:41 +00:00
alexhudson cc24c5cd3a Rewrite ConnReadToAllocatedBuffer() so that it's actually bug-free and works. Usual story; fewer lines of code, more comments, fewer bugs. Hooray. 2008-03-04 14:35:05 +00:00