You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
createrune accepts an empty restriction, after which showrunes crashes lightningd (SIGSEGV) #9673
createrune accepts the empty restriction ([]) and returns a rune. The next showrunes kills lightningd:
**BROKEN** lightningd: FATAL SIGNAL 11 (version v26.06.7)
The rune is stored, so after a restart every showrunes call crashes lightningd again.
Other malformed restrictions are rejected as expected: [[""]], ["method=getinfo"] and method=getinfo all return restrictions: not a valid restriction. An empty restriction as the last element ([["method=getinfo"],[]]) did not crash in my test.
Expected: createrune rejects a restriction with no alternatives, as it rejects [[""]].
Version
Reproduced on v26.06.7 (the official elementsproject/lightningd:v26.06.7 image) and v26.06.9. lightningd/runes.c on master has no change in this area since.
Activity