- 05 Jun, 2018 1 commit
-
-
Mouse authored
-
- 23 May, 2018 2 commits
-
-
Mouse authored
-
Dave Cridland authored
The function `SET_OF__encode_sorted` stored the working element buffer in a static variable. If called recursively (that is, when performing encoding of a SET containing another SET) the outermost element buffer is therefore clobbered by the innermost call. This causes a SEGV on continuation of the outermost call. Bug found during testing of [https://github.com/surevine/spiffing Spiffing], fix verified with the same test suite.
-
- 01 May, 2018 2 commits
-
-
Uri Blumenthal authored
-
Uri Blumenthal authored
in calculations when gmtoff was not initialized before first use
-
- 25 Apr, 2018 3 commits
-
-
Russ Kubik authored
-
Russ Kubik authored
-
Russ Kubik authored
-
- 16 Apr, 2018 2 commits
-
-
Mouse authored
-
Bi-Ruei, Chiu authored
Mimic what OAI's asnfix.c of generate_asn1 script does.
-
- 13 Apr, 2018 1 commit
-
-
Mouse authored
-
- 12 Apr, 2018 3 commits
-
-
Bi-Ruei, Chiu authored
-
Bi-Ruei, Chiu authored
-
Bi-Ruei, Chiu authored
Mimic what OAI's asnfix.c of generate_asn1 script does.
-
- 21 Mar, 2018 11 commits
-
-
Mouse authored
-
Vasil Velichkov authored
asn1c_save.c:238:5: error: this ‘for’ clause does not guard... [-Werror=misleading-indentation] for(int i = 0; i < argc; i++) ^~~ asn1c_save.c:240:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’ safe_fprintf(mkf, "\n\n"); ^~~~~~~~~~~~
-
Vasil Velichkov authored
../skeletons/INTEGER.c:510:60: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare] if(specs && specs->field_unsigned && dec_value <= ULONG_MAX) {
-
Mouse authored
-
Vasil Velichkov authored
This fixes the following undefined behaviour converter-example.c:721:13: runtime error: null pointer passed as argument 2, which is declared to never be null /usr/include/string.h:44:28: note: nonnull attribute specified here
-
Vasil Velichkov authored
Previously some uper_* function were called
-
Vasil Velichkov authored
When there were no any padding bits the uper and aper decoders where trying to read some which results in read past the buffer end. See https://github.com/mouse07410/asn1c/issues/33#issuecomment-374625610 ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000315 at pc 0x000102ce9c15 bp 0x7fff5d20a8d0 sp 0x7fff5d20a8c8 READ of size 1 at 0x602000000315 thread T0 #0 0x102ce9c14 in asn_get_few_bits asn_bit_data.c:132 #1 0x102d878fd in aper_open_type_get_simple per_opentype.c:455 #2 0x102d85dcc in aper_open_type_get per_opentype.c:514
-
Mouse authored
-
Vasil Velichkov authored
This fixes the following undefined behaviour converter-example.c:721:13: runtime error: null pointer passed as argument 2, which is declared to never be null /usr/include/string.h:44:28: note: nonnull attribute specified here
-
Vasil Velichkov authored
Previously some uper_* function were called
-
Vasil Velichkov authored
When there were no any padding bits the uper and aper decoders where trying to read some which results in read past the buffer end. See https://github.com/mouse07410/asn1c/issues/33#issuecomment-374625610 ERROR: AddressSanitizer: heap-buffer-overflow on address 0x602000000315 at pc 0x000102ce9c15 bp 0x7fff5d20a8d0 sp 0x7fff5d20a8c8 READ of size 1 at 0x602000000315 thread T0 #0 0x102ce9c14 in asn_get_few_bits asn_bit_data.c:132 #1 0x102d878fd in aper_open_type_get_simple per_opentype.c:455 #2 0x102d85dcc in aper_open_type_get per_opentype.c:514
-
- 20 Mar, 2018 1 commit
-
-
Mouse authored
-
- 19 Mar, 2018 11 commits
-
-
Mouse authored
-
Mouse authored
-
Mouse authored
-
Mouse authored
-
Uri Blumenthal authored
-
Uri Blumenthal authored
-
- 18 Mar, 2018 1 commit
-
-
mouse07410 authored
deficiencies of vlm/#260).
-
- 15 Mar, 2018 2 commits