[Rpm-maint] [rpm-software-management/rpm] rpmio.c: In Fread(buf, size, nmemb, FD), require size be 1 (#400)

Jeff Johnson notifications at github.com
Fri Feb 23 21:53:59 UTC 2018


Yes, the "clone" of fread/write is imperfect and always returns the no. of bytes rather than nitems.

The flaw certainly hasn't stopped Fread/Fwrite from being both used and useful everywhere in rpm this century.

There's more needed than just your patch.

FYI: RPM5 rpmio returns nitems just as the posix stdio routines do GeForce the last couple years.

-- 
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/400#issuecomment-368149370
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20180223/f863f755/attachment-0001.html>


More information about the Rpm-maint mailing list