Skip to content

Conversation

@chrisguida
Copy link

No description provided.

@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 58bc8be to 99f1488 Compare March 30, 2023 23:46
@chrisguida chrisguida marked this pull request as ready for review March 30, 2023 23:48
@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 566c630 to 9675463 Compare April 4, 2023 22:57
@niftynei niftynei force-pushed the nifty/onchain_notif branch from 9c035ab to 44c5b52 Compare April 5, 2023 16:54
niftynei pushed a commit that referenced this pull request May 11, 2023
pubkey_from_hexstr() was failing, which we didn't notice because we
weren't checking the return value. The problem was that we were passing
it a strlen that was half the actual length.

Relevant error:

  [libsecp256k1] illegal argument: !secp256k1_fe_is_zero(&ge->x)

  ==417723== ERROR: libFuzzer: deadly signal
    #7 0x7f5deaacc7fb in abort
    #8 0x51b0b0 in secp256k1_default_illegal_callback_fn secp256k1.c
    #9 0x51bd8e in secp256k1_ec_pubkey_serialize
    ElementsProject#10 0x4e235b in pubkey_to_der bitcoin/pubkey.c:29:7
    ElementsProject#11 0x4e2941 in pubkey_cmp bitcoin/pubkey.c:89:2
    ElementsProject#12 0x4e333d in bitcoin_redeem_2of2 bitcoin/script.c:144:6
    ElementsProject#13 0x4f1396 in run tests/fuzz/fuzz-close_tx.c:78:19
@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 9675463 to 605be59 Compare August 14, 2023 17:07
@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 605be59 to d40a31d Compare September 14, 2023 14:29
@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 5077441 to 65e087e Compare October 27, 2023 19:02
… lightningd

This functionality already exists in the Python framework; this feature
enables it for Rust plugins as well.

Changelog-Added: cln-plugin: Implement send_custom_notification to allow sending custom notifications to other plugins.
Also fix Makefile for rust plugin examples

Also add in a missing assert in the test_plugin_start test
…example files themselves are changed

and to rebuild all the examples when the dependencies are changed (`CLN_RPC_SOURCES`).
@chrisguida chrisguida force-pushed the feat/cln-plugin-send-notifs branch from 65e087e to 4ac5354 Compare October 27, 2023 19:04
niftynei pushed a commit that referenced this pull request Oct 27, 2023
Rather than crashing the entire node on invalid pubkey, check the
validity of the pubkey in decode_n, and return an error if invalid.

Detected by libFuzzer:
==265599== ERROR: libFuzzer: deadly signal
    #7 abort
    #8 bolt11_decode common/bolt11.c:999:4
@niftynei niftynei force-pushed the nifty/onchain_notif branch from 44c5b52 to 37ad798 Compare November 21, 2023 20:36
@niftynei niftynei force-pushed the nifty/onchain_notif branch from 37ad798 to 765bf3e Compare December 13, 2023 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant