Opened 9 years ago
Closed 9 years ago
#47906 closed defect (fixed)
[patch] certsync segfault (os x 10.10.3)
Reported by: | alexey.naidyonov@… | Owned by: | neverpanic (Clemens Lang) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | landonf (Landon Fuller) | |
Port: | certsync |
Description
According to https://developer.apple.com/library/mac/documentation/Security/Reference/certifkeytrustservices/index.html, in absence of kSecTrustSettingsResult key, a default value of kSecTrustSettingsResultTrustRoot is assumed, which means the certificate should be trusted. However, there is no guard for this specific case, which leads to a segfault.
Please find the patch attached.
Attachments (1)
Change History (3)
Changed 9 years ago by alexey.naidyonov@…
Attachment: | certsync.m.patch added |
---|
comment:1 Changed 9 years ago by neverpanic (Clemens Lang)
Cc: | landonf@… added |
---|---|
Owner: | changed from macports-tickets@… to cal@… |
Status: | new → assigned |
comment:2 Changed 9 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Increased version in r136960.
Note: See
TracTickets for help on using
tickets.
Agreed, fixed in r136958. I'll bump certsync's version shortly.
Btw, when filing tickets against ports, please Cc the maintainer, if any.