Werner Koch
101ba4f18a
kbx: Fix keyboxd searching with multiple patterns.
...
* kbx/keybox-search-desc.h (struct keydb_search_desc): New flag
name_used.
* common/userids.c (classify_user_id): Set flag.
* kbx/kbxserver.c (struct search_backing_store_s): New.
(cmd_search): use a backing store for the const pointers.
(kbxd_start_command_handler): Release the backing store.
--
Well, the search object partly uses buffers but also const
pointers (for strings and the serial number). This when assigning
such objects to an another one we should really take a deep copy and
not just copy the pointer. The more clean solution would have been to
provide a storage option the search object but that needs checking the
code at too many places so that I decided to use a separate backing
store array here.
Signed-off-by: Werner Koch <wk@gnupg.org>
2021-07-08 13:57:13 +02:00
..
2018-03-23 08:37:14 +01:00
2017-05-11 18:12:37 +02:00
2020-09-01 20:43:57 +02:00
2020-09-24 10:37:41 +02:00
2020-09-01 20:43:57 +02:00
2020-03-27 21:16:07 +01:00
2018-10-25 16:53:05 -04:00
2017-05-10 11:13:12 +09:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-10-28 10:20:17 +01:00
2017-04-28 10:06:33 +09:00
2015-04-24 16:42:28 +02:00
2020-07-02 15:48:55 +02:00
2021-04-19 11:33:19 +02:00
2021-04-19 11:33:19 +02:00
2021-06-02 19:14:37 +02:00
2021-01-28 15:48:08 +01:00
2020-01-09 12:00:50 +01:00
2021-01-11 14:19:06 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2011-02-04 12:57:53 +01:00
2021-04-08 11:26:58 +09:00
2021-03-08 21:53:28 +01:00
2017-11-29 11:32:42 +01:00
2020-09-02 14:49:24 +02:00
2020-08-03 13:34:26 +09:00
2020-02-18 18:07:46 -05:00
2011-02-04 12:57:53 +01:00
2016-11-05 12:02:19 +01:00
2020-03-14 19:12:41 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2020-11-03 19:32:11 +01:00
2016-11-05 12:02:19 +01:00
2013-05-07 21:35:48 +02:00
2020-07-02 15:48:55 +02:00
2020-10-20 12:15:56 +02:00
2021-05-21 09:23:04 +02:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2015-11-17 12:50:22 +01:00
2021-03-05 15:33:40 +01:00
2017-04-28 10:06:33 +09:00
2020-10-20 14:08:35 +02:00
2020-02-10 16:50:47 +01:00
2015-12-14 16:21:19 +01:00
2020-02-17 11:36:43 +01:00
2017-02-16 17:21:05 +01:00
2017-03-07 10:42:46 +09:00
2018-06-12 13:46:00 +02:00
2021-06-16 12:03:13 +02:00
2021-03-10 12:33:08 +01:00
2018-11-12 07:44:33 +01:00
2018-11-12 07:44:33 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2020-03-04 13:55:53 +01:00
2018-12-01 13:43:09 +02:00
2018-12-01 13:43:09 +02:00
2020-10-20 16:38:06 +02:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2018-10-25 16:53:05 -04:00
2019-04-16 13:24:10 +09:00
2021-05-20 14:31:23 +02:00
2019-05-07 11:09:09 +02:00
2021-05-25 13:39:59 +02:00
2021-03-22 16:57:18 +09:00
2019-07-12 12:11:26 +09:00
2021-04-16 12:49:37 +02:00
2020-02-18 18:07:46 -05:00
2017-10-17 21:10:19 +02:00
2017-10-17 21:10:19 +02:00
2016-03-02 14:27:30 +01:00
2021-04-13 14:57:51 +09:00
2016-11-05 12:02:19 +01:00
2019-02-08 11:13:33 +01:00
2019-02-08 11:13:33 +01:00
2021-01-25 10:35:06 +01:00
2016-11-05 12:02:19 +01:00
2018-10-25 16:53:05 -04:00
2021-03-26 14:30:58 +01:00
2018-03-23 08:37:14 +01:00
2020-11-18 14:12:51 +09:00
2018-10-24 15:56:18 -04:00
2017-04-28 10:06:33 +09:00
2018-09-06 11:41:13 +09:00
2017-05-24 17:01:48 +02:00
2020-09-01 20:43:57 +02:00
2020-11-05 11:19:15 -08:00
2021-03-26 14:30:58 +01:00
2020-09-18 10:20:23 +09:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2021-02-10 08:32:57 +01:00
2021-01-11 14:19:06 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2019-10-01 10:32:31 +02:00
2020-10-20 13:38:11 +02:00
2018-10-24 15:56:18 -04:00
2020-10-20 12:15:55 +02:00
2017-01-12 10:39:19 +01:00
2016-11-05 12:02:19 +01:00
2017-01-02 13:29:18 +01:00
2016-11-05 12:02:19 +01:00
2019-09-17 16:19:28 +02:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2020-02-18 18:07:46 -05:00
2016-11-05 12:02:19 +01:00
2017-04-28 10:06:33 +09:00
2021-06-22 12:30:46 +02:00
2017-05-24 17:07:13 +02:00
2020-09-18 10:20:23 +09:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2017-02-24 13:48:28 +01:00
2021-03-04 16:59:21 +01:00
2017-02-24 13:48:28 +01:00
2016-11-05 12:02:19 +01:00
2021-05-20 13:38:07 +02:00
2020-09-11 15:23:22 +02:00
2020-04-24 15:37:48 +02:00
2021-06-22 11:12:28 +02:00
2020-07-02 15:48:55 +02:00
2020-11-18 13:36:30 +09:00
2021-07-08 13:57:13 +02:00
2016-11-05 12:02:19 +01:00
2020-08-28 15:18:00 +09:00
2017-02-24 13:48:28 +01:00
2021-05-21 09:23:04 +02:00
2016-11-05 12:02:19 +01:00
2021-03-04 17:14:02 +01:00
2017-02-24 13:48:28 +01:00
2021-03-04 17:14:02 +01:00
2021-02-21 12:38:55 +01:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00
2017-02-21 13:11:46 -05:00
2016-11-05 12:02:19 +01:00
2016-11-05 12:02:19 +01:00