Page MenuHomeFreeBSD

include: ssp: fortify poll/ppoll from <poll.h>
AcceptedPublic

Authored by kevans on Fri, Jun 21, 4:59 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jun 29, 7:41 AM
Unknown Object (File)
Sat, Jun 29, 12:16 AM
Unknown Object (File)
Thu, Jun 27, 3:21 PM
Unknown Object (File)
Sun, Jun 23, 6:39 PM
Subscribers

Details

Reviewers
kib
markj
Group Reviewers
Klara
Summary

For poll/ppoll we just need to bounds-check the poll array that we're
about to write out to.

Sponsored by: Stormshieled
Sponsored by: Klara, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58366
Build 55254: arc lint + arc unit

Event Timeline

include/ssp/poll.h
3

Extra line here.

lib/libc/sys/ppoll.c
40–41

This line is too long.

This revision is now accepted and ready to land.Mon, Jun 24, 4:54 PM
kevans added inline comments.
include/ssp/poll.h
3

Addressed here and all of the other headers since these were all copy/paste into each other.

kevans marked an inline comment as done.

Address review feedback

This revision now requires review to proceed.Wed, Jun 26, 7:12 PM
This revision is now accepted and ready to land.Thu, Jun 27, 3:14 PM