winehq.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2025
February
January
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
January
2003
December
November
October
September
August
July
June
May
April
March
February
January
2002
December
November
October
September
August
July
June
May
April
March
February
January
2001
December
November
October
September
August
July
June
May
April
March
February
List overview
wine-commits
December 2007
----- 2025 -----
February 2025
January 2025
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
January 2004
----- 2003 -----
December 2003
November 2003
October 2003
September 2003
August 2003
July 2003
June 2003
May 2003
April 2003
March 2003
February 2003
January 2003
----- 2002 -----
December 2002
November 2002
October 2002
September 2002
August 2002
July 2002
June 2002
May 2002
April 2002
March 2002
February 2002
January 2002
----- 2001 -----
December 2001
November 2001
October 2001
September 2001
August 2001
July 2001
June 2001
May 2001
April 2001
March 2001
February 2001
wine-commits@winehq.org
3 participants
824 discussions
Start a n
N
ew thread
James Hawkins : msi: Validate the parameters of MsiEnumClients.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 5f7b95daddd3984680595ae718c1930f75556354 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=5f7b95daddd3984680595ae71…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:27:22 2007 -0600 msi: Validate the parameters of MsiEnumClients. --- dlls/msi/registry.c | 5 ++++- dlls/msi/tests/msi.c | 10 ++-------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 1bee58d..daa01e3 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -1284,6 +1284,9 @@ UINT WINAPI MsiEnumClientsA(LPCSTR szComponent, DWORD index, LPSTR szProduct) TRACE("%s %d %p\n", debugstr_a(szComponent), index, szProduct); + if ( !szProduct ) + return ERROR_INVALID_PARAMETER; + if( szComponent ) { szwComponent = strdupAtoW( szComponent ); @@ -1311,7 +1314,7 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct) TRACE("%s %d %p\n", debugstr_w(szComponent), index, szProduct); - if (!szComponent || !szProduct) + if (!szComponent || !*szComponent || !szProduct) return ERROR_INVALID_PARAMETER; r = MSIREG_OpenComponentsKey(szComponent,&hkeyComp,FALSE); diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index e987884..61c7ddf 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -1618,18 +1618,12 @@ static void test_MsiEnumClients(void) /* empty szComponent */ product[0] = '\0'; r = MsiEnumClientsA("", 0, product); - todo_wine - { - ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); - } + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); /* NULL lpProductBuf */ r = MsiEnumClientsA(component, 0, NULL); - todo_wine - { - ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); - } + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); /* all params correct, component missing */ product[0] = '\0';
1
0
0
0
James Hawkins : msi: Add tests for MsiEnumClients.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 64c75d1e02929fae877e8b8e9209405f41e127e7 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=64c75d1e02929fae877e8b8e9…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:26:42 2007 -0600 msi: Add tests for MsiEnumClients. --- dlls/msi/registry.c | 3 + dlls/msi/tests/msi.c | 232 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 235 insertions(+), 0 deletions(-) diff --git a/dlls/msi/registry.c b/dlls/msi/registry.c index 834eda0..1bee58d 100644 --- a/dlls/msi/registry.c +++ b/dlls/msi/registry.c @@ -1311,6 +1311,9 @@ UINT WINAPI MsiEnumClientsW(LPCWSTR szComponent, DWORD index, LPWSTR szProduct) TRACE("%s %d %p\n", debugstr_w(szComponent), index, szProduct); + if (!szComponent || !szProduct) + return ERROR_INVALID_PARAMETER; + r = MSIREG_OpenComponentsKey(szComponent,&hkeyComp,FALSE); if( r != ERROR_SUCCESS ) return ERROR_NO_MORE_ITEMS; diff --git a/dlls/msi/tests/msi.c b/dlls/msi/tests/msi.c index a6eaa21..e987884 100644 --- a/dlls/msi/tests/msi.c +++ b/dlls/msi/tests/msi.c @@ -1588,6 +1588,237 @@ static void test_MsiGetProductCode(void) RegCloseKey(compkey); } +static void test_MsiEnumClients(void) +{ + HKEY compkey; + CHAR prodcode[MAX_PATH]; + CHAR prod_squashed[MAX_PATH]; + CHAR prodcode2[MAX_PATH]; + CHAR prod2_squashed[MAX_PATH]; + CHAR component[MAX_PATH]; + CHAR comp_base85[MAX_PATH]; + CHAR comp_squashed[MAX_PATH]; + CHAR product[MAX_PATH]; + CHAR keypath[MAX_PATH]; + LPSTR usersid; + LONG res; + UINT r; + + create_test_guid(prodcode, prod_squashed); + create_test_guid(prodcode2, prod2_squashed); + compose_base85_guid(component, comp_base85, comp_squashed); + get_user_sid(&usersid); + + /* NULL szComponent */ + product[0] = '\0'; + r = MsiEnumClientsA(NULL, 0, product); + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* empty szComponent */ + product[0] = '\0'; + r = MsiEnumClientsA("", 0, product); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* NULL lpProductBuf */ + r = MsiEnumClientsA(component, 0, NULL); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + + /* all params correct, component missing */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_UNKNOWN_COMPONENT, "Expected ERROR_UNKNOWN_COMPONENT, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\"); + lstrcatA(keypath, "Installer\\UserData\\"); + lstrcatA(keypath, usersid); + lstrcatA(keypath, "\\Components\\"); + lstrcatA(keypath, comp_squashed); + + res = RegCreateKeyA(HKEY_LOCAL_MACHINE, keypath, &compkey); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* user unmanaged component key exists */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_UNKNOWN_COMPONENT, "Expected ERROR_UNKNOWN_COMPONENT, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* index > 0, no products exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + res = RegSetValueExA(compkey, prod_squashed, 0, REG_SZ, (const BYTE *)"C:\\imapath", 10); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* product value exists */ + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode), "Expected %s, got %s\n", prodcode, product); + } + + /* try index 0 again */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode), "Expected %s, got %s\n", prodcode, product); + } + + /* try index 1, second product value does not exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + ok(r == ERROR_NO_MORE_ITEMS, "Expected ERROR_NO_MORE_ITEMS, got %d\n", r); + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* try index 1, second product value does exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* start the enumeration over */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode) || !lstrcmpA(product, prodcode2), + "Expected %s or %s, got %s\n", prodcode, prodcode2, product); + } + /* correctly query second product */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode) || !lstrcmpA(product, prodcode2), + "Expected %s or %s, got %s\n", prodcode, prodcode2, product); + } + + RegDeleteValueA(compkey, prod_squashed); + RegDeleteValueA(compkey, prod2_squashed); + RegDeleteKeyA(compkey, ""); + RegCloseKey(compkey); + + lstrcpyA(keypath, "Software\\Microsoft\\Windows\\CurrentVersion\\"); + lstrcatA(keypath, "Installer\\UserData\\S-1-5-18\\Components\\"); + lstrcatA(keypath, comp_squashed); + + res = RegCreateKeyA(HKEY_LOCAL_MACHINE, keypath, &compkey); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* user local component key exists */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_UNKNOWN_COMPONENT, "Expected ERROR_UNKNOWN_COMPONENT, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* index > 0, no products exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + res = RegSetValueExA(compkey, prod_squashed, 0, REG_SZ, (const BYTE *)"C:\\imapath", 10); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* product value exists */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode), "Expected %s, got %s\n", prodcode, product); + } + + /* try index 0 again */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode), "Expected %s, got %s\n", prodcode, product); + } + + /* try index 1, second product value does not exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + ok(r == ERROR_NO_MORE_ITEMS, "Expected ERROR_NO_MORE_ITEMS, got %d\n", r); + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + res = RegSetValueExA(compkey, prod2_squashed, 0, REG_SZ, (const BYTE *)"C:\\another", 10); + ok(res == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", res); + + /* try index 1, second product value does exist */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } + ok(!lstrcmpA(product, ""), "Expected product to be unchanged, got %s\n", product); + + /* start the enumeration over */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 0, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode) || !lstrcmpA(product, prodcode2), + "Expected %s or %s, got %s\n", prodcode, prodcode2, product); + } + + /* correctly query second product */ + product[0] = '\0'; + r = MsiEnumClientsA(component, 1, product); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + ok(!lstrcmpA(product, prodcode) || !lstrcmpA(product, prodcode2), + "Expected %s or %s, got %s\n", prodcode, prodcode2, product); + } + + RegDeleteValueA(compkey, prod_squashed); + RegDeleteValueA(compkey, prod2_squashed); + RegDeleteKeyA(compkey, ""); + RegCloseKey(compkey); +} + START_TEST(msi) { init_functionpointers(); @@ -1601,4 +1832,5 @@ START_TEST(msi) test_MsiQueryComponentState(); test_MsiGetComponentPath(); test_MsiGetProductCode(); + test_MsiEnumClients(); }
1
0
0
0
James Hawkins : msi: Simplify ExpandAnyPath.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 4777a3a33bc3f84148da0ae9fdff43c0a5173783 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=4777a3a33bc3f84148da0ae9f…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:25:49 2007 -0600 msi: Simplify ExpandAnyPath. --- dlls/msi/appsearch.c | 49 +++++++++++++------------------------------------ 1 files changed, 13 insertions(+), 36 deletions(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 5f5bba8..a1e6045 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -466,8 +466,7 @@ static UINT ACTION_AppSearchIni(MSIPACKAGE *package, LPWSTR *appValue, static void ACTION_ExpandAnyPath(MSIPACKAGE *package, WCHAR *src, WCHAR *dst, size_t len) { - WCHAR *ptr; - size_t copied = 0; + WCHAR *ptr, *deformatted; if (!src || !dst || !len) { @@ -475,46 +474,24 @@ static void ACTION_ExpandAnyPath(MSIPACKAGE *package, WCHAR *src, WCHAR *dst, return; } - /* Ignore the short portion of the path, don't think we can use it anyway */ + dst[0] = '\0'; + + /* Ignore the short portion of the path */ if ((ptr = strchrW(src, '|'))) ptr++; else ptr = src; - while (*ptr && copied < len - 1) - { - WCHAR *prop = strchrW(ptr, '['); - - if (prop) - { - WCHAR *propEnd = strchrW(prop + 1, ']'); - - if (!propEnd) - { - WARN("Unterminated property name in AnyPath: %s\n", - debugstr_w(prop)); - break; - } - else - { - DWORD propLen; - *propEnd = 0; - propLen = len - copied - 1; - MSI_GetPropertyW(package, prop + 1, dst + copied, &propLen); - ptr = propEnd + 1; - copied += propLen; - } - } - else - { - size_t toCopy = min(strlenW(ptr) + 1, len - copied - 1); - - memcpy(dst + copied, ptr, toCopy * sizeof(WCHAR)); - ptr += toCopy; - copied += toCopy; - } + deformat_string(package, ptr, &deformatted); + if (!deformatted || lstrlenW(deformatted) > len - 1) + { + msi_free(deformatted); + return; } - *(dst + copied) = '\0'; + + lstrcpyW(dst, deformatted); + dst[lstrlenW(deformatted)] = '\0'; + msi_free(deformatted); } /* Sets *matches to whether the file (whose path is filePath) matches the
1
0
0
0
James Hawkins : msi: Verify that the PID_PAGECOUNT and PID_REVNUMBER summary info properties exist .
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: ce6e84c07180a746543b33754ca0085ddacf3391 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=ce6e84c07180a746543b33754…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:24:52 2007 -0600 msi: Verify that the PID_PAGECOUNT and PID_REVNUMBER summary info properties exist. --- dlls/msi/package.c | 68 +++++++++++++++++++++++++++++---------------- dlls/msi/tests/package.c | 33 +++++----------------- 2 files changed, 52 insertions(+), 49 deletions(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index cb6e25d..a678470 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -637,7 +637,7 @@ static UINT msi_load_summary_properties( MSIPACKAGE *package ) UINT rc; MSIHANDLE suminfo; MSIHANDLE hdb = alloc_msihandle( &package->db->hdr ); - INT word_count; + INT count; DWORD len; LPWSTR package_code; static const WCHAR szPackageCode[] = { @@ -645,8 +645,9 @@ static UINT msi_load_summary_properties( MSIPACKAGE *package ) if (!hdb) { ERR("Unable to allocate handle\n"); - return 0; + return ERROR_OUTOFMEMORY; } + rc = MsiGetSummaryInformationW( hdb, NULL, 0, &suminfo ); MsiCloseHandle(hdb); if (rc != ERROR_SUCCESS) @@ -655,35 +656,47 @@ static UINT msi_load_summary_properties( MSIPACKAGE *package ) return rc; } - /* load package attributes */ - rc = MsiSummaryInfoGetPropertyW( suminfo, PID_WORDCOUNT, NULL, - &word_count, NULL, NULL, NULL ); - if (rc == ERROR_SUCCESS) - package->WordCount = word_count; - else - WARN("Unable to query word count\n"); + rc = MsiSummaryInfoGetPropertyW( suminfo, PID_PAGECOUNT, NULL, + &count, NULL, NULL, NULL ); + if (rc != ERROR_SUCCESS) + { + WARN("Unable to query page count: %d", rc); + goto done; + } /* load package code property */ len = 0; rc = MsiSummaryInfoGetPropertyW( suminfo, PID_REVNUMBER, NULL, NULL, NULL, NULL, &len ); - if (rc == ERROR_MORE_DATA) + if (rc != ERROR_MORE_DATA) { - len++; - package_code = msi_alloc( len * sizeof(WCHAR) ); - rc = MsiSummaryInfoGetPropertyW( suminfo, PID_REVNUMBER, NULL, - NULL, NULL, package_code, &len ); - if (rc == ERROR_SUCCESS) - MSI_SetPropertyW( package, szPackageCode, package_code ); - else - WARN("Unable to query rev number, %d\n", rc); - msi_free( package_code ); + WARN("Unable to query revision number: %d\n", rc); + rc = ERROR_FUNCTION_FAILED; + goto done; + } + + len++; + package_code = msi_alloc( len * sizeof(WCHAR) ); + rc = MsiSummaryInfoGetPropertyW( suminfo, PID_REVNUMBER, NULL, + NULL, NULL, package_code, &len ); + if (rc != ERROR_SUCCESS) + { + WARN("Unable to query rev number: %d\n", rc); + goto done; } - else - WARN("Unable to query rev number, %d\n", rc); + MSI_SetPropertyW( package, szPackageCode, package_code ); + msi_free( package_code ); + + /* load package attributes */ + count = 0; + MsiSummaryInfoGetPropertyW( suminfo, PID_WORDCOUNT, NULL, + &count, NULL, NULL, NULL ); + package->WordCount = count; + +done: MsiCloseHandle(suminfo); - return ERROR_SUCCESS; + return rc; } static MSIPACKAGE *msi_alloc_package( void ) @@ -746,6 +759,7 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db, LPCWSTR base_url ) 'P','r','o','d','u','c','t','C','o','d','e',0}; MSIPACKAGE *package; WCHAR uilevel[10]; + UINT r; TRACE("%p\n", db); @@ -767,7 +781,12 @@ MSIPACKAGE *MSI_CreatePackage( MSIDATABASE *db, LPCWSTR base_url ) package->ProductCode = msi_dup_property( package, szProductCode ); set_installed_prop( package ); - msi_load_summary_properties( package ); + r = msi_load_summary_properties( package ); + if (r != ERROR_SUCCESS) + { + msiobj_release( &package->hdr ); + return NULL; + } if (package->WordCount & MSIWORDCOUNT_ADMINISTRATIVE) msi_load_admin_properties( package ); @@ -906,7 +925,8 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage) { if (file != szPackage) DeleteFileW( file ); - return ERROR_FUNCTION_FAILED; + + return ERROR_INSTALL_PACKAGE_INVALID; } if( file != szPackage ) diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index 8d6125d..dc0e31e 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -2045,7 +2045,8 @@ static void test_msipackage(void) ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); } - MsiCloseHandle(hpack); + if (r == ERROR_SUCCESS) + MsiCloseHandle(hpack); /* nonexistent szPackagePath */ r = MsiOpenPackage("nonexistent", &hpack); @@ -2066,14 +2067,8 @@ static void test_msipackage(void) /* database exists, but is emtpy */ sprintf(name, "#%ld", hdb); r = MsiOpenPackage(name, &hpack); - todo_wine - { - ok(r == ERROR_INSTALL_PACKAGE_INVALID, - "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); - } - - if (r == ERROR_SUCCESS) - MsiCloseHandle(hpack); + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); query = "CREATE TABLE `Property` ( " "`Property` CHAR(72), `Value` CHAR(0) " @@ -2090,14 +2085,8 @@ static void test_msipackage(void) /* a few key tables exist */ sprintf(name, "#%ld", hdb); r = MsiOpenPackage(name, &hpack); - todo_wine - { - ok(r == ERROR_INSTALL_PACKAGE_INVALID, - "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); - } - - if (r == ERROR_SUCCESS) - MsiCloseHandle(hpack); + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); MsiCloseHandle(hdb); DeleteFile(msifile); @@ -2115,14 +2104,8 @@ static void test_msipackage(void) set_summary_dword(hdb, PID_PAGECOUNT, 100); r = MsiOpenPackage(name, &hpack); - todo_wine - { - ok(r == ERROR_INSTALL_PACKAGE_INVALID, - "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); - } - - if (r == ERROR_SUCCESS) - MsiCloseHandle(hpack); + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); set_summary_str(hdb, PID_REVNUMBER, "{004757CD-5092-49c2-AD20-28E1CE0DF5F2}"); r = MsiOpenPackage(name, &hpack);
1
0
0
0
James Hawkins : msi: If the package doesn't exist, return ERROR_FILE_NOT_FOUND.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 620862e3854e64c1d3b4b3d066e6debdc7af3591 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=620862e3854e64c1d3b4b3d06…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:24:11 2007 -0600 msi: If the package doesn't exist, return ERROR_FILE_NOT_FOUND. --- dlls/msi/package.c | 3 +++ dlls/msi/tests/package.c | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index 58861d3..cb6e25d 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -892,6 +892,9 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage) if (file != szPackage) DeleteFileW( file ); + if (GetFileAttributesW(szPackage) == INVALID_FILE_ATTRIBUTES) + return ERROR_FILE_NOT_FOUND; + return r; } } diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index af9b786..8d6125d 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -2049,10 +2049,7 @@ static void test_msipackage(void) /* nonexistent szPackagePath */ r = MsiOpenPackage("nonexistent", &hpack); - todo_wine - { - ok(r == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", r); - } + ok(r == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", r); /* NULL hProduct */ r = MsiOpenPackage(msifile, NULL);
1
0
0
0
James Hawkins : msi: Validate the parameters of MsiOpenPackage.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: f933dd8b4f4905910512be58f811c6632fa0d675 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=f933dd8b4f4905910512be58f…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:23:27 2007 -0600 msi: Validate the parameters of MsiOpenPackage. --- dlls/msi/package.c | 8 +++++++- dlls/msi/tests/package.c | 5 +---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index 5c42cd8..58861d3 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -932,9 +932,15 @@ UINT WINAPI MsiOpenPackageExW(LPCWSTR szPackage, DWORD dwOptions, MSIHANDLE *phP TRACE("%s %08x %p\n", debugstr_w(szPackage), dwOptions, phPackage ); - if( szPackage == NULL ) + if( !szPackage || !phPackage ) return ERROR_INVALID_PARAMETER; + if ( !*szPackage ) + { + FIXME("Should create an empty database and package."); + return ERROR_FUNCTION_FAILED; + } + if( dwOptions ) FIXME("dwOptions %08x not supported\n", dwOptions); diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index f4b0a4d..af9b786 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -2056,10 +2056,7 @@ static void test_msipackage(void) /* NULL hProduct */ r = MsiOpenPackage(msifile, NULL); - todo_wine - { - ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); - } + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); name[0]='#'; name[1]=0;
1
0
0
0
James Hawkins : msi: Add more tests for MsiOpenPackage.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 8fab39cc6083fdfc4ae932164a2028e2a41fdb29 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=8fab39cc6083fdfc4ae932164…
Author: James Hawkins <truiken(a)gmail.com> Date: Sun Dec 16 20:14:46 2007 -0600 msi: Add more tests for MsiOpenPackage. --- dlls/msi/package.c | 2 - dlls/msi/tests/package.c | 131 ++++++++++++++++++++++++++++++++++++++------- 2 files changed, 110 insertions(+), 23 deletions(-) diff --git a/dlls/msi/package.c b/dlls/msi/package.c index 1286641..5c42cd8 100644 --- a/dlls/msi/package.c +++ b/dlls/msi/package.c @@ -889,8 +889,6 @@ UINT MSI_OpenPackageW(LPCWSTR szPackage, MSIPACKAGE **pPackage) r = MSI_OpenDatabaseW( file, MSIDBOPEN_READONLY, &db ); if( r != ERROR_SUCCESS ) { - if (GetLastError() == ERROR_FILE_NOT_FOUND) - msi_ui_error( 4, MB_OK | MB_ICONWARNING ); if (file != szPackage) DeleteFileW( file ); diff --git a/dlls/msi/tests/package.c b/dlls/msi/tests/package.c index b52aab8..f4b0a4d 100644 --- a/dlls/msi/tests/package.c +++ b/dlls/msi/tests/package.c @@ -23,6 +23,7 @@ #include <stdio.h> #include <windows.h> +#include <msidefs.h> #include <msi.h> #include <msiquery.h> @@ -1992,6 +1993,40 @@ static UINT try_query( MSIHANDLE hdb, LPCSTR szQuery ) return try_query_param( hdb, szQuery, 0 ); } +static void set_summary_str(MSIHANDLE hdb, DWORD pid, LPCSTR value) +{ + MSIHANDLE summary; + UINT r; + + r = MsiGetSummaryInformationA(hdb, NULL, 1, &summary); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = MsiSummaryInfoSetPropertyA(summary, pid, VT_LPSTR, 0, NULL, value); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r); + + r = MsiSummaryInfoPersist(summary); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r); + + MsiCloseHandle(summary); +} + +static void set_summary_dword(MSIHANDLE hdb, DWORD pid, DWORD value) +{ + MSIHANDLE summary; + UINT r; + + r = MsiGetSummaryInformationA(hdb, NULL, 1, &summary); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + r = MsiSummaryInfoSetPropertyA(summary, pid, VT_I4, value, NULL, NULL); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r); + + r = MsiSummaryInfoPersist(summary); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", r); + + MsiCloseHandle(summary); +} + static void test_msipackage(void) { MSIHANDLE hdb = 0, hpack = 100; @@ -1999,34 +2034,53 @@ static void test_msipackage(void) const char *query; char name[10]; - DeleteFile(msifile); + /* NULL szPackagePath */ + r = MsiOpenPackage(NULL, &hpack); + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); - todo_wine { - name[0] = 0; - r = MsiOpenPackage(name, &hpack); - ok(r == ERROR_SUCCESS, "failed to open package with no name\n"); - r = MsiCloseHandle(hpack); - ok(r == ERROR_SUCCESS, "failed to close package\n"); + /* empty szPackagePath */ + r = MsiOpenPackage("", &hpack); + todo_wine + { + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); } - /* just MsiOpenDatabase should not create a file */ - r = MsiOpenDatabase(msifile, MSIDBOPEN_CREATE, &hdb); - ok(r == ERROR_SUCCESS, "MsiOpenDatabase failed\n"); + MsiCloseHandle(hpack); + + /* nonexistent szPackagePath */ + r = MsiOpenPackage("nonexistent", &hpack); + todo_wine + { + ok(r == ERROR_FILE_NOT_FOUND, "Expected ERROR_FILE_NOT_FOUND, got %d\n", r); + } + + /* NULL hProduct */ + r = MsiOpenPackage(msifile, NULL); + todo_wine + { + ok(r == ERROR_INVALID_PARAMETER, "Expected ERROR_INVALID_PARAMETER, got %d\n", r); + } name[0]='#'; name[1]=0; r = MsiOpenPackage(name, &hpack); - ok(r == ERROR_INVALID_HANDLE, "MsiOpenPackage returned wrong code\n"); + ok(r == ERROR_INVALID_HANDLE, "Expected ERROR_INVALID_HANDLE, got %d\n", r); - todo_wine { - /* now try again with our empty database */ + r = MsiOpenDatabase(msifile, MSIDBOPEN_CREATE, &hdb); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + + /* database exists, but is emtpy */ sprintf(name, "#%ld", hdb); r = MsiOpenPackage(name, &hpack); - ok(r == ERROR_INSTALL_PACKAGE_INVALID, "MsiOpenPackage returned wrong code\n"); - if (!r) MsiCloseHandle(hpack); + todo_wine + { + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); } - /* create a table */ + if (r == ERROR_SUCCESS) + MsiCloseHandle(hpack); + query = "CREATE TABLE `Property` ( " "`Property` CHAR(72), `Value` CHAR(0) " "PRIMARY KEY `Property`)"; @@ -2039,15 +2093,50 @@ static void test_msipackage(void) r = try_query(hdb, query); ok(r == ERROR_SUCCESS, "failed to create InstallExecuteSequence table\n"); - todo_wine { + /* a few key tables exist */ + sprintf(name, "#%ld", hdb); + r = MsiOpenPackage(name, &hpack); + todo_wine + { + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); + } + + if (r == ERROR_SUCCESS) + MsiCloseHandle(hpack); + + MsiCloseHandle(hdb); + DeleteFile(msifile); + + /* start with a clean database to show what constitutes a valid package */ + r = MsiOpenDatabase(msifile, MSIDBOPEN_CREATE, &hdb); + ok(r == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %d\n", r); + sprintf(name, "#%ld", hdb); + + /* The following summary information props must exist: + * - PID_REVNUMBER + * - PID_PAGECOUNT + */ + + set_summary_dword(hdb, PID_PAGECOUNT, 100); r = MsiOpenPackage(name, &hpack); - ok(r == ERROR_INSTALL_PACKAGE_INVALID, "MsiOpenPackage returned wrong code\n"); - if (!r) MsiCloseHandle(hpack); + todo_wine + { + ok(r == ERROR_INSTALL_PACKAGE_INVALID, + "Expected ERROR_INSTALL_PACKAGE_INVALID, got %d\n", r); } - r = MsiCloseHandle(hdb); - ok(r == ERROR_SUCCESS, "MsiCloseHandle(database) failed\n"); + if (r == ERROR_SUCCESS) + MsiCloseHandle(hpack); + + set_summary_str(hdb, PID_REVNUMBER, "{004757CD-5092-49c2-AD20-28E1CE0DF5F2}"); + r = MsiOpenPackage(name, &hpack); + ok(r == ERROR_SUCCESS, + "Expected ERROR_SUCCESS, got %d\n", r); + + MsiCloseHandle(hpack); + MsiCloseHandle(hdb); DeleteFile(msifile); }
1
0
0
0
James Hawkins : msi: Release the record when loading the hash data.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 1277e1b55a87f90ffc2921b3e8f827b5c101d793 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=1277e1b55a87f90ffc2921b3e…
Author: James Hawkins <truiken(a)gmail.com> Date: Fri Dec 14 15:18:05 2007 -0600 msi: Release the record when loading the hash data. --- dlls/msi/action.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index 2da9f13..4d71822 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -1401,7 +1401,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file) '`','M','s','i','F','i','l','e','H','a','s','h','`',' ', 'W','H','E','R','E',' ','`','F','i','l','e','_','`',' ','=',' ','\'','%','s','\'',0}; MSIQUERY *view = NULL; - MSIRECORD *row; + MSIRECORD *row = NULL; UINT r; TRACE("%s\n", debugstr_w(file->File)); @@ -1426,6 +1426,7 @@ static UINT load_file_hash(MSIPACKAGE *package, MSIFILE *file) done: if (view) msiobj_release(&view->hdr); + if (row) msiobj_release(&row->hdr); return r; }
1
0
0
0
Maarten Lankhorst : riched20: Implement ECO/EM SELECTIONBAR.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: b81335501f32fb11b3634faf7a5c484c458dabc8 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=b81335501f32fb11b3634faf7…
Author: Maarten Lankhorst <maarten(a)codeweavers.com> Date: Fri Dec 14 21:29:37 2007 +0100 riched20: Implement ECO/EM SELECTIONBAR. --- dlls/riched20/caret.c | 98 ++++++++++++++++++++++++++++++++--------- dlls/riched20/editor.c | 33 ++++++++++++-- dlls/riched20/editstr.h | 1 + dlls/riched20/ocr_reverse.cur | Bin 0 -> 326 bytes dlls/riched20/res.h | 21 +++++++++ dlls/riched20/version.rc | 4 ++ dlls/riched20/wrap.c | 8 ++-- 7 files changed, 136 insertions(+), 29 deletions(-) Diff:
http://source.winehq.org/git/wine.git/?a=commitdiff;h=b81335501f32fb11b3634…
1
0
0
0
Marcus Meissner : msi: Fixed buffer overflow in number parsing.
by Alexandre Julliard
17 Dec '07
17 Dec '07
Module: wine Branch: master Commit: 964a0303c129d59ea227fcce68f647d2e76ddc56 URL:
http://source.winehq.org/git/wine.git/?a=commit;h=964a0303c129d59ea227fcce6…
Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Fri Dec 14 15:20:04 2007 +0100 msi: Fixed buffer overflow in number parsing. --- dlls/msi/dialog.c | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dlls/msi/dialog.c b/dlls/msi/dialog.c index fae8fcf..078ceda 100644 --- a/dlls/msi/dialog.c +++ b/dlls/msi/dialog.c @@ -2464,7 +2464,7 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control { LPCWSTR text = MSI_RecordGetString( rec, 10 ); LPCWSTR begin = text, end; - WCHAR num[10]; + WCHAR *num; LVCOLUMNW lvc; DWORD count = 0; @@ -2478,6 +2478,10 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control if (!(end = strchrW( begin, '}' ))) return; + num = msi_alloc( (end-begin+1)*sizeof(WCHAR) ); + if (!num) + return; + lstrcpynW( num, begin + 1, end - begin ); begin += end - begin + 1; @@ -2485,14 +2489,17 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control if ( !num[0] || !lstrcmpW( num, zero ) ) { count++; + msi_free( num ); continue; } /* the width must be a positive number * if a width is invalid, all remaining columns are hidden */ - if ( !strncmpW( num, negative, 1 ) || !str_is_number( num ) ) + if ( !strncmpW( num, negative, 1 ) || !str_is_number( num ) ) { + msi_free( num ); return; + } ZeroMemory( &lvc, sizeof(lvc) ); lvc.mask = LVCF_TEXT | LVCF_WIDTH | LVCF_SUBITEM; @@ -2501,6 +2508,7 @@ static void msi_dialog_vcl_add_columns( msi_dialog *dialog, msi_control *control SendMessageW( control->hwnd, LVM_INSERTCOLUMNW, count++, (LPARAM)&lvc ); msi_free( lvc.pszText ); + msi_free( num ); } }
1
0
0
0
← Newer
1
...
34
35
36
37
38
39
40
...
83
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
Results per page:
10
25
50
100
200