Skip to content

Commit 2a267b0

Browse files
author
Michael O'Brien
committed
DEV: rebuild ## publish
1 parent 441cd35 commit 2a267b0

File tree

10 files changed

+12
-11
lines changed

10 files changed

+12
-11
lines changed

paks/http/dist/httpLib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17329,7 +17329,7 @@ static void parseUri(HttpConn *conn)
1732917329
if (!hostname) {
1733017330
hostname = conn->sock->acceptIp;
1733117331
}
17332-
if (mprParseSocketAddress(hostname, &up->host, NULL, NULL, 0) < 0) {
17332+
if (mprParseSocketAddress(hostname, &up->host, NULL, NULL, 0) < 0 || up->host == 0 || *up->host == '\0') {
1733317333
if (!conn->error) {
1733417334
httpBadRequestError(conn, HTTP_CODE_BAD_REQUEST, "Bad host");
1733517335
}

paks/http/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "http",
33
"description": "Embedthis Http Library",
44
"title": "Embedthis Http",
5-
"version": "6.2.3",
5+
"version": "6.2.4",
66
"keywords": [
77
"http",
88
"webserver"

paks/mbedtls/dist/mbedtls.me

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Me.load({
1818
'-Wshorten-64-to-32',
1919
'-W3',
2020
],
21+
'+compiler': [
22+
'-Wno-format-zero-length',
23+
],
2124
ifdef: [ 'mbedtls' ],
2225
}
2326
}

paks/osdep/dist/osdep.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@
397397
#include <sys/mman.h>
398398
#include <sys/poll.h>
399399
#include <sys/resource.h>
400-
#include <sys/sem.h>
401400
#include <sys/select.h>
402401
#include <sys/time.h>
403402
#include <sys/times.h>

paks/zlib/dist/zlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7503,7 +7503,7 @@ z_streamp strm;
75037503
{
75047504
struct inflate_state FAR *state;
75057505

7506-
if (strm == Z_NULL || strm->state == Z_NULL) return -1L << 16;
7506+
if (strm == Z_NULL || strm->state == Z_NULL) return -1L & 0xFFFF;
75077507
state = (struct inflate_state FAR *)strm->state;
75087508
return ((long)(state->back) << 16) +
75097509
(state->mode == COPY ? state->length :

paks/zlib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "zlib",
33
"description": "Zlib Library",
44
"title": "Zlib Library",
5-
"version": "1.0.3",
5+
"version": "1.0.4",
66
"keywords": [
77
"me",
88
"zlib"

src/http/httpLib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17329,7 +17329,7 @@ static void parseUri(HttpConn *conn)
1732917329
if (!hostname) {
1733017330
hostname = conn->sock->acceptIp;
1733117331
}
17332-
if (mprParseSocketAddress(hostname, &up->host, NULL, NULL, 0) < 0) {
17332+
if (mprParseSocketAddress(hostname, &up->host, NULL, NULL, 0) < 0 || up->host == 0 || *up->host == '\0') {
1733317333
if (!conn->error) {
1733417334
httpBadRequestError(conn, HTTP_CODE_BAD_REQUEST, "Bad host");
1733517335
}

src/mbedtls/mbedtls.me

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Me.load({
1818
'-Wshorten-64-to-32',
1919
'-W3',
2020
],
21+
'+compiler': [
22+
'-Wno-format-zero-length',
23+
],
2124
ifdef: [ 'mbedtls' ],
2225
}
2326
}

src/osdep/osdep.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,6 @@
397397
#include <sys/mman.h>
398398
#include <sys/poll.h>
399399
#include <sys/resource.h>
400-
#include <sys/sem.h>
401400
#include <sys/select.h>
402401
#include <sys/time.h>
403402
#include <sys/times.h>

src/zlib/zlib.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7503,10 +7503,7 @@ z_streamp strm;
75037503
{
75047504
struct inflate_state FAR *state;
75057505

7506-
if (strm == Z_NULL || strm->state == Z_NULL) {
7507-
// return -1L << 16;
7508-
return 0xffffffffffff0000;
7509-
}
7506+
if (strm == Z_NULL || strm->state == Z_NULL) return -1L & 0xFFFF;
75107507
state = (struct inflate_state FAR *)strm->state;
75117508
return ((long)(state->back) << 16) +
75127509
(state->mode == COPY ? state->length :

0 commit comments

Comments
 (0)