Page MenuHomeFreeBSD

cd9660 pointer sign issues and missing __packed attribute
ClosedPublic

Authored by tsoome on Aug 2 2018, 10:16 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 13, 12:20 PM
Unknown Object (File)
Tue, Dec 9, 4:16 AM
Unknown Object (File)
Thu, Dec 4, 12:49 PM
Unknown Object (File)
Nov 13 2025, 8:56 PM
Unknown Object (File)
Nov 12 2025, 4:13 AM
Unknown Object (File)
Oct 29 2025, 6:43 PM
Unknown Object (File)
Oct 29 2025, 6:24 PM
Unknown Object (File)
Oct 29 2025, 4:23 PM
Subscribers

Details

Summary

the isonum_* functions are defined to take unsigend char* as an argument,
but the structure fields are defined as char. Change to u_char where needed.

Probably the full structure should be changed, but I'm not sure about the
side affects.

while there, add __packed attribute.

Diff Detail

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

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Aug 15 2018, 6:42 AM
This revision was automatically updated to reflect the committed changes.