{"push_id":1187215546,"size":160,"distinct_size":49,"ref":"refs/heads/f/unset-value","head":"5d81a6de93c75c227fadb4331b20992e9583e33f","before":"f4ea314cc11d8013a06d6c919ba718fd2ec596e7","commits":[{"sha":"31784247688a5a8e4d0bdb41a3c9dbe5f56c136b","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"cfg-lexer: avoid double free by cloning the token\n\ncfg_token_block_get_token() returns the next token of the block or a NULL\npointer if there is no token left.\n\nWe share this token with the grammar, and the actions in the grammar\nare allowed to free its parts (like the .cptr field in case of\nLL_IDENTIFIER, LL_STRING, LL_BLOCK).\n\nBut we will free the content of cptr during a cfg_lexer_free_token() call.\n\nI see two solutions:\n* clone the token before giving it to the grammar (cfg_lexer_copy_token)\n* don't free the individual tokens in cfg_token_block_free(), just the\narray itself\n\nAs we *moved* out the tokens by cfg_token_block_get_token(), I choose the\nsecond approach.\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/31784247688a5a8e4d0bdb41a3c9dbe5f56c136b"},{"sha":"60e20179e564b62d8e9d173b4fbc89451ecdc59e","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb: cleanup (unused function, struct, whitespace, cast)\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/60e20179e564b62d8e9d173b4fbc89451ecdc59e"},{"sha":"03ebb37879bd914e3bdfc231ada9f35d2bb548b0","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb: extract object struct to afmongodb-private.h\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/03ebb37879bd914e3bdfc231ada9f35d2bb548b0"},{"sha":"228edd9e8163ae71e9fa3ccb3f0b53e69e52c767","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: rename static functions\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/228edd9e8163ae71e9fa3ccb3f0b53e69e52c767"},{"sha":"1617239fb08b097891ab342531b71daff618191b","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb: rename vars, extract _uri_init(), proper GString use\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/1617239fb08b097891ab342531b71daff618191b"},{"sha":"4e9f4157ffdd9b61be778a0ce56c1184d09fac31","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: set a default URI string\n\nThus an empty mongodb() block in the config works again.\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/4e9f4157ffdd9b61be778a0ce56c1184d09fac31"},{"sha":"1996f870f81675a040f0e03fca16c68be000c1c3","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: use bson_destroy() instead of bson_free()\n\nMemory leak pointed out by Valgrind.\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/1996f870f81675a040f0e03fca16c68be000c1c3"},{"sha":"0c9f9447c5fdd9eb178065e57c1d56740ed3688d","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: only destroy connector if non-null\n\nOtherwise, mongoc throws SIGSEGV.\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/0c9f9447c5fdd9eb178065e57c1d56740ed3688d"},{"sha":"8dd719634995079757769225214546b78f80f420","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: only free GString if non-null\n\nOtherwise, GLib throws SIGSEGV.\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/8dd719634995079757769225214546b78f80f420"},{"sha":"77a8d0d19723027b751ad742914e978760e087db","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: propagate reconnection failure\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/77a8d0d19723027b751ad742914e978760e087db"},{"sha":"0857fb3ab0ab4f3a33ccd5f84158a52c5fe99555","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: query server status upon connection\n\nOtherwise we only receive an error when attempting to write.\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/0857fb3ab0ab4f3a33ccd5f84158a52c5fe99555"},{"sha":"3b7ad433cca74c27524cf851499d146932bae06e","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: report WORKER_INSERT_RESULT_NOT_CONNECTED on network errors\n\nPreviously, all errors were categorized as non-network\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/3b7ad433cca74c27524cf851499d146932bae06e"},{"sha":"2c45e18b05df16e0d4d6f4174108cf13e3f85a11","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"afmongodb.c: remove extra options from persist name and stats instance\n\nOnly the following information shall be included in the persist name:\n* the first host specified in the URI,\n* database name (URI),\n* replica set (URI),\n* collection (config file).\n\nPreviously since mongo-c-driver migration, we persisted the full URI.\nThis could have unintentional circumstances when used with the later\nmerged disk buffer.\nAltering even minor options between executions will cause syslog-ng\nto interpret the connection as going to a different database.\nIn these cases, disk buffer storage will not be persisted between\nthe said configuration changes.\n\nThe following had introduced the persist name change:\n66368985f04f3c64e853cf0be6f5640542af4429\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/2c45e18b05df16e0d4d6f4174108cf13e3f85a11"},{"sha":"02c05861bd7e54e335c49c702a233e76475bc289","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"libtest/testutils.c: warn when no messages were grabbed\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/02c05861bd7e54e335c49c702a233e76475bc289"},{"sha":"e6ea49f6a81e6f3f01887803bff0bfa9da90d5e6","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"libtest/testutils: extract function display_grabbed_messages()\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/e6ea49f6a81e6f3f01887803bff0bfa9da90d5e6"},{"sha":"be1fd83bfd2fbdca46a04d8e76a9224fd8888ae6","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb/Makefile.am: small fixes to libmongoc path\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/be1fd83bfd2fbdca46a04d8e76a9224fd8888ae6"},{"sha":"0b0c369b8b8daa3c6a3fee59d3e2164d6e9abd6a","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb/tests: config URI tests added\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/0b0c369b8b8daa3c6a3fee59d3e2164d6e9abd6a"},{"sha":"8611333dc380365f0f3079e9e5efe83240eee4a0","author":{"name":"bkil-syslogng","email":"aa8a368a2a76e27232832718c55eab7e791886fa@balabit.com"},"message":"modules/afmongodb, configure.ac: ENABLE_LEGACY_MONGODB_OPTIONS\n\nThis re-adds additional support for previous syntax used by libmongo-client\nbefore we started using mongo-c-driver and its URI syntax exclusively.\n\nI.e., so additionally to uri() and collection(), now the following\nkeywords should work again:\n\nservers()\nsafe_mode()\npath()\npassword()\nusername()\ndatabase()\n\nNote that these are plainly translated to a connection URI without\nmuch sanity checking or preserving their former semantic meaning.\nSo various aspects of the MongoDB connection like health checks, retries,\nerror reporting and synchronicity will still follow the slightly altered\nsemantics of mongo-c-driver.\n\nA large part of the code comes from the previous state before being\nremoved:\n\n66368985f04f3c64e853cf0be6f5640542af4429\n\"afmongodb: added mongo uri option, removed all redundant ones\"\n\nIn the future, theoretically it is enough to revert this single commit\nto remove support.\n(This is one reason I did not opt for OOP & inheritance to implement this)\n\nFixes #893\n\nSigned-off-by: bkil-syslogng <tamas.nagy@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/8611333dc380365f0f3079e9e5efe83240eee4a0"},{"sha":"8abf26f446520af885eef4dde6245666054dfe82","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"native: add missing free to grammar\n\nSigned-off-by: Tibor Benke <tibor.benke@balabit.com>","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/8abf26f446520af885eef4dde6245666054dfe82"},{"sha":"105471e2f6aa70b9b4a28418cd42ac9472f341fc","author":{"name":"Tibor Benke","email":"3ee2d2545d8b83a6c1fd8e9d255b3d02faf514ef@balabit.com"},"message":"fixup! cfg-lexer: avoid double free by cloning the token","distinct":false,"url":"https://api.github.com/repos/balabit/syslog-ng/commits/105471e2f6aa70b9b4a28418cd42ac9472f341fc"}]}
{"actor":{"display_login":"bazsi"}}