commit | 4fd0b256a848f96cdadc83a940cb79d865fe0bf8 | [log] [download] |
---|---|---|
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Jun 26 14:15:48 2015 +0200 |
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | Fri Jun 26 14:15:48 2015 +0200 |
tree | 8ebfddad047e53ef4295fbc7dbebc471c9115b5e | |
parent | 4b00f08e2038982cbd3af81a004816b33d9638bd [diff] |
Fix dual use of buffer in test x509_get_name() does not make defensive copies of strings in its input (which is OK as usually the caller will have made a copy already), so we shouldn't reuse its input buffer as an output while "parsed" is still alive.