[dev] [dmenu] kpress bugs & patch

From: Connor Lane Smith <cls_AT_lubutu.com>
Date: Mon, 22 Mar 2010 05:05:23 +0000

Hey all,

I found a few bugs in dmenu tip:
  - inserting text before the end can overflow buffer.
  - inserting text truncates text after cursor.
  - pasting text always appends, and cursor doesn't move.

I know the plan is to remove cursor support (though I'm not sure I
agree), but in the meantime here's a patch. Considering tip can
segfault, perhaps it should be fixed there.

Thanks,
cls

Received on Mon Mar 22 2010 - 05:05:23 UTC

This archive was generated by hypermail 2.2.0 : Mon Mar 22 2010 - 05:24:02 UTC