Page MenuHomeFreeBSD

Invert calloc(3) argument order.
ClosedPublic

Authored by araujo on Aug 23 2016, 1:16 PM.
Tags
None
Referenced Files
F82878912: D7613.diff
Fri, May 3, 11:51 AM
Unknown Object (File)
Thu, May 2, 1:10 AM
Unknown Object (File)
Apr 4 2024, 6:49 AM
Unknown Object (File)
Apr 2 2024, 12:34 AM
Unknown Object (File)
Jan 14 2024, 7:22 PM
Unknown Object (File)
Jan 9 2024, 8:31 PM
Unknown Object (File)
Jan 9 2024, 8:31 PM
Unknown Object (File)
Jan 9 2024, 8:31 PM
Subscribers

Details

Summary

Seemed some calloc(3) calls has its arguments inverted,
the manpage says, it should be used nitems and size, not the oposite.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 4898
Build 4961: arc lint + arc unit

Event Timeline

araujo retitled this revision from to Invert calloc(3) argument order..
araujo updated this object.
araujo edited the test plan for this revision. (Show Details)
araujo added a reviewer: grehan.
grehan added a reviewer: mav.
grehan edited edge metadata.

Will need to be MFC'd asap.

This revision is now accepted and ready to land.Aug 26 2016, 6:25 AM
mav edited edge metadata.

I have no objections, though don't really understand agitation about this.

Didn't want to sound alarmist - just that this type of thing can upset static analyzers.

This revision was automatically updated to reflect the committed changes.