-
Notifications
You must be signed in to change notification settings - Fork 895
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Simple misc cleanups #4227
Simple misc cleanups #4227
Commits on Nov 27, 2020
-
common/utils: simple utf8 helpers.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 9467e0d - Browse repository at this point
Copy the full SHA 9467e0dView commit details -
common/bolt11: reject bad UTF-8 strings.
We don't have a problem with them, but callers may; easier to reject bad UTF8 here than let the caller fail when it tries to parse output. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 1b47efd - Browse repository at this point
Copy the full SHA 1b47efdView commit details -
JSON-RPC: don't allow any strings which aren't valid UTF-8.
We already do some sanity checks, add this one. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Changelog-Changed: JSON-RPC: invalid UTF-8 strings now rejected.
Configuration menu - View commit details
-
Copy full SHA for 983cf7f - Browse repository at this point
Copy the full SHA 983cf7fView commit details -
Makefile: separate check-python targets.
There's a 60 second delay in one of the contrib tests, and I just want to run flake8 on my alterations. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 135d000 - Browse repository at this point
Copy the full SHA 135d000View commit details -
Not really a leak, since we eventually process pending, but still: ``` **BROKEN** gossipd: MEMLEAK: 0x5562fa63bab8 **BROKEN** gossipd: label=wire/peer_exp_wiregen.c:3858:u8[] DEBUG gossipd: backtrace: DEBUG gossipd: ccan/ccan/tal/tal.c:442 (tal_alloc_) DEBUG gossipd: ccan/ccan/tal/tal.c:471 (tal_alloc_arr_) DEBUG gossipd: wire/peer_exp_wiregen.c:3858 (fromwire_channel_announcement) DEBUG gossipd: gossipd/routing.c:1706 (handle_channel_announcement) DEBUG gossipd: gossipd/gossipd.c:238 (handle_channel_announcement_msg) DEBUG gossipd: gossipd/gossipd.c:444 (peer_msg_in) DEBUG gossipd: common/daemon_conn.c:31 (handle_read) DEBUG gossipd: ccan/ccan/io/io.c:59 (next_plan) DEBUG gossipd: ccan/ccan/io/io.c:407 (do_plan) DEBUG gossipd: ccan/ccan/io/io.c:417 (io_ready) DEBUG gossipd: ccan/ccan/io/poll.c:445 (io_loop) DEBUG gossipd: gossipd/gossipd.c:1730 (main) **BROKEN** gossipd: parents: **BROKEN** gossipd: gossipd/routing.c:1698:struct pending_cannouncement **BROKEN** gossipd: gossipd/gossipd.c:1700:struct daemon ``` Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for a5e511c - Browse repository at this point
Copy the full SHA a5e511cView commit details -
json: add json_tok_endswith and json_tok_startswith helpers.
I wanted this for offers, and it's generally useful. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 1f61bcf - Browse repository at this point
Copy the full SHA 1f61bcfView commit details -
libplugin: add command_hook_success helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for e27422d - Browse repository at this point
Copy the full SHA e27422dView commit details -
common/json: json_add_stringn helper.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for a211ddb - Browse repository at this point
Copy the full SHA a211ddbView commit details
Commits on Dec 1, 2020
-
ccan: update ccan/utf-8 to reject NULs embedded in strings.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Configuration menu - View commit details
-
Copy full SHA for 75768b5 - Browse repository at this point
Copy the full SHA 75768b5View commit details