4e639c37b4
reasonably sane code like s.ReadUInt32(a).ReadUInt32(b).ReadUInt32(c).ReadUInt32(d); if (s.good()) // use a, b, c d; stopped working. FWIW on a short read we retain whatever was in the variable before the read, rather than overwrite it with new random data, so sal_uInt32 a(0xdead); s.ReadUInt32(a); assert(s.good() || a == 0xdead); the msoffice ppt/escher/xls/doc filters especially speculatively parse and rely on a variables preinit value in the case of a short read. commit |
||
---|---|---|
.. | ||
inc | ||
qa | ||
source | ||
CppunitTest_tools_config.mk | ||
CppunitTest_tools_test.mk | ||
CustomTarget_reversemap.mk | ||
Executable_bestreversemap.mk | ||
IwyuFilter_tools.yaml | ||
Library_tl.mk | ||
Makefile | ||
Module_tools.mk | ||
README | ||
StaticLibrary_ooopathutils.mk |
Predates sal - string functions, url manipulation, stream stuff, polygons, etc. Exact history is lost before Sept. 18th, 2000, but old source code comments show that part of the tools library dates back until at least April 1991. This directory will be removed in the near future (see fdo#39445 or fdo#63154).