mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-23 12:43:18 -05:00
Fix for remote DOS, reported as UnprotectedHex.com advisory UPH-07-01 by nnp (no CVE yet)
This commit is contained in:
parent
31bbea6109
commit
eb7b49d848
@ -815,7 +815,7 @@ int ws_getheaders(WS_CONNINFO *pwsc) {
|
||||
last=first;
|
||||
strsep(&last,":");
|
||||
|
||||
if(last==first) {
|
||||
if(!last) {
|
||||
ws_dprintf(L_WS_WARN,"Thread %d: Invalid header: %s\n",
|
||||
pwsc->threadno,first);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user