[Swan-commit] Changes to ref refs/heads/master
D. Hugh Redelmeier
hugh at vault.libreswan.fi
Sat May 17 03:02:33 EEST 2014
New commits:
commit 4be4aa0954756f344e9eca05dc6ff5eb17eb6c9a
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:59:07 2014 -0400
Various fixes to alg parsing code
- string lengths should be typed size_t, not int
- initialize struct parser_context in a way that that pointers will be
set to NULL on any conforming C implementation
- alg_enum_search: handle buffer overflow safely
- sscanf's %n format should correspond to an int * argument.
Remaining problem: sscanf is used on counted strings.
- raw_alg_info_ike_add, raw_alg_info_esp_add: check for overflow
after checking for duplicate.
- several routines for parsing algorithm specifications attempted to
return diagnostics in automatic variables that would be gone upon
return. Fixed.
- spi.c: try to report diagnostic produced by alg_info_esp_create_from_str
- added "warning" to "You should NOT use insecure/broken ESP
algorithms" to indicate that we accept this anyway
- tidy
commit 32c688f9910983ff970cde6ca65a5e9f947f674c
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:51:32 2014 -0400
tidy
commit 4c4c1c0f733eba16ee8e48bc4e5670215993265d
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:29:49 2014 -0400
spdb_struct.c: tidy
commit bc9e8666b7da0946882a813904d577c6cce5247f
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:17:11 2014 -0400
get rid of obfuscating do...while (0) wrapper for macro bodies in lswalloc.h
commit 14485a4960197ba2c1eb73f5cb50181c3272ef5d
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:14:30 2014 -0400
saref.c: tidy
commit 7ff4a2ed7972d49085938ab6c1f408f3cab08416
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:12:50 2014 -0400
get rid of obfuscating do...while (0) wrapper for macro bodies in constants.h
commit 3b91d29bf13c92ed07d6be36697d304c9f34e7da
Author: D. Hugh Redelmeier <hugh at mimosa.com>
Date: Fri May 16 19:05:34 2014 -0400
fix spelling
More information about the Swan-commit
mailing list