commit 99b289691b96fd2ccc00e417a51b08377d781189 from: Omar Polo date: Mon Aug 14 19:59:46 2023 UTC amused-web: ensure that path is completely filled with NUL to the end commit - b478a4bd62bf67f8603a0ec7e4fd533ba51d1008 commit + 99b289691b96fd2ccc00e417a51b08377d781189 blob - 1e7aec349daec38f225163db76367135fe2cb4d9 blob + 2013df78fb86adb857c4da39e0aaed909382ecf7 --- web/web.c +++ web/web.c @@ -445,6 +445,7 @@ route_jump(struct reswriter *res, struct request *req) field += 5; found = 1; + memset(&path, 0, sizeof(path)); if (strlcpy(path, field, sizeof(path)) >= sizeof(path)) goto badreq;