Dear Corey,

You're listed as vty maintainer. Could you apply the attached patch to
fix http://code.google.com/p/yi-editor/issues/detail?id=264 ?

Here's a test case:

> import Graphics.Vty
> import Control.Exception
>
> catchLog = handle (\except -> do putStrLn $ show (except :: IOException))
>
> main = do
>   vty <- mkVty
>   catchLog $ update vty pic { pImage = empty, pCursor = NoCursor }
>   catchLog $ update vty pic { pImage = empty, pCursor = NoCursor }
>   shutdown vty

Expected behavior: no output.
Actual behavior: "double free" segfault, the same as described in the
Yi bug report.

--
Colin McQuillan

--~--~---------~--~----~------------~-------~--~----~
Yi development mailing list
yi-devel@googlegroups.com
http://groups.google.com/group/yi-devel
-~----------~----~----~----~------~----~------~--~---

Attachment: vty-update.dpatch
Description: Binary data

Reply via email to