jjzhang / booth

The Booth Cluster Ticket Manager
GNU General Public License v2.0
16 stars 37 forks source link

Fixed:booth fails in realocating a memory #45

Closed seinocluster2 closed 11 years ago

seinocluster2 commented 11 years ago

When we set more than 17 tickets, booth causes "segmentation fault". And, the pointer specified to memset was out of the reallocate memory range. I add typecasting because the calculation of pointer is incorrect.

Signed-off-by: Yuichi SEINO seino.cluster2@gmail.com