diff options
| author | Patrick Steinhardt <ps@pks.im> | 2017-11-12 14:09:24 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-06-22 09:47:07 +0200 |
| commit | 83b5f161facf117681df47cbeeb13b95dc3ea9c5 (patch) | |
| tree | 67e42c1ea8ad115985d6e5103b4fef62315a9dbb /tests/diff/blob.c | |
| parent | e51e29e84c16f7a5d9079c2dc645301a54fdb172 (diff) | |
| download | libgit2-83b5f161facf117681df47cbeeb13b95dc3ea9c5.tar.gz | |
config_parse: always sanitize out-parameters in `parse_variable`
The `parse_variable` function has two out parameters `var_name` and
`var_value`. Currently, those are not being sanitized to `NULL`. when.
any error happens inside of the `parse_variable` function. Fix that.
While at it, the coding style is improved to match our usual coding
practices more closely.
Diffstat (limited to 'tests/diff/blob.c')
0 files changed, 0 insertions, 0 deletions
