Re: [opensc-devel] Help compiling Mac OS 10.7, 10.8 and 10.9 on ONE machine

2012-09-18 Thread Emmanuel Dreyfus
e card, however I never managed to actually use it with ssh-agent. I gave up and never sent the patches for review, but if you are interested, I have patches for building: opensc-0.12.2 pcsc-lite-1.7.4 openssh-5.9p1 -- Emmanuel Dreyfus m...@netb

[opensc-devel] [PATCH] buffer overflow fix

2012-10-22 Thread Emmanuel Dreyfus
ate(void **mutex) { - pthread_mutex_t *m = (pthread_mutex_t *) malloc(sizeof(*mutex)); + pthread_mutex_t *m = (pthread_mutex_t *) malloc(sizeof(*m)); if (m == NULL) return CKR_GENERAL_ERROR;; pthread_mutex_init(m, NULL); *mutex = m; -- Emmanuel Drey