Skip to content

Commit a1bb8bb

Browse files
authored
fix not needed null character (#195)
1 parent 82fdbea commit a1bb8bb

File tree

4 files changed

+21
-10
lines changed

4 files changed

+21
-10
lines changed

.pubnub.yml

+13-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
name: c-core
22
schema: 1
3-
version: "4.13.0"
3+
version: "4.13.1"
44
scm: github.com/pubnub/c-core
55
changelog:
6+
- date: 2024-09-05
7+
version: v4.13.1
8+
changes:
9+
- type: bug
10+
text: "Removed additional null byte character."
611
- date: 2024-08-09
712
version: v4.13.0
813
changes:
@@ -848,7 +853,7 @@ sdks:
848853
distribution-type: source code
849854
distribution-repository: GitHub release
850855
package-name: C-Core
851-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
856+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
852857
requires:
853858
-
854859
name: "miniz"
@@ -914,7 +919,7 @@ sdks:
914919
distribution-type: source code
915920
distribution-repository: GitHub release
916921
package-name: C-Core
917-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
922+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
918923
requires:
919924
-
920925
name: "miniz"
@@ -980,7 +985,7 @@ sdks:
980985
distribution-type: source code
981986
distribution-repository: GitHub release
982987
package-name: C-Core
983-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
988+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
984989
requires:
985990
-
986991
name: "miniz"
@@ -1042,7 +1047,7 @@ sdks:
10421047
distribution-type: source code
10431048
distribution-repository: GitHub release
10441049
package-name: C-Core
1045-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
1050+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
10461051
requires:
10471052
-
10481053
name: "miniz"
@@ -1103,7 +1108,7 @@ sdks:
11031108
distribution-type: source code
11041109
distribution-repository: GitHub release
11051110
package-name: C-Core
1106-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
1111+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
11071112
requires:
11081113
-
11091114
name: "miniz"
@@ -1159,7 +1164,7 @@ sdks:
11591164
distribution-type: source code
11601165
distribution-repository: GitHub release
11611166
package-name: C-Core
1162-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
1167+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
11631168
requires:
11641169
-
11651170
name: "miniz"
@@ -1212,7 +1217,7 @@ sdks:
12121217
distribution-type: source code
12131218
distribution-repository: GitHub release
12141219
package-name: C-Core
1215-
location: https://github.com/pubnub/c-core/releases/tag/v4.13.0
1220+
location: https://github.com/pubnub/c-core/releases/tag/v4.13.1
12161221
requires:
12171222
-
12181223
name: "miniz"

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## v4.13.1
2+
September 05 2024
3+
4+
#### Fixed
5+
- Removed additional null byte character.
6+
17
## v4.13.0
28
August 09 2024
39

core/pubnub_objects_api.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ enum pubnub_res pubnub_set_channelmetadata_ex(pubnub_t* pb,
407407
opts.data.name);
408408
}
409409

410-
offset += snprintf(obj_buffer + offset, obj_len - offset, "}\0");
410+
offset += snprintf(obj_buffer + offset, obj_len - offset, "}");
411411

412412
result = pubnub_set_channelmetadata(pb, channel, opts.include, obj_buffer);
413413
free(obj_buffer);

core/pubnub_version_internal.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#define INC_PUBNUB_VERSION_INTERNAL
44

55

6-
#define PUBNUB_SDK_VERSION "4.13.0"
6+
#define PUBNUB_SDK_VERSION "4.13.1"
77

88

99
#endif /* !defined INC_PUBNUB_VERSION_INTERNAL */

0 commit comments

Comments
 (0)