NIIBE Yutaka
6b4abf1d49
gpg: Fix memory leak.
...
* g10/textfilter.c (copy_clearsig_text): Free the buffer.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(backport from master commit:
6b9a89e4c7d6f19de62e0a908a8d80c98bf99819)
2017-07-07 21:53:12 +09:00
NIIBE Yutaka
aa4a3aa3e7
g10: Fix iobuf API of filter function for alignment.
...
* include/iobuf.h (struct iobuf_struct): Remove DESC.
* util/iobuf.c (iobuf_desc): New.
(print_chain, iobuf_close, iobuf_open, iobuf_fdopen, iobuf_sockopen)
(iobuf_create, iobuf_append, iobuf_openrw, iobuf_ioctl)
(iobuf_push_filter2, pop_filter, underflow): Use iobuf_desc.
(file_filter, sock_filter, block_filter): Fill the description.
* g10/armor.c, g10/cipher.c, g10/compress-bz2.c, g10/compress.c,
g10/encode.c, g10/encr-data.c, g10/mdfilter.c, g10/pipemode.c,
g10/progress.c, g10/textfilter.c: Likewise.
--
Newer GCC warns against possible alignment difference of pointers.
This change can silence those warnings.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
(backported from 2.1 commit 3f52c7da3940ec06572270d511000dc7fe9c27d2)
2016-01-26 15:38:27 +09:00
Werner Koch
9a2a818887
Switched to GPLv3.
...
Updated gettext.
2007-10-23 10:48:09 +00:00
Werner Koch
256f67675f
About to release 1.4.3
2006-04-03 10:13:23 +00:00
Werner Koch
a1cdf3c75f
Converted all m_free to xfree etc.
2005-07-27 18:10:56 +00:00
Werner Koch
7d4043ca57
Updated FSF street address and preparations for a release candidate.
2005-05-31 08:39:18 +00:00
David Shaw
07250279e7
* keyedit.c (keyedit_menu): Invisible alias "passwd" as "password".
...
* passphrase.c: Don't check for __CYGWIN__, so it is treated as a
unix-like system.
* options.h, g10.c (main), textfilter.c (standard): Use new option
--rfc2440-text to determine whether to filter "<space>\t\r\n" or just
"\r\n" before canonicalizing text line endings. Default to
"<space>\t\r\n".
2004-12-20 05:19:09 +00:00
David Shaw
bf5d013bc8
* options.h, g10.c (main), textfilter.c (standard): Use --rfc2440 or
...
--openpgp directly to determine the end of line hashing rule.
* trustdb.c (uid_trust_string_fixed): Show uids as expired if the key is
expired.
2004-12-11 04:47:33 +00:00
David Shaw
1c334577f3
* options.h, g10.c (main), textfilter.c (len_without_trailing_ws): Removed
...
(not used). (standard): 2440 says that textmode hashes should canonicalize
line endings to CRLF and remove spaces and tabs. 2440bis-12 says to just
canonicalize to CRLF. So, we default to the 2440bis-12 behavior, but
revert to the strict 2440 behavior if the user specifies --rfc2440. In
practical terms this makes no difference to any signatures in the real
world except for a textmode detached signature.
2004-12-10 05:35:54 +00:00
David Shaw
3a23c4230b
* armor.c, g10.c, kbnode.c, misc.c, pkclist.c, sign.c, build-packet.c,
...
getkey.c, keydb.c, openfile.c, plaintext.c, status.c, gpgv.c, keygen.c,
options.h, sig-check.c, tdbio.h, encode.c, mainproc.c, parse-packet.c,
signal.c, textfilter.c: Edit all preprocessor instructions to remove
whitespace before the '#'. This is not required by C89, but there are some
compilers out there that don't like it.
2003-05-24 21:50:33 +00:00
David Shaw
3f51f7db3d
Update head to match stable 1.0
2002-06-29 13:46:34 +00:00
Werner Koch
92cd255508
See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner Koch
2000-07-14 17:34:53 +00:00
Werner Koch
0070faa0ff
See ChangeLog: Mon Jan 24 13:04:28 CET 2000 Werner Koch
2000-01-24 11:55:49 +00:00
Werner Koch
cf70ca8d68
See ChangeLog: Tue Oct 26 14:10:21 CEST 1999 Werner Koch
1999-10-26 12:14:37 +00:00
Werner Koch
77d6309e21
See ChangeLog: Thu May 20 14:04:08 CEST 1999 Werner Koch
1999-05-20 12:11:41 +00:00
Werner Koch
20bb42bfe7
See ChangeLog: Tue Mar 2 16:44:57 CET 1999 Werner Koch
1999-03-02 15:48:37 +00:00
Werner Koch
7debff3867
See ChangeLog: Wed Jan 20 18:59:49 CET 1999 Werner Koch
1999-01-20 18:10:35 +00:00
Werner Koch
befacf7efa
See ChangeLog: Sun Jan 17 11:04:33 CET 1999 Werner Koch
1999-01-17 10:06:03 +00:00
Werner Koch
750d74333c
See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner Koch
1998-12-23 12:41:40 +00:00
Werner Koch
e81e0970f7
last local commit
1998-10-16 16:00:17 +00:00
Werner Koch
5aed77d1db
fixed clearsig stuff
1998-07-08 09:29:43 +00:00
Werner Koch
5a05af2bca
Renamed to GNUPG
1998-02-24 18:50:46 +00:00
Werner Koch
9886ad8098
armor rewritten, but still buggy
1998-02-04 18:54:31 +00:00
Werner Koch
c351df1dc5
changed configuration stuff, replaced some Makefile.am by distfiles.
1997-12-23 17:30:18 +00:00