Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add missing statement | Jack Lloyd | 2018-06-08 | 1 | -0/+1 |
| | |||||
* | Reduce copying/allocations when BER decoding | Jack Lloyd | 2018-06-08 | 1 | -49/+62 |
| | | | | | | | We are constrained in how far we can go because BER_Object must mandatorily copy its value (due to the public member variable exposting the bytes). But this reduces the number of allocations when parsing a sample X.509 certificate by about 15% | ||||
* | Use BER_Decoder::get_next to cleanup X.509 cert decoding code | Jack Lloyd | 2018-05-21 | 1 | -1/+9 |
| | |||||
* | Use BOTAN_DEFAULT_BUFFER_SIZE instead of DEFAULT_BUFFERSIZE | Jack Lloyd | 2018-03-01 | 1 | -1/+1 |
| | |||||
* | Prepare for making BER_Object members private | Jack Lloyd | 2018-01-18 | 1 | -54/+41 |
| | | | | | Now there are usable accessors that allow the library to avoid using BER_Object members directly. | ||||
* | Fix some other copy+paste code in BER_Decoder | Jack Lloyd | 2017-12-19 | 1 | -70/+34 |
| | |||||
* | Avoid uncontrolled recusion on indefinite length encodings | Jack Lloyd | 2017-11-20 | 1 | -17/+26 |
| | | | | | A sufficiently nested indefinite length construction would cause stack exhaustion and a crash. Found by OSS-Fuzz - issue 4353 | ||||
* | Refactor to avoid explicit delete in BER_Decoder | Jack Lloyd | 2017-09-22 | 1 | -23/+9 |
| | |||||
* | Add a guard to avoid doing &v[1] when v.size() == 1 | Jack Lloyd | 2017-08-25 | 1 | -2/+6 |
| | | | | Found by running the fuzzers over corpus with debug iterators. | ||||
* | Avoid recursion in BER_Decoder::get_next_object | Jack Lloyd | 2017-04-09 | 1 | -11/+16 |
| | |||||
* | Convert to using standard uintN_t integer types | Jack Lloyd | 2016-12-18 | 1 | -20/+20 |
| | | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them. | ||||
* | Check for overflow in BER decoder EOC scanning | Jack Lloyd | 2016-11-27 | 1 | -1/+4 |
| | |||||
* | Fix remaining Wshadow warnings and enable on gcc and clang | René Korthaus | 2016-02-18 | 1 | -5/+5 |
| | |||||
* | Mass-prefix member vars with m_ | René Korthaus | 2016-01-08 | 1 | -44/+44 |
| | |||||
* | Internal header cleanups | Jack Lloyd | 2015-09-19 | 1 | -1/+1 |
| | | | | Only user-visible change is the removal of get_byte.h | ||||
* | Fix two crashes in the BER decoder found with afl. | Jack Lloyd | 2015-08-02 | 1 | -2/+10 |
| | | | | | One a read at 0 of an empty vector, the other causing allocation of an arbitrary amount of memory. | ||||
* | More changes for use with debug STL | Simon Warta | 2015-06-30 | 1 | -2/+2 |
| | |||||
* | lib/asn1: Convert &vec[0] to vec.data() | Simon Warta | 2015-06-27 | 1 | -6/+6 |
| | |||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 1 | -1/+1 |
| | | | | | Update license header line to specify the terms and refer to the file, neither of which it included before. | ||||
* | Fix decoding indefinite length BER constructs that contain a context | lloyd | 2014-09-27 | 1 | -1/+1 |
| | | | | sensitive tag of zero. Github pull 26 from Janusz Chorko. | ||||
* | Move lib into src | lloyd | 2014-01-10 | 1 | -0/+561 |