assimp/test/unit
Matthias Möller db72c6ee38 When "getNextBlock" was called after "getNextLine", the pointer could still on the newline.
The pointer to a newline could not advance enough, when the line ended with \r\n. The resulting buffer was correct, as the buffer range went from <start> until \r, but that the pointer increased by just 1 could lead to the problem that the next pointer points at \n, which is still part of the newline and therefore, "getNextBlock" got 1 byte too much.

Refs Issue #4871
2023-02-04 15:16:22 +01:00
..
Common Trim Trailing Whitespace 2023-01-16 09:12:35 +01:00
ImportExport Re-enable Terragen loader unit test 2023-02-03 11:45:11 +02:00
AbstractImportExportBase.cpp Add a handful of missing fixes 2022-09-01 11:37:53 -04:00
AbstractImportExportBase.h Merge branch 'master' into x3d_pugi_migration 2021-09-07 15:04:08 +02:00
AssimpAPITest.cpp Update copyrights 2022-01-10 21:13:43 +01:00
AssimpAPITest_aiMatrix3x3.cpp Update copyrights 2022-01-10 21:13:43 +01:00
AssimpAPITest_aiMatrix4x4.cpp Update copyrights 2022-01-10 21:13:43 +01:00
AssimpAPITest_aiQuaternion.cpp Trim Trailing Whitespace 2023-01-16 09:12:35 +01:00
AssimpAPITest_aiVector2D.cpp Update copyrights 2022-01-10 21:13:43 +01:00
AssimpAPITest_aiVector3D.cpp Update copyrights 2022-01-10 21:13:43 +01:00
CCompilerTest.c Refactor: Use LF for end of line 2015-06-28 16:08:06 -06:00
Main.cpp Add compiler switgxh for using static linkage for std_image 2022-05-31 23:24:31 +02:00
MathTest.cpp Add unittest to reproduce undefined behaviour: left shift on negative value 2022-05-17 20:48:35 +02:00
MathTest.h Update copyrights 2022-01-10 21:13:43 +01:00
RandomNumberGeneration.h Update copyrights 2022-01-10 21:13:43 +01:00
SceneDiffer.cpp Add a handful of missing fixes 2022-09-01 11:37:53 -04:00
SceneDiffer.h Update copyrights 2022-01-10 21:13:43 +01:00
TestIOStream.h Updated copyright dates. 2020-01-20 08:53:12 -05:00
TestIOSystem.h Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
TestModelFactory.h Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
UTLogStream.h apply fixes to more headers 2022-09-01 12:28:45 -04:00
UnitTestFileGenerator.h build/clang-cl-windows 2020-07-20 17:04:11 +02:00
UnitTestPCH.h Try disabling C4389 for GTest only for MSVC 2020-08-27 17:02:42 -04:00
ut3DImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
ut3DSImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utACImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utAMFImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utASEImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utAnim.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utArmaturePopulate.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utAssbinImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utB3DImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utBVHImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utBatchLoader.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utBlendImportAreaLight.cpp Add a handful of missing fixes 2022-09-01 11:37:53 -04:00
utBlendImportMaterials.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utBlenderImportExport.cpp Make some blender fields warn if missing instead of error 2022-08-17 11:42:32 +03:00
utBlenderIntermediate.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utBlenderWork.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utCSMImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utColladaExport.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utColladaImportExport.cpp Fix nested animation name being lost in Collada 2022-06-29 11:09:54 +08:00
utD3MFImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utDXFImporterExporter.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utDefaultIOStream.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utExport.cpp Unit tests: Enable data structure validation in cases where it doesn't cause failures 2017-11-21 18:04:22 +02:00
utFBXImporterExporter.cpp Adapt file for skeleton unittest 2022-05-13 19:43:46 +02:00
utFastAtof.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utFindDegenerates.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utFindInvalidData.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utFixInfacingNormals.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utGenBoundingBoxesProcess.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utGenNormals.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utHMPImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utIFCImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utIOStreamBuffer.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utIOSystem.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utImporter.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utImproveCacheLocality.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utIssues.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utJoinVertices.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utLWOImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utLWSImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utLimitBoneWeights.cpp Apply some more modernize-use-emplace 2022-09-02 11:20:02 -04:00
utM3DImportExport.cpp Merge branch 'master' into kimkulling_dev 2020-04-04 18:28:50 +02:00
utMDCImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utMaterialSystem.cpp Merge branch 'master' into update_ai_texture_type_max 2022-03-10 11:37:46 +01:00
utMatrix3x3.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utMatrix4x4.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utMetadata.cpp Unit test warning fixes 2023-02-02 14:07:16 +02:00
utNoBoostTest.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utObjImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utObjTools.cpp Add a handful of missing fixes 2022-09-01 11:37:53 -04:00
utOpenGEXImportExport.cpp Replace debug code by a real test 2022-06-28 20:38:36 +02:00
utPLYImportExport.cpp When "getNextBlock" was called after "getNextLine", the pointer could still on the newline. 2023-02-04 15:16:22 +01:00
utPMXImporter.cpp Fixed MMD Importer not loading files from buffer and enabled unit test 2022-04-13 02:51:12 +02:00
utPretransformVertices.cpp sprintf to snprintf with known MAXLEN for buffer. 2022-12-28 12:32:11 -08:00
utProfiler.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utQ3DImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utRemoveComments.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utRemoveComponent.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utRemoveRedundantMaterials.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utRemoveVCProcess.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utSIBImporter.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utSMDImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utSTLImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utScaleProcess.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utScene.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utSceneCombiner.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utScenePreprocessor.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utSharedPPData.cpp Unit test warning fixes 2023-02-02 14:07:16 +02:00
utSimd.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utSortByPType.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utSplitLargeMeshes.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utStringUtils.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utTargetAnimation.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utTextureTransform.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utTriangulate.cpp Apply various clang-tidy checks for smartprs and modern C++ types 2022-11-08 11:03:55 -05:00
utTypes.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utValidateDataStructure.cpp Updated copyright dates. 2020-01-20 08:53:12 -05:00
utVector3.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utVersion.cpp Adjust cmake version 2022-09-17 15:21:57 +02:00
utVertexTriangleAdjacency.cpp FIX: try to undefined behaviour by static_cast. 2022-09-18 16:03:54 +02:00
utX3DImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utXImporterExporter.cpp Update copyrights 2022-01-10 21:13:43 +01:00
utglTF2ImportExport.cpp FIX: C++ std::tuple constexpr initial list on old compiler [cont 1] 2022-09-29 23:34:23 +08:00
utglTFImportExport.cpp Update copyrights 2022-01-10 21:13:43 +01:00