]> git.kaiwu.me - nginx.git/commit
SSL: handled long string truncation in ngx_ssl_error().
authorVladimir Homutov <vl@nginx.com>
Wed, 7 Oct 2015 19:19:42 +0000 (22:19 +0300)
committerVladimir Homutov <vl@nginx.com>
Wed, 7 Oct 2015 19:19:42 +0000 (22:19 +0300)
commit645697f111983089fdcee0694d17480e0a05a3a5
tree38205b6bbac61743857fd71abd90846746cf80d1
parent0079f29326ceed9b3868e4afcebf19de168702f2
SSL: handled long string truncation in ngx_ssl_error().

If no space left in buffer after adding formatting symbols, error message
could be left without terminating null.  The fix is to output message using
actual length.
src/event/ngx_event_openssl.c