Opened 11 years ago

Closed 11 years ago

#1226 closed Defect (fixed)

boincmgr options dialog crashes

Reported by: amilburn Owned by: romw
Priority: Undetermined Milestone: Undetermined
Component: Manager Version: 7.0.52
Keywords: Cc:

Description

If I open the Options dialog of boincmgr (built with latest master, ca00119f, on amd64 Debian unstable), then click 'OK', it crashes.

CDlgOptions::SaveSettings? is casting a pointer to an 'int' to a 'long *', causing stack corruption.

Attachments (1)

boincmgr_fix_long_pointers.patch (4.2 KB) - added by amilburn 11 years ago.
boincmgr: patch to change temporaries to long

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by amilburn

boincmgr: patch to change temporaries to long

comment:1 Changed 11 years ago by amilburn

The attached patch converts the 'int' temporaries to 'long' ones; it fixes my crash for me, and also makes the same change in two other functions which seem to have the same problem.

comment:2 Changed 11 years ago by romw

Resolution: fixed
Status: newclosed

This patch was applied in commit d25838c21efddd77b108ddb5b78d97de81992c64. It should appear in build 7.0.54.

Note: See TracTickets for help on using tickets.