LibC: Add FIXME for vsscanf

This commit is contained in:
Luke
2020-09-09 08:24:20 +01:00
committed by Andreas Kling
parent 7a558d16b0
commit 5fbb8f9c6a

View File

@@ -132,6 +132,9 @@ int vsscanf(const char* buf, const char* s, va_list ap)
int count = 0;
int width = 0;
// FIXME: This doesn't work quite right. For example, it fails to match 'SSH-2.0-OpenSSH_8.2p1 Ubuntu-4ubuntu0.1\r\n'
// with 'SSH-%d.%d-%[^\n]\n'
while (*s && *buf) {
while (isspace(*s))
s++;