Page MenuHomeFreeBSD

Do not destroy input buffer of the OF_getencprop() function on error
ClosedPublic

Authored by zbb on Jan 25 2016, 12:31 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 27, 5:17 PM
Unknown Object (File)
Fri, Dec 27, 12:45 PM
Unknown Object (File)
Oct 3 2024, 4:06 PM
Unknown Object (File)
Oct 1 2024, 6:07 PM
Unknown Object (File)
Oct 1 2024, 5:06 PM
Unknown Object (File)
Sep 21 2024, 8:10 AM
Unknown Object (File)
Sep 7 2024, 8:04 PM
Unknown Object (File)
Sep 7 2024, 10:31 AM
Subscribers

Details

Reviewers
mmel
ian
Summary

Currently when the OF_getprop() function returns with error,
the caller (OF_getencprop()) still changes the buffer endiannes.
This may destroy the default value passed in the input buffer if
used on a Little Endian platform.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

zbb retitled this revision from to Do not destroy input buffer of the OF_getencprop() function on error.
zbb updated this object.
zbb edited the test plan for this revision. (Show Details)
zbb added a reviewer: ian.
zbb set the repository for this revision to rS FreeBSD src repository - subversion.
zbb added subscribers: ARM, PowerPC.
mmel added a reviewer: mmel.
This revision is now accepted and ready to land.Jan 25 2016, 12:33 PM