canonname in addrinfo has wrong type

Bug #1187041 reported by Jerry James on 2013-06-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

Attempting to use the canonname field in an addrinfo structure results in the bytes of the string pointer being interpreted as characters. See for a test case that illustrates the problem. The attached patch fixes it.

sbcl --version: SBCL 1.1.2-1.fc18
uname -a: Linux 3.9.4-200.fc18.x86_64 #1 SMP Fri May 24 20:10:49 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Please accept my abject apologies for taking 3 years to report this on launchpad. Sheesh.

Jerry James (loganjerry) wrote :
Stas Boukarev (stassats) on 2013-06-03
Changed in sbcl:
status: New → Triaged
assignee: nobody → Stas Boukarev (stassats)
Stas Boukarev (stassats) wrote :

In 11aa29a68039d6fb3cf41d67352a6b263b1094b6, thanks.

Changed in sbcl:
status: Triaged → Fix Committed
assignee: Stas Boukarev (stassats) → nobody
Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers