pmattes / x3270

Family of IBM 3270 emulators
46 stars 18 forks source link

[regression] malloc: *** error for object 0x1079c57e0: pointer being freed was not allocated #36

Closed chimurai closed 2 years ago

chimurai commented 2 years ago

Upgraded x3270 from 4.1ga13 to 4.2ga4

Command:

c3270 -port 23 subdomain.example.org

Error in 4.2ga4:

c3270(32558,0x1161af600) malloc: *** error for object 0x1079c57e0: pointer being freed was not allocated
c3270(32558,0x1161af600) malloc: *** set a breakpoint in malloc_error_break to debug

c3270 --version:

c3270 v4.2pre3 Thu May  5 19:26:22 UTC 2022 brew
Build options: --enable-local-process --with-readline --with-curses-wide --with-iconv via gcc Apple LLVM 13.1.6 (clang-1316.0.21.2) 64-bit
SBCS host code pages (with aliases):
cp037 (cp37, us, us-intl), cp273 (german), cp275 (brazilian), cp277 (norwegian), cp278 (finnish, swedish), cp280 (italian), cp284 (spanish), cp285 (uk), cp297 (french), cp424 (hebrew), cp500 (belgian), cp803 (hebrew-old), cp870 (polish, slovenian), cp871 (icelandic), cp875 (greek), cp880 (russian), cp1026 (turkish), cp1047, cp1140 (us-euro), cp1141 (german-euro), cp1142 (norwegian-euro), cp1143 (finnish-euro, swedish-euro), cp1144 (italian-euro), cp1145 (spanish-euro), cp1146 (uk-euro), cp1147 (french-euro), cp1148 (belgian-euro), cp1149 (icelandic-euro), cp1160 (thai), bracket (oldibm, bracket437)
DBCS host code pages (with aliases):
cp930 (japanese-kana), cp935 (simplified-chinese), cp937 (traditional-chinese), cp939 (japanese-latin), cp1388 (chinese-gb18030)

Copyright 1989-2022, Paul Mattes, GTRC and others.
See the source code or documentation for licensing details.
Distributed WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Please let me know if you need more information.

pmattes commented 2 years ago

My apologies. Stupid bug. Easy fix.