Skip to content
This repository has been archived by the owner on Apr 5, 2023. It is now read-only.

Commit

Permalink
Update birdisle submodule to a fix a use-after-free
Browse files Browse the repository at this point in the history
Fixes #25.
  • Loading branch information
bmerry committed Sep 2, 2021
1 parent 742e2f4 commit 5bcf642
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src
Submodule src updated 1 files
+1 −1 src/server.c
9 changes: 9 additions & 0 deletions tests/test_birdisle.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,15 @@ def test_info(r):
r.info()


def test_small_integer(r):
"""Regression test for https://github.com/bmerry/birdisle-py/issues/25.
This test won't fail even if the bug is present, but may cause a segfault
during cleanup due to a use-after-free.
"""
r.set('foo', 1)


def test_blocking(r):
def worker(r):
time.sleep(0.1)
Expand Down

0 comments on commit 5bcf642

Please sign in to comment.