Closed Bug 841415 Opened 12 years ago Closed 12 years ago

nss_ctypes.py doesn't work in Mac

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: amac, Assigned: amac)

Details

Attachments

(1 file)

STR: 1. Try to sign any app using the provided test script (security/manager/ssl/tests/unit/test_signed_apps/sign_b2g_app.py) on MacOS (tried on Darwin Kernel Version 12.2.0). 2. Python dies with a SIGSEGV error Cause: Apparently, Python behaves differently on Darwin than it does either on Linux or on Windows, and it messes the return pointer from PL_strdup.
This fixes it for me. Setting the return value to *void makes Python not touch the pointer at all, apparently.
Attachment #713946 - Flags: review?(bsmith)
This has been pending of review for about 4 months... want me to assign it so somebody else?
Status: NEW → ASSIGNED
Flags: needinfo?(bsmith)
Attachment #713946 - Flags: review?(bsmith) → review+
Keywords: checkin-needed
Flags: needinfo?(bsmith)
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: