1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-10-31 20:08:43 +01:00
gnupg/g13
Werner Koch 4bc3a2e954
g13: Fix pointer wrap check.
* g13/utils.c (find_tuple, next_tuple): Cast pointer to size_t before
doing an overflow check.
--

Detected by Stack 0.3:

    bug: anti-simplify
  model: |
    %cmp4 = icmp ult i8* %add.ptr3, %s.0, !dbg !568
    -->  false
  stack:
    - /home/wk/s/gnupg/g13/utils.c:127:0
  ncore: 1
  core:
    - /home/wk/s/gnupg/g13/utils.c:127:0
      - pointer overflow
2015-03-15 13:33:26 +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 g13: Fix pointer wrap check. 2015-03-15 13:33:26 +01:00
utils.h Nuked almost all trailing white space. 2011-02-04 12:57:53 +01:00