W.C.A. Wijngaards
a8aa1dbbe1
- Fix conditional expressions with parentheses for bitwise and.
2025-06-11 16:42:43 +02:00
W.C.A. Wijngaards
13afde2cad
- Fix representation of types GPOS and RESINFO, add rdf type for
2025-03-17 16:38:17 +01:00
W.C.A. Wijngaards
5f58ced71e
- Fix to check length in ATMA string to wire.
2025-01-21 12:30:30 +01:00
W.C.A. Wijngaards
207ae97ff9
- Fix encoding of RR type ATMA.
2025-01-21 12:27:15 +01:00
W.C.A. Wijngaards
d4c4537b33
- Fix for WKS call to getservbyname that creates allocation on exit
...
in unit test by testing numbers first and testing from the services
list later.
2023-08-30 14:31:24 +02:00
George Thessalonikefs
5be7f1ef8a
- Code cleanup for sldns_str2wire_svcparam_key_lookup.
2023-07-03 10:51:34 +02:00
TCY16
5bf4c505db
remove value check
2022-10-28 17:40:18 +02:00
TCY16
b642c5fe1f
add better URI template checking
2022-08-25 14:06:13 +02:00
TCY16
f3fa363443
implement @gthess' review comments; fix check on compulsory text and add tests
2022-08-24 12:38:08 +02:00
TCY16
b465e0cfc0
add testcase and fix comment
2022-08-15 16:12:22 +02:00
TCY16
73b3b32062
fix styling nits
2022-08-15 14:41:06 +02:00
TCY16
6e31d1f5be
add dohpath parsing
2022-08-15 14:36:35 +02:00
W.C.A. Wijngaards
11d077c826
- Fix some lint type warnings.
2022-05-20 15:32:27 +02:00
W.C.A. Wijngaards
8f8a8a341a
- Fix spelling error in comment in sldns_str2wire_svcparam_key_lookup.
2022-03-25 16:07:23 +01:00
W.C.A. Wijngaards
402135b41a
- Fix to ensure uniform handling of spaces and tabs when parsing RRs.
2022-03-16 09:54:53 +01:00
W.C.A. Wijngaards
debe5c665f
- Fix #637 : Integer Overflow in sldns_str2period function.
2022-03-03 14:19:59 +01:00
Dimitris Apostolou
c7be51a11b
Fix typos
2022-02-18 15:51:03 +02:00
George Thessalonikefs
506d24c7a6
Changelog entry for #532
...
- Merge PR #532 from Shchelk: Fix: buffer overflow bug.
2022-02-02 10:48:56 +01:00
George Thessalonikefs
d81e1c999b
Merge branch 'bufferoverflow' of https://github.com/Shchelk/unbound into Shchelk-bufferoverflow
2022-02-02 10:42:06 +01:00
W.C.A. Wijngaards
12a1053dfa
- Fix #610 : Undefine-shift in sldns_str2wire_hip_buf.
2022-01-25 08:57:49 +01:00
W.C.A. Wijngaards
778b50f113
- Add code similar to fix for ldns for tab between strings, for
...
consistency, the test case was not broken.
2021-12-10 09:12:58 +01:00
Dimitris Apostolou
c21d6af617
Fix typos
2021-11-13 16:56:15 +02:00
Shchelkunov Artem
0b362e3a4d
Fix: buffer overflow bug
...
Found by static analyzer svace
Static analyzer message: Array 'token' of size 65536 bytes passed to
function 'rrinternal_parse_rdata' at str2wire.c:679 by passing as 2nd
parameter to function 'rrinternal_parse_rdata' at str2wire.c:775, where
it is accessed by unacceptable index. This may lead to buffer overflow.
on-behalf-of: @ideco-team <github@ideco.ru>
2021-08-20 19:46:01 +05:00
Florian Obser
25b7eb3c7c
Make sldns_str2wire_svcparam_buf() static.
...
The function is only used in this translation unit and prevents a "no
previous prototype" warning.
2021-08-16 11:27:40 +02:00
George Thessalonikefs
11d3cea823
- Fix compiler warnings for #491 .
2021-07-05 15:36:27 +02:00
Tom Carpay
711087bb13
rename var to remove shadow variable
2021-07-02 14:15:33 +02:00
Tom Carpay
ab017cde0f
Merge branch 'master' into svcb
2021-07-02 13:37:08 +02:00
tcarpay
877aa8df55
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
2021-07-02 13:14:47 +02:00
Tom Carpay
543d6d5c13
fix final comment: remove superfluous assert
2021-07-02 10:53:50 +02:00
Tom Carpay
3d50c25f5b
fix comments - 1
2021-07-01 16:59:48 +02:00
tcarpay
e41125495d
Apply suggestions from code review
...
Co-authored-by: Wouter Wijngaards <wcawijngaards@users.noreply.github.com>
2021-07-01 12:45:14 +02:00
tcarpay
9880077190
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
2021-06-24 11:20:41 +02:00
Tom Carpay
cf02b31675
comment out sematic errors to default to secondary resolver behaviour
2021-06-23 15:03:35 +02:00
Tom Carpay
ff41de4ec3
resolve comments
2021-06-23 14:44:03 +02:00
Tom Carpay
f02d9b5963
fix broken ci-build
2021-06-23 11:04:19 +02:00
tcarpay
eb9891f4ed
Apply suggestions from code review
...
Co-authored-by: Willem Toorop <willem@nlnetlabs.nl>
2021-06-23 10:53:11 +02:00
Tom Carpay
307613ea83
comment changes
2021-06-07 15:29:06 +02:00
Tom Carpay
9beea6a00c
fix key parsing and incorporate testcases
2021-06-07 14:05:14 +02:00
Tom Carpay
7562edbb8c
remove superfluous double escaping
2021-06-07 08:39:05 +00:00
Tom Carpay
19c63fdaf6
add key parsing and edge case tests
2021-06-07 09:54:02 +02:00
Tom Carpay
24faac236d
implement todos
2021-06-02 16:26:30 +02:00
Willem Toorop
cf8418c319
Rewrite SVCB rdata in correct order
2021-06-02 12:56:54 +02:00
Willem Toorop
e5acb8f638
Correct sorting of rdata
2021-06-02 12:50:04 +02:00
Tom Carpay
41f642bfb9
add error handling
2021-06-02 12:27:48 +02:00
Tom Carpay
e89743b2b8
add check_svcbparams
2021-06-02 10:10:05 +02:00
Tom Carpay
9dcfc90225
start of sldns_heck_svcbparams
2021-05-27 14:15:15 +00:00
Tom Carpay
eb0e029dda
add escaping
2021-05-27 15:22:32 +02:00
Tom Carpay
21413aed78
fix merge error in ipv6hints
2021-05-25 16:02:22 +02:00
Willem Toorop
956d7d4e44
Fix mandatory parsing and ech printing
2021-05-25 15:56:19 +02:00
Tom Carpay
e21e7e7f60
Merge branch 'svcb' of github.com:NLnetLabs/unbound into svcb
2021-05-25 11:43:50 +02:00