[Rpm-maint] [rpm-software-management/rpm] char arrays need to be initialized before use (PR #2317)

slark-yuxj notifications at github.com
Fri Dec 9 02:30:15 UTC 2022


static int isSpecFile(const char * specfile)
{
    char buf[256];
    
  -------------
  count = fread(buf, sizeof(buf[0]), sizeof(buf), f);
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/2317

-- Commit Summary --

  * char arrays need to be initialized before use

-- File Changes --

    M rpmbuild.c (2)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/2317.patch
https://github.com/rpm-software-management/rpm/pull/2317.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/2317
You are receiving this because you are subscribed to this thread.

Message ID: <rpm-software-management/rpm/pull/2317 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20221208/5743799b/attachment-0001.html>


More information about the Rpm-maint mailing list