]> git.ipfire.org Git - thirdparty/ccache.git/commit
fix: Ensure that raw filenames are static in length
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 7 Feb 2022 19:20:08 +0000 (20:20 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 7 Feb 2022 19:25:52 +0000 (20:25 +0100)
commitbf3a2a9bb9c9c1bbe1b30094384ca2df9c82bdf4
tree0484ad07bb6cdeb8adc8a7e5f5d78496ee1d647f
parentc8fb539523c801bf15591c395c3029b4530a7a2f
fix: Ensure that raw filenames are static in length

PrimaryStorage::evict assumes that the entry number is encoded in the
filename as one character, so make sure that this precondition holds in
Result::{Reader,Writer} as well.
src/Result.cpp
src/Result.hpp
src/ResultExtractor.cpp
src/ResultExtractor.hpp
src/ResultInspector.cpp
src/ResultInspector.hpp
src/ResultRetriever.cpp
src/ResultRetriever.hpp