On 15/06/16 15:10, [email protected] wrote:
fix also possible null dereferenced pointers

Signed-off-by: Olivier Hardouin <[email protected]>
---
  uci.c  | 6 ++++++
  ucix.c | 9 ++++++++-
  2 files changed, 14 insertions(+), 1 deletion(-)

The code design appears to be that uci_init() is called before any others. It initialises p. I would argue for a runtime warning and fail rather than a silent return for these errors?

_______________________________________________
Lede-dev mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/lede-dev

Reply via email to