[Rpm-maint] [rpm-software-management/rpm] Avoid incrementing a pointer past the end (#1489)

Panu Matilainen notifications at github.com
Thu Feb 18 09:16:02 UTC 2021


Except that ... this introduced a new issue:
```
header.c: In function ‘dataLength’:
header.c:427:30: warning: ‘s’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  427 |     return (c > 0) ? -1 : (s - str + 1);
      |                            ~~^~~~~

```

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/1489#issuecomment-781201086
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210218/af6d5e7f/attachment.html>


More information about the Rpm-maint mailing list