gnupg/dirmngr
Werner Koch 2183683bd6 Use inline functions to convert buffer data to scalars.
* common/host2net.h (buf16_to_ulong, buf16_to_uint): New.
(buf16_to_ushort, buf16_to_u16): New.
(buf32_to_size_t, buf32_to_ulong, buf32_to_uint, buf32_to_u32): New.
--

Commit 91b826a388 was not enough to
avoid all sign extension on shift problems.  Hanno Böck found a case
with an invalid read due to this problem.  To fix that once and for
all almost all uses of "<< 24" and "<< 8" are changed by this patch to
use an inline function from host2net.h.

Signed-off-by: Werner Koch <wk@gnupg.org>
2015-02-11 10:28:25 +01:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
ChangeLog.1 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am dirmngr: Fix TLS build problems. 2015-01-21 15:54:06 +01:00
OAUTHORS Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
ONEWS Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
cdb.h Tweaks for gpgconf. 2010-12-14 19:17:58 +00:00
cdblib.c Silence more warnings about unused vars and args. 2014-03-07 19:05:41 +01:00
certcache.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
certcache.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
crlcache.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
crlcache.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
crlfetch.c dirmngr: Remove un-needed check. 2014-12-22 12:39:14 +01:00
crlfetch.h Some work on the dirmngr 2010-07-23 16:16:14 +00:00
dirmngr-client.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
dirmngr-err.h Some work on porting dirmngr (unfinished) 2010-07-16 13:19:45 +00:00
dirmngr.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
dirmngr.h dirmngr: Resurrect hosts in the HKP hosttable. 2014-03-18 11:07:05 +01:00
dirmngr_ldap.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
ks-action.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
ks-action.h dirmngr: Fix HKP host selection code. 2014-03-11 16:30:36 +01:00
ks-engine-finger.c Add framework to print keyserver engine information 2011-02-09 18:20:05 +01:00
ks-engine-hkp.c dirmngr: Fix error code path of map_host. 2015-01-08 12:14:13 +09:00
ks-engine-http.c dirmngr: Support https for KS_FETCH. 2014-09-10 10:37:48 +02:00
ks-engine-kdns.c Add ECC import regression tests and fixed a regression. 2011-02-10 20:45:37 +01:00
ks-engine.h Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
ldap-url.c dirmngr: Simplify strtok macro. 2014-03-07 19:00:31 +01:00
ldap-url.h Merged Dirmngr with GnuPG. 2010-06-09 16:53:51 +00:00
ldap-wrapper-ce.c Silence more warnings about unused vars and args. 2014-03-07 19:05:41 +01:00
ldap-wrapper.c Replace npth_yield in busy wait by npth_usleep. 2012-02-28 17:26:32 +01:00
ldap-wrapper.h Fixed couple of build problems. However the W32 version is currently 2010-07-26 14:27:59 +00:00
ldap.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
ldapserver.c dirmngr,gpgsm: Return NULL on fail 2014-12-22 12:39:14 +01:00
ldapserver.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
misc.c dirmngr: Support https for KS_FETCH. 2014-09-10 10:37:48 +02:00
misc.h dirmngr: Support https for KS_FETCH. 2014-09-10 10:37:48 +02:00
ocsp.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
ocsp.h Merged Dirmngr with GnuPG. 2010-06-09 16:53:51 +00:00
server.c dirmngr: Fix memory leak. 2014-12-22 12:39:14 +01:00
sks-keyservers.netCA.pem dirmngr: Add support for hkps keyservers. 2014-05-05 16:23:37 +02:00
validate.c Use a unique capitalization for "Note:". 2014-10-10 15:29:42 +02:00
validate.h Merged Dirmngr with GnuPG. 2010-06-09 16:53:51 +00:00
w32-ldap-help.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00