ElementsProject / ElementsProject/lightning

Error paths dereference an uninitialized pointer

Open
#9,442 0 comments 0 reactions 1 assignee Claimed by @Andezion View on GitHub
Dominant language
C
Stars
3.1k
Forks
1k
Avg merge
4d 10h
Merged PRs (30d)
13

Description

The exact same pattern (const u8 *error; declared uninitialized, later conditionally set via sockpair(..., &error) before goto/fall-through to an error-send path) as in https://github.com/ElementsProject/lightning/issues/8849 also exists at

1. `lightningd/peer_control.c:1380 (connect_activate_subd())`
2. `lightningd/channel_control.c:331`

as reported by @Andezion

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.