summaryrefslogtreecommitdiffstats
path: root/core/save-xml.c
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2019-01-12 10:04:05 +0100
committerGravatar bstoeger <32835590+bstoeger@users.noreply.github.com>2019-01-16 02:38:30 +0100
commit5f04fecd005f6566f9931ba7b692bd6ca109bc87 (patch)
tree95391fc1b57ab0a59f405f31292ecb9d5d6bd467 /core/save-xml.c
parent2c794348c1060c8f6ce55c598c0a20690c4967f2 (diff)
downloadsubsurface-5f04fecd005f6566f9931ba7b692bd6ca109bc87.tar.gz
Don't allow empty username for git
When no real name is set in /etc/passwd the username ends up being ",,,". Git does not like that. Actually, only the part before the first comma is the name, the rest is office and phone number. We don't want those. Before we only testing for the username being a NULL pointer. Reported-by: Keith Grimes Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/save-xml.c')
0 files changed, 0 insertions, 0 deletions