Page MenuHomeFreeBSD

Fix undefined behavior.
ClosedPublic

Authored by kib on Oct 23 2019, 3:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Sep 12, 11:50 AM
Unknown Object (File)
Fri, Sep 11, 7:51 AM
Unknown Object (File)
Fri, Sep 4, 7:47 AM
Unknown Object (File)
Mon, Aug 31, 7:32 PM
Unknown Object (File)
Mon, Aug 24, 9:58 PM
Unknown Object (File)
Sat, Aug 22, 12:13 AM
Unknown Object (File)
Thu, Aug 20, 6:38 PM
Unknown Object (File)
Aug 11 2026, 5:21 AM
Subscribers
None

Details

Summary

Create a sequence point by ending a full expression for call to vspace() and use of the globals which are modified by vspace.

Reported by: imp

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Looks good to me. It's one of the two ways that I saw to fix it, and this is likely faster than the other way (pass the limit to vspace()).

This revision is now accepted and ready to land.Oct 23 2019, 3:56 PM
This revision was automatically updated to reflect the committed changes.