mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-10 13:04:23 +01:00
See ChangeLog: Mon Jul 10 16:08:57 CEST 2000 Werner Koch
This commit is contained in:
parent
836f226479
commit
6e4d721c93
1
THANKS
1
THANKS
@ -96,6 +96,7 @@ Oskari J
|
||||
Paul D. Smith psmith@baynetworks.com
|
||||
Philippe Laliberte arsphl@oeil.qc.ca
|
||||
Peter Gutmann pgut001@cs.auckland.ac.nz
|
||||
Peter Marschall Peter.Marschall@gedos.de
|
||||
QingLong qinglong@bolizm.ihep.su
|
||||
Ralph Gillen gillen@theochem.uni-duesseldorf.de
|
||||
Rat ratinox@peorth.gweep.net
|
||||
|
@ -1,3 +1,8 @@
|
||||
Mon Jul 10 16:08:57 CEST 2000 Werner Koch <wk@>
|
||||
|
||||
* parse-packet.c (enum_sig_subpkt): Fixed testing on crtitical bit in case
|
||||
of a NULL buffer. Reported by Peter Marschall.
|
||||
|
||||
Wed Jul 5 13:28:45 CEST 2000 Werner Koch <wk@>
|
||||
|
||||
* keyedit.c, keyid.c: Add some _()
|
||||
|
@ -920,8 +920,12 @@ enum_sig_subpkt( const byte *buffer, sigsubpkttype_t reqtype,
|
||||
int seq = 0;
|
||||
int reqseq = start? *start: 0;
|
||||
|
||||
if( !buffer || reqseq == -1 )
|
||||
return NULL;
|
||||
if( !buffer || reqseq == -1 ) {
|
||||
/* return some value different from NULL to indicate that
|
||||
* there is no crtitical bit we do not understand. The caller
|
||||
* will never use the value. Yes I know, it is an ugly hack */
|
||||
return reqtype == SIGSUBPKT_TEST_CRITICAL? (const byte*)&buffer : NULL;
|
||||
}
|
||||
buflen = (*buffer << 8) | buffer[1];
|
||||
buffer += 2;
|
||||
while( buflen ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user