plan9fox/sys
cinap_lenrek 854d028db9 acme: fix buffer overrun in xfidutfread() and xfidruneread(), cleanup
the utf8 buffers b1 where allocated from fbufalloc() which gives
us BUFSIZE bytes, but Xfid->count can be bigger than that. so just
emalloc() the requested number of bytes.

when converting from Runes to utf-8, we have to account for the
terminating '\0' byte snprint() places, so fix the maxrune number
calculation instead of using BUFSIZE+1 as buffer size.
2014-12-11 20:20:47 +01:00
..
doc
games/lib fortunes: (no plan9 to hand) 2014-11-14 12:11:42 -05:00
include libsec: add diffie-hellman functions 2014-09-14 02:29:18 +02:00
lib hgwebfs: add fake add_handler method for HTTPRangeHandler() 2014-12-09 23:11:05 +01:00
man plan9.ini(8): fix typo (thanks ftrvxmtrx) 2014-12-11 17:03:01 +01:00
src acme: fix buffer overrun in xfidutfread() and xfidruneread(), cleanup 2014-12-11 20:20:47 +01:00