aboutsummaryrefslogtreecommitdiff
path: root/src/stable/sha1.cpp
diff options
context:
space:
mode:
authorMike Buland <mike@xagasoft.com>2024-08-05 10:38:22 -0700
committerMike Buland <mike@xagasoft.com>2024-08-05 10:38:22 -0700
commitf6f5206b1ac2ba48660db7b6858e32612a6ffd05 (patch)
tree13de4c170cebefd4bc8678ea71b2c0e2602b65de /src/stable/sha1.cpp
parentbab5a53403fc4d89b0c61ccd6ce901c17fd379da (diff)
downloadlibbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.gz
libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.bz2
libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.tar.xz
libbu++-f6f5206b1ac2ba48660db7b6858e32612a6ffd05.zip
Fixed buffer issue reading headers.
We were only reading 1k of data in before, but if a header was more than 1k then we just would give up. Now we read as much as we can that has loaded into the buffer and if we run out we can try again, but if it's just a very long header we'll deal with it properly still.
Diffstat (limited to 'src/stable/sha1.cpp')
0 files changed, 0 insertions, 0 deletions