summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/lib/Support/DataStream.cpp
diff options
context:
space:
mode:
authorzbb <zbb@FreeBSD.org>2016-01-25 14:42:44 +0000
committerzbb <zbb@FreeBSD.org>2016-01-25 14:42:44 +0000
commitdfc2b357e6d47744e13bc1235a314bedde6d9115 (patch)
treea094de659142c54848db20505e232aeb0fa396dc /contrib/llvm/lib/Support/DataStream.cpp
parentbb813c111648969a970dd349e2a0dcbc16f8d042 (diff)
downloadFreeBSD-src-dfc2b357e6d47744e13bc1235a314bedde6d9115.zip
FreeBSD-src-dfc2b357e6d47744e13bc1235a314bedde6d9115.tar.gz
Do not destroy input buffer of the OF_getencprop() function on error
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. Reviewed by: mmel Submitted by: Zbigniew Bodek <zbb@semihalf.com> Obtained from: Semihalf Sponsored by: Cavium
Diffstat (limited to 'contrib/llvm/lib/Support/DataStream.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud