aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/sql/sql_plugin.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-06-04 17:29:40 +0200
committerTobias Brunner <tobias@strongswan.org>2013-06-11 11:03:13 +0200
commiteeb73dec7961f56cadd92c5d56a3a7009dfff22d (patch)
tree19cf07488785a84b0cbd5c028d3add917c2ec715 /src/libcharon/plugins/sql/sql_plugin.c
parentb4029a4aae567851c414194dbf99040f27fb16e5 (diff)
downloadstrongswan-eeb73dec7961f56cadd92c5d56a3a7009dfff22d.tar.bz2
strongswan-eeb73dec7961f56cadd92c5d56a3a7009dfff22d.tar.xz
Ensure buffer in bio_writer_t is properly increased
The previous code was problematic if bufsize/increase was smaller than 8 and an u_int64_t was written when the buffer was too small. Also, for large chunks and small bufsizes realloc() was called several times instead of just once.
Diffstat (limited to 'src/libcharon/plugins/sql/sql_plugin.c')
0 files changed, 0 insertions, 0 deletions