mirror of https://github.com/BOINC/boinc.git
- Mac installer: fix off-by-1 error
svn path=/trunk/boinc/; revision=18207
This commit is contained in:
parent
97400b8dc8
commit
6a7edc50c4
|
@ -4745,3 +4745,9 @@ David 26 May 2009
|
|||
|
||||
db/
|
||||
schema.sql
|
||||
|
||||
David 26 May 2009
|
||||
- Mac installer: fix off-by-1 error
|
||||
|
||||
mac_installer/
|
||||
CustomInstall.cpp
|
||||
|
|
|
@ -84,7 +84,7 @@ int main(int argc, char *argv[])
|
|||
Initialize();
|
||||
|
||||
#ifdef __APPLE__
|
||||
if (strlen(argv[0]) >= sizeof(path))
|
||||
if (strlen(argv[0]) >= sizeof(path)-1)
|
||||
{
|
||||
show_message((StringPtr)"\pPath to application is too long.");
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue