Fix computation of NEWSIZE in es_func_mem_write.
authorWerner Koch <wk@gnupg.org>
Tue, 18 Jan 2011 11:26:05 +0000 (12:26 +0100)
committerWerner Koch <wk@gnupg.org>
Tue, 18 Jan 2011 11:26:05 +0000 (12:26 +0100)
commitdcd20e18a5b581d93e8259722d5f1b69d3af992b
tree1a0f1e081a843cdd56f702ac9a0c50dd1ddd488b
parent52b9761c8847523d35de3484e4b7fdefbb0e6a4e
Fix computation of NEWSIZE in es_func_mem_write.
The function used to fail and return EINVAL when enlarging the buffer.
common/ChangeLog
common/estream.c