1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-12 21:58:50 +01:00
gnupg/g13
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
..
backend.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
backend.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
be-encfs.c Remove use of gnulib (part 2) 2014-11-11 15:14:31 +01:00
be-encfs.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
be-truecrypt.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
be-truecrypt.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
call-gpg.c g13: Avoid segv after pipe creation failure. 2014-09-18 16:01:05 +02:00
call-gpg.h [g13] Add RECIPEINT and CREATE command. 2009-10-19 09:18:46 +00:00
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
create.c Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
create.h [g13] Add RECIPEINT and CREATE command. 2009-10-19 09:18:46 +00:00
encfs-1.5_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
encfs-1.7.3_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
g13.c Add a hook to be called right after main. 2015-01-28 19:57:22 +01:00
g13.h Switch to the libgpg-error provided estream. 2014-08-26 17:47:54 +02:00
keyblob.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
Makefile.am Remove use of gnulib (part 1) 2014-11-11 10:13:10 +01:00
mount.c Use inline functions to convert buffer data to scalars. 2015-02-11 10:28:25 +01:00
mount.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
mountinfo.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
mountinfo.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
runner.c Change all quotes in strings and comments to the new GNU standard. 2012-06-05 19:29:22 +02:00
runner.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
server.c Remove support for the GPG_AGENT_INFO envvar. 2014-10-03 11:58:58 +02:00
server.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
utils.c Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00
utils.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00