[odbc] sign bug

Dmitry Belyaev <[email protected]> Wed, 19 Nov 2014 12:23:05 +1100
Newsgroups gmane.comp.lang.erlang.patches
Message-ID <CAEY66iPdJ9vc2z1qrx6RJo=jumgNg5_P6ei+uoHtvVGSnzCuUg@mail.gmail.com>
--===============0028255522651718240==
Content-Type: multipart/alternative; boundary=001a11c2306ac0afca05082c0dc5

--001a11c2306ac0afca05082c0dc5
Content-Type: text/plain; charset=UTF-8

The regression was found in OTP-17.4 that makes odbc application unusable
on the platforms where C `char` type is signed.

The commands longer than 127 chars crash odbcserver port, e.g. a connection
string with driver path and some additional parameters or a long query
string.

The changes have the test case, the fix and two warnings cleanups.

https://github.com/erlang/otp/pull/539

git fetch git://github.com/RumataEstor/otp.git odbc-sign-bug

https://github.com/RumataEstor/otp/compare/erlang:maint...odbc-sign-bug
https://github.com/RumataEstor/otp/compare/erlang:maint...odbc-sign-bug.patch


Best wishes,
-- 
Dmitry Belyaev

--001a11c2306ac0afca05082c0dc5
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>The regression was found in OTP-17.4 that makes odbc =
application unusable on the platforms where C `char` type is signed.</div><=
div><br></div><div>The commands longer than 127 chars crash=C2=A0odbcserver=
 port, e.g. a
 connection string with driver path and some additional parameters or a lon=
g query string.<br></div><div><br></div><div>The changes have the test case=
, the fix and two warnings cleanups.</div><div><br></div><div><a href=3D"ht=
tps://github.com/erlang/otp/pull/539">https://github.com/erlang/otp/pull/53=
9</a><br></div><div><br></div><div>git fetch git://<a href=3D"http://github=
.com/RumataEstor/otp.git">github.com/RumataEstor/otp.git</a> odbc-sign-bug<=
/div><div><br></div><div><a href=3D"https://github.com/RumataEstor/otp/comp=
are/erlang:maint...odbc-sign-bug">https://github.com/RumataEstor/otp/compar=
e/erlang:maint...odbc-sign-bug</a><br></div><div><a href=3D"https://github.=
com/RumataEstor/otp/compare/erlang:maint...odbc-sign-bug.patch">https://git=
hub.com/RumataEstor/otp/compare/erlang:maint...odbc-sign-bug.patch</a><br><=
/div><div><br></div><br clear=3D"all"><div><div class=3D"gmail_signature"><=
div dir=3D"ltr">Best wishes,<div>--=C2=A0</div><div>Dmitry Belyaev</div><di=
v><br></div></div></div></div>
</div>

--001a11c2306ac0afca05082c0dc5--

--===============0028255522651718240==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
erlang-patches mailing list
[email protected]
http://erlang.org/mailman/listinfo/erlang-patches

--===============0028255522651718240==--