Page MenuHomeFreeBSD

pf tests: provoke tag hashing panic
ClosedPublic

Authored by kp on Nov 24 2020, 10:04 AM.
Tags
None
Referenced Files
F109966427: D27350.diff
Tue, Feb 11, 8:37 PM
Unknown Object (File)
Sun, Jan 19, 12:10 PM
Unknown Object (File)
Dec 13 2024, 1:59 PM
Unknown Object (File)
Dec 3 2024, 1:46 PM
Unknown Object (File)
Dec 2 2024, 8:04 PM
Unknown Object (File)
Nov 27 2024, 4:13 AM
Unknown Object (File)
Nov 22 2024, 4:36 AM
Unknown Object (File)
Oct 20 2024, 10:58 AM

Details

Summary

Attempt to provoke the panic fixed in rXXXXX.

Diff Detail

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

Event Timeline

kp requested review of this revision.Nov 24 2020, 10:04 AM
markj added inline comments.
tests/sys/netpfil/pf/ioctl/validation.c
819

To provoke the panic you'd need a long tag name, so I'm not sure how this can accomplish that.

markj added inline comments.
tests/sys/netpfil/pf/ioctl/validation.c
819

I see, match_tagname is full of garbage, rather than tagname.

This revision is now accepted and ready to land.Nov 24 2020, 2:35 PM
tests/sys/netpfil/pf/ioctl/validation.c
819

Yeah, there are a couple of fields that are passed through to tagname2hashindex().
Arguably this test should try all of them.

This revision was automatically updated to reflect the committed changes.