memory 0.14.10 → 0.14.11
raw patch · 3 files changed
+10/−1 lines, 3 files
Files
- CHANGELOG.md +8/−0
- Data/Memory/Encoding/Base64.hs +1/−0
- memory.cabal +1/−1
CHANGELOG.md view
@@ -1,3 +1,11 @@+## 0.14.11++* Fix issue in unBase64 with an empty bytestring that would cause a segfault++## 0.14.10++* Reintroduce foundation compatibility with old version+ ## 0.14.9 * Reduce dependency to basement
Data/Memory/Encoding/Base64.hs view
@@ -104,6 +104,7 @@ -- if the length is not a multiple of 4, Nothing is returned unBase64Length :: Ptr Word8 -> Int -> IO (Maybe Int) unBase64Length src len+ | len < 1 = return Nothing | (len `mod` 4) /= 0 = return Nothing | otherwise = do last1Byte <- peekByteOff src (len - 1)
memory.cabal view
@@ -1,5 +1,5 @@ Name: memory-version: 0.14.10+version: 0.14.11 Synopsis: memory and related abstraction stuff Description: Chunk of memory, polymorphic byte array management and manipulation