Page MenuHomeFreeBSD

Fix undefined behavior.
ClosedPublic

Authored by kib on Oct 23 2019, 3:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Oct 15, 4:50 PM
Unknown Object (File)
Wed, Oct 15, 4:49 PM
Unknown Object (File)
Wed, Oct 15, 4:49 PM
Unknown Object (File)
Wed, Oct 15, 6:06 AM
Unknown Object (File)
Sat, Oct 4, 11:11 PM
Unknown Object (File)
Aug 7 2025, 6:36 AM
Unknown Object (File)
Aug 1 2025, 6:30 AM
Unknown Object (File)
Jul 29 2025, 12:40 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.