Artifact 2f3715d5a624250ad8f5c211cf07235a8bcd32080f97103cbd24d0c713d79dd6:
- File src/config.h — part of check-in [815b4fc493] at 2020-12-04 18:35:21 on branch trunk — The variadic function builtin_fossil_js_bundle_or() was using 0 as a sentinel to detect end-of-list, but that isn't equivalent to NULL in a list of pointed-to objects in all C compilers, on all systems. Using a GCC/Clang function attribute to force a warning when 0 is passed instead of NULL, then fixed all resulting warnings. This fixes the SEGV reported in [forum:/forumpost/5feca9c36a|forum post 5feca9c36a] on Mac OS X 10.11 with Clang from Xcode 7. Later versions of Clang on macOS don't have this problem, but it's still UB, so fixing it may solve some pain for us later on. (user: wyoung size: 8060) [more...]
A hex dump of this file is not available. Please download the raw binary file and generate a hex dump yourself.