mbox series

[libgpiod,v2,0/4] Fix issues detected by static analyzer

Message ID cover.1722250385.git.ikerpedrosam@gmail.com
Headers show
Series Fix issues detected by static analyzer | expand

Message

Iker Pedrosa July 29, 2024, 10:57 a.m. UTC
This patch series contain a set of fixes for several issues detected by a
static analyzer tool. They are related to wrong pointers management and
string termination.

v2 includes a number of fixes to issues highlighted by Kent Gibson
<warthog618@gmail.com>. 

Iker Pedrosa (4):
  bindings: python: gpiod: avoid use after free
  lib: line-info strings termination
  lib: chip-info strings termination
  tools: free to avoid leak

 bindings/python/gpiod/ext/chip.c | 6 ++++--
 lib/chip-info.c                  | 4 ++--
 lib/line-info.c                  | 4 ++--
 tools/gpioinfo.c                 | 4 +++-
 4 files changed, 11 insertions(+), 7 deletions(-)