Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/ba4b06dc04e01a7fe61852c11035a873148d969d
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/ba4b06dc04e01a7fe61852c11035a873148d969d
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/ba4b06dc04e01a7fe61852c11035a873148d969d

The branch, master has been updated
       via  ba4b06dc04e01a7fe61852c11035a873148d969d (commit)
       via  dd5d97b61c2a56742de4090659ff78eda4c0cdc3 (commit)
       via  66fe825c8df84da71ec3b2a69bf4ad3283c6159b (commit)
       via  7fae41b6d3f88f99a812f7364b5805dfd95e0fec (commit)
       via  912aa3774e2889070b28ecd94df11ac228666457 (commit)
      from  9142bab7363095e538d1f24bed6ae32a9b1d5820 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=ba4b06dc04e01a7fe61852c11035a873148d969d
commit ba4b06dc04e01a7fe61852c11035a873148d969d
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    Update version for next development cycle

diff --git a/desktop/version.c b/desktop/version.c
index bbe759f..387cb1f 100644
--- a/desktop/version.c
+++ b/desktop/version.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Vincent Sanders <[email protected]>
+ * Copyright 2018 Vincent Sanders <[email protected]>
  *
  * This file is part of NetSurf, http://www.netsurf-browser.org/
  *
@@ -20,11 +20,11 @@
 
 #include "desktop/version.h"
 
-const char * const netsurf_version = "3.8 (Dev"
+const char * const netsurf_version = "3.9 (Dev"
 #if defined(CI_BUILD)
        " CI #" CI_BUILD
 #endif
        ")"
        ;
 const int netsurf_version_major = 3;
-const int netsurf_version_minor = 8;
+const int netsurf_version_minor = 9;


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=dd5d97b61c2a56742de4090659ff78eda4c0cdc3
commit dd5d97b61c2a56742de4090659ff78eda4c0cdc3
Merge: 7fae41b 66fe825
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    Merge branch 'heads/releasing/3.8'



commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=66fe825c8df84da71ec3b2a69bf4ad3283c6159b
commit 66fe825c8df84da71ec3b2a69bf4ad3283c6159b
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    Update version files for release

diff --git a/desktop/version.c b/desktop/version.c
index bbe759f..24c3157 100644
--- a/desktop/version.c
+++ b/desktop/version.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Vincent Sanders <[email protected]>
+ * Copyright 2018 Vincent Sanders <[email protected]>
  *
  * This file is part of NetSurf, http://www.netsurf-browser.org/
  *
@@ -20,11 +20,6 @@
 
 #include "desktop/version.h"
 
-const char * const netsurf_version = "3.8 (Dev"
-#if defined(CI_BUILD)
-       " CI #" CI_BUILD
-#endif
-       ")"
-       ;
+const char * const netsurf_version = "3.8 (29th August 2018)";
 const int netsurf_version_major = 3;
 const int netsurf_version_minor = 8;


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=7fae41b6d3f88f99a812f7364b5805dfd95e0fec
commit 7fae41b6d3f88f99a812f7364b5805dfd95e0fec
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    update copyright years and versions in docs and readme

diff --git a/frontends/amiga/pkg/netsurf.readme 
b/frontends/amiga/pkg/netsurf.readme
index 817e074..a24eaf3 100755
--- a/frontends/amiga/pkg/netsurf.readme
+++ b/frontends/amiga/pkg/netsurf.readme
@@ -2,11 +2,11 @@ Short:        Fast CSS capable web browser
 Uploader:     [email protected] (Chris Young)
 Author:       NetSurf contributors (OS4 port by Chris Young)
 Type:         comm/www
-Version:      3.8
+Version:      3.9
 Requires:     dev/misc/guigfxlib.lha
 Architecture: ppc-amigaos >= 4.0.0
 
-This is NetSurf 3.8 for AmigaOS 4 (native frontend).
+This is NetSurf 3.9 for AmigaOS 4 (native frontend).
 For the latest version, visit http://www.netsurf-browser.org
 
     *******************************************
diff --git a/frontends/amiga/pkg/netsurf_os3.readme 
b/frontends/amiga/pkg/netsurf_os3.readme
index 087e586..66774e6 100644
--- a/frontends/amiga/pkg/netsurf_os3.readme
+++ b/frontends/amiga/pkg/netsurf_os3.readme
@@ -2,11 +2,11 @@ Short:        Fast CSS capable web browser
 Uploader:     [email protected] (Chris Young)
 Author:       NetSurf contributors (OS4 port by Chris Young)
 Type:         comm/www
-Version:      3.8 BETA
+Version:      3.9 BETA
 Requires:     dev/misc/guigfxlib.lha
 Architecture: m68k-amigaos >= 3.5.0
 
-This is NetSurf 3.8 BETA for AmigaOS 3.
+This is NetSurf 3.9 BETA for AmigaOS 3.
 It is built off of the OS4 (Reaction) frontend.
 
 Requirements are AmigaOS 3.5 or 3.9, 32MB RAM.
diff --git a/frontends/windows/res/installer.nsi 
b/frontends/windows/res/installer.nsi
index 17afee2..5d2e600 100644
--- a/frontends/windows/res/installer.nsi
+++ b/frontends/windows/res/installer.nsi
@@ -13,7 +13,7 @@
   !define VERSIONMAJOR 3
 !endif
 !ifndef VERSIONMINOR
-  !define VERSIONMINOR 7
+  !define VERSIONMINOR 8
 !endif
 !ifndef VERSIONBUILD
   !define VERSIONBUILD 0
diff --git a/resources/en/credits.html b/resources/en/credits.html
index 7789bcd..34f061a 100644
--- a/resources/en/credits.html
+++ b/resources/en/credits.html
@@ -24,40 +24,40 @@ div#DevList ul {
 
 <h2>Code</h2>
 <ul>
-<li>Kevin Bagust</li>
 <li>John-Mark Bell</li>
+<li>Michael Drake</li>
+<li>Rob Kendrick</li>
+<li>Fran�ois Revol</li>
+<li>Vincent Sanders</li>
+<li>Daniel Silverstone</li>
+<li>Chris Young</li>
+<li>Kevin Bagust</li>
 <li>Mark Benjamin</li>
 <li>Adam Blokus</li>
 <li>Pawe&#x0142 Blokus</li>
 <li>James Bursa</li>
 <li>Stefaan Claes</li>
 <li>Calin Dobos</li>
-<li>Michael Drake</li>
 <li>Sean Fox</li>
 <li>Stephen Fryatt</li>
 <li>Rik Griffin</li>
 <li>Matthew Hambley</li>
 <li>Rob Jackson</li>
-<li>Rob Kendrick</li>
 <li>Jeffrey Lee</li>
 <li>Adrian Lees</li>
 <li>Michael Lester</li>
 <li>Ole Loots</li>
 <li>Phil Mellor</li>
 <li>Philip Pemberton</li>
-<li>Fran�ois Revol</li>
 <li>Darren Salt</li>
-<li>Vincent Sanders</li>
 <li>James Shaw</li>
 <li>Andrew Sidwell</li>
-<li>Daniel Silverstone</li>
 <li>Andrew Timmins</li>
 <li>John Tytgat</li>
 <li>Sven Weidauer</li>
 <li>Chris Williams</li>
 <li>Richard Wilson</li>
 <li>Bo Yang</li>
-<li>Chris Young</li>
 </ul>
 
 <h2>Documentation</h2>
@@ -92,7 +92,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/en/licence.html b/resources/en/licence.html
index 515757c..2e5850f 100644
--- a/resources/en/licence.html
+++ b/resources/en/licence.html
@@ -60,25 +60,25 @@ version.</p>
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 The NetSurf Developers</span>
+<span>&copy; 2002&ndash;2018 The NetSurf Developers</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/hubbub/";>Hubbub</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libparserutils/";>LibParserUtils</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1865,7 +1865,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/it/credits.html b/resources/it/credits.html
index cec1912..982b347 100644
--- a/resources/it/credits.html
+++ b/resources/it/credits.html
@@ -91,7 +91,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p><br>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p><br>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/it/licence.html b/resources/it/licence.html
index 8b9c489..087a57a 100644
--- a/resources/it/licence.html
+++ b/resources/it/licence.html
@@ -52,13 +52,13 @@ dl.components > dd > span + span {
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 The NetSurf Developers</span>
+<span>&copy; 2002&ndash;2018 The NetSurf Developers</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1853,7 +1853,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/nl/credits.html b/resources/nl/credits.html
index f9e0932..bd722c3 100644
--- a/resources/nl/credits.html
+++ b/resources/nl/credits.html
@@ -96,7 +96,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p>Auteursrecht 2003&ndash;2017 De NetSurf-ontwikkelaars</p>
+<p>Auteursrecht 2003&ndash;2018 De NetSurf-ontwikkelaars</p>
 </div>
 
 </body>
diff --git a/resources/nl/licence.html b/resources/nl/licence.html
index 89ce856..849ca95 100644
--- a/resources/nl/licence.html
+++ b/resources/nl/licence.html
@@ -63,25 +63,25 @@ dan verwijder deze uitzonderingverklaring uit uw eigen  
versie.</p>
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 De NetSurf-ontwikkerlaars</span>
+<span>&copy; 2002&ndash;2018 De NetSurf-ontwikkerlaars</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/hubbub/";>Hubbub</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libparserutils/";>LibParserUtils</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -105,7 +105,7 @@ dan verwijder deze uitzonderingverklaring uit uw eigen  
versie.</p>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libsvgtiny";>Libsvgtiny</a></dt>
 <dd>
-<span>&copy; 2008&ndash;2009 James Bursa<br>&copy; 2016 Michael Drake</span>
+<span>&copy; 2008&ndash;2009 James Bursa<br>&copy; 2016&ndash;2018 Michael 
Drake</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1872,7 +1872,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Auteursrecht 2003&ndash;2017 De NetSurf-ontwikkelaars</p>
+<p>Auteursrecht 2003&ndash;2018 De NetSurf-ontwikkelaars</p>
 </div>
 
 </body>


commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=912aa3774e2889070b28ecd94df11ac228666457
commit 912aa3774e2889070b28ecd94df11ac228666457
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    remove use of strcpy

diff --git a/utils/filepath.c b/utils/filepath.c
index ee5f107..9c1e766 100644
--- a/utils/filepath.c
+++ b/utils/filepath.c
@@ -165,7 +165,7 @@ filepath_sfinddef(char **respathv,
                        snprintf(t, PATH_MAX, "%s/%s", def, filename);
                }               
                if (realpath(t, ret) == NULL) {
-                       strcpy(ret, t);
+                       strncpy(ret, t, PATH_MAX);
                }
 
        }
diff --git a/utils/filepath.h b/utils/filepath.h
index ad077e2..784264b 100644
--- a/utils/filepath.h
+++ b/utils/filepath.h
@@ -69,10 +69,10 @@ char *filepath_findfile(const char *format, ...);
  * normalised file name of the first acessible file or NULL if no file
  * can be found in any of the resource paths.
  *
- * @param respathv The resource path vector to iterate.
- * @param filepath The buffer to place the result in.
- * @param filename The filename of the resource to search for.
- * @return A pointer to filepath if a target is found or NULL if not.
+ * \param respathv The resource path vector to iterate.
+ * \param filepath The buffer to place the result in.
+ * \param filename The filename of the resource to search for.
+ * \return A pointer to filepath if a target is found or NULL if not.
  */
 char *filepath_sfind(char **respathv, char *filepath, const char *filename);
 
@@ -93,6 +93,12 @@ char *filepath_find(char **respathv, const char *filename);
  * is used as an additional path element to search, if that still
  * fails the returned path is set to the concatination of the default
  * path and the filename.
+ *
+ * \param respathv The resource path vector to iterate.
+ * \param filepath The buffer to place the result in. Must have space for 
PATH_MAX bytes.
+ * \param filename The filename of the resource to search for.
+ * \param def The default path to use
+ * \return A pointer to filepath if a target is found or the default if not
  */
 char *filepath_sfinddef(char **respathv, char *filepath, const char *filename,
                const char *def);


-----------------------------------------------------------------------

Summary of changes:
 desktop/version.c                      |    6 +++---
 frontends/amiga/pkg/netsurf.readme     |    4 ++--
 frontends/amiga/pkg/netsurf_os3.readme |    4 ++--
 frontends/windows/res/installer.nsi    |    2 +-
 resources/en/credits.html              |   16 ++++++++--------
 resources/en/licence.html              |   10 +++++-----
 resources/it/credits.html              |    2 +-
 resources/it/licence.html              |    6 +++---
 resources/nl/credits.html              |    2 +-
 resources/nl/licence.html              |   12 ++++++------
 utils/filepath.c                       |    2 +-
 utils/filepath.h                       |   14 ++++++++++----
 12 files changed, 43 insertions(+), 37 deletions(-)

diff --git a/desktop/version.c b/desktop/version.c
index bbe759f..387cb1f 100644
--- a/desktop/version.c
+++ b/desktop/version.c
@@ -1,5 +1,5 @@
 /*
- * Copyright 2016 Vincent Sanders <[email protected]>
+ * Copyright 2018 Vincent Sanders <[email protected]>
  *
  * This file is part of NetSurf, http://www.netsurf-browser.org/
  *
@@ -20,11 +20,11 @@
 
 #include "desktop/version.h"
 
-const char * const netsurf_version = "3.8 (Dev"
+const char * const netsurf_version = "3.9 (Dev"
 #if defined(CI_BUILD)
        " CI #" CI_BUILD
 #endif
        ")"
        ;
 const int netsurf_version_major = 3;
-const int netsurf_version_minor = 8;
+const int netsurf_version_minor = 9;
diff --git a/frontends/amiga/pkg/netsurf.readme 
b/frontends/amiga/pkg/netsurf.readme
index 817e074..a24eaf3 100755
--- a/frontends/amiga/pkg/netsurf.readme
+++ b/frontends/amiga/pkg/netsurf.readme
@@ -2,11 +2,11 @@ Short:        Fast CSS capable web browser
 Uploader:     [email protected] (Chris Young)
 Author:       NetSurf contributors (OS4 port by Chris Young)
 Type:         comm/www
-Version:      3.8
+Version:      3.9
 Requires:     dev/misc/guigfxlib.lha
 Architecture: ppc-amigaos >= 4.0.0
 
-This is NetSurf 3.8 for AmigaOS 4 (native frontend).
+This is NetSurf 3.9 for AmigaOS 4 (native frontend).
 For the latest version, visit http://www.netsurf-browser.org
 
     *******************************************
diff --git a/frontends/amiga/pkg/netsurf_os3.readme 
b/frontends/amiga/pkg/netsurf_os3.readme
index 087e586..66774e6 100644
--- a/frontends/amiga/pkg/netsurf_os3.readme
+++ b/frontends/amiga/pkg/netsurf_os3.readme
@@ -2,11 +2,11 @@ Short:        Fast CSS capable web browser
 Uploader:     [email protected] (Chris Young)
 Author:       NetSurf contributors (OS4 port by Chris Young)
 Type:         comm/www
-Version:      3.8 BETA
+Version:      3.9 BETA
 Requires:     dev/misc/guigfxlib.lha
 Architecture: m68k-amigaos >= 3.5.0
 
-This is NetSurf 3.8 BETA for AmigaOS 3.
+This is NetSurf 3.9 BETA for AmigaOS 3.
 It is built off of the OS4 (Reaction) frontend.
 
 Requirements are AmigaOS 3.5 or 3.9, 32MB RAM.
diff --git a/frontends/windows/res/installer.nsi 
b/frontends/windows/res/installer.nsi
index 17afee2..5d2e600 100644
--- a/frontends/windows/res/installer.nsi
+++ b/frontends/windows/res/installer.nsi
@@ -13,7 +13,7 @@
   !define VERSIONMAJOR 3
 !endif
 !ifndef VERSIONMINOR
-  !define VERSIONMINOR 7
+  !define VERSIONMINOR 8
 !endif
 !ifndef VERSIONBUILD
   !define VERSIONBUILD 0
diff --git a/resources/en/credits.html b/resources/en/credits.html
index 7789bcd..34f061a 100644
--- a/resources/en/credits.html
+++ b/resources/en/credits.html
@@ -24,40 +24,40 @@ div#DevList ul {
 
 <h2>Code</h2>
 <ul>
-<li>Kevin Bagust</li>
 <li>John-Mark Bell</li>
+<li>Michael Drake</li>
+<li>Rob Kendrick</li>
+<li>Fran�ois Revol</li>
+<li>Vincent Sanders</li>
+<li>Daniel Silverstone</li>
+<li>Chris Young</li>
+<li>Kevin Bagust</li>
 <li>Mark Benjamin</li>
 <li>Adam Blokus</li>
 <li>Pawe&#x0142 Blokus</li>
 <li>James Bursa</li>
 <li>Stefaan Claes</li>
 <li>Calin Dobos</li>
-<li>Michael Drake</li>
 <li>Sean Fox</li>
 <li>Stephen Fryatt</li>
 <li>Rik Griffin</li>
 <li>Matthew Hambley</li>
 <li>Rob Jackson</li>
-<li>Rob Kendrick</li>
 <li>Jeffrey Lee</li>
 <li>Adrian Lees</li>
 <li>Michael Lester</li>
 <li>Ole Loots</li>
 <li>Phil Mellor</li>
 <li>Philip Pemberton</li>
-<li>Fran�ois Revol</li>
 <li>Darren Salt</li>
-<li>Vincent Sanders</li>
 <li>James Shaw</li>
 <li>Andrew Sidwell</li>
-<li>Daniel Silverstone</li>
 <li>Andrew Timmins</li>
 <li>John Tytgat</li>
 <li>Sven Weidauer</li>
 <li>Chris Williams</li>
 <li>Richard Wilson</li>
 <li>Bo Yang</li>
-<li>Chris Young</li>
 </ul>
 
 <h2>Documentation</h2>
@@ -92,7 +92,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/en/licence.html b/resources/en/licence.html
index 515757c..2e5850f 100644
--- a/resources/en/licence.html
+++ b/resources/en/licence.html
@@ -60,25 +60,25 @@ version.</p>
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 The NetSurf Developers</span>
+<span>&copy; 2002&ndash;2018 The NetSurf Developers</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/hubbub/";>Hubbub</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libparserutils/";>LibParserUtils</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1865,7 +1865,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/it/credits.html b/resources/it/credits.html
index cec1912..982b347 100644
--- a/resources/it/credits.html
+++ b/resources/it/credits.html
@@ -91,7 +91,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p><br>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p><br>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/it/licence.html b/resources/it/licence.html
index 8b9c489..087a57a 100644
--- a/resources/it/licence.html
+++ b/resources/it/licence.html
@@ -52,13 +52,13 @@ dl.components > dd > span + span {
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 The NetSurf Developers</span>
+<span>&copy; 2002&ndash;2018 The NetSurf Developers</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1853,7 +1853,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Copyright 2003&ndash;2017 The NetSurf Developers</p>
+<p>Copyright 2003&ndash;2018 The NetSurf Developers</p>
 </div>
 
 </body>
diff --git a/resources/nl/credits.html b/resources/nl/credits.html
index f9e0932..bd722c3 100644
--- a/resources/nl/credits.html
+++ b/resources/nl/credits.html
@@ -96,7 +96,7 @@ div#DevList ul {
 </div>
 
 <div class="footer">
-<p>Auteursrecht 2003&ndash;2017 De NetSurf-ontwikkelaars</p>
+<p>Auteursrecht 2003&ndash;2018 De NetSurf-ontwikkelaars</p>
 </div>
 
 </body>
diff --git a/resources/nl/licence.html b/resources/nl/licence.html
index 89ce856..849ca95 100644
--- a/resources/nl/licence.html
+++ b/resources/nl/licence.html
@@ -63,25 +63,25 @@ dan verwijder deze uitzonderingverklaring uit uw eigen  
versie.</p>
 <dl class="components">
 <dt><a href="http://www.netsurf-browser.org/";>NetSurf</a></dt>
 <dd>
-<span>&copy; 2002&ndash;2017 De NetSurf-ontwikkerlaars</span>
+<span>&copy; 2002&ndash;2018 De NetSurf-ontwikkerlaars</span>
 <span><a href="#gplv2">GPLv2</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/libcss/";>LibCSS</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a href="http://www.netsurf-browser.org/projects/hubbub/";>Hubbub</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell<br>&copy; 2008&ndash;2009 Andrew 
Sidwell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libparserutils/";>LibParserUtils</a></dt>
 <dd>
-<span>&copy; 2007&ndash;2017 John-Mark Bell</span>
+<span>&copy; 2007&ndash;2018 John-Mark Bell</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -105,7 +105,7 @@ dan verwijder deze uitzonderingverklaring uit uw eigen  
versie.</p>
 
 <dt><a 
href="http://www.netsurf-browser.org/projects/libsvgtiny";>Libsvgtiny</a></dt>
 <dd>
-<span>&copy; 2008&ndash;2009 James Bursa<br>&copy; 2016 Michael Drake</span>
+<span>&copy; 2008&ndash;2009 James Bursa<br>&copy; 2016&ndash;2018 Michael 
Drake</span>
 <span><a href="#mit">MIT</a></span>
 </dd>
 
@@ -1872,7 +1872,7 @@ PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR 
MODIFICATIONS.
 </div>
 
 <div class="footer">
-<p>Auteursrecht 2003&ndash;2017 De NetSurf-ontwikkelaars</p>
+<p>Auteursrecht 2003&ndash;2018 De NetSurf-ontwikkelaars</p>
 </div>
 
 </body>
diff --git a/utils/filepath.c b/utils/filepath.c
index ee5f107..9c1e766 100644
--- a/utils/filepath.c
+++ b/utils/filepath.c
@@ -165,7 +165,7 @@ filepath_sfinddef(char **respathv,
                        snprintf(t, PATH_MAX, "%s/%s", def, filename);
                }               
                if (realpath(t, ret) == NULL) {
-                       strcpy(ret, t);
+                       strncpy(ret, t, PATH_MAX);
                }
 
        }
diff --git a/utils/filepath.h b/utils/filepath.h
index ad077e2..784264b 100644
--- a/utils/filepath.h
+++ b/utils/filepath.h
@@ -69,10 +69,10 @@ char *filepath_findfile(const char *format, ...);
  * normalised file name of the first acessible file or NULL if no file
  * can be found in any of the resource paths.
  *
- * @param respathv The resource path vector to iterate.
- * @param filepath The buffer to place the result in.
- * @param filename The filename of the resource to search for.
- * @return A pointer to filepath if a target is found or NULL if not.
+ * \param respathv The resource path vector to iterate.
+ * \param filepath The buffer to place the result in.
+ * \param filename The filename of the resource to search for.
+ * \return A pointer to filepath if a target is found or NULL if not.
  */
 char *filepath_sfind(char **respathv, char *filepath, const char *filename);
 
@@ -93,6 +93,12 @@ char *filepath_find(char **respathv, const char *filename);
  * is used as an additional path element to search, if that still
  * fails the returned path is set to the concatination of the default
  * path and the filename.
+ *
+ * \param respathv The resource path vector to iterate.
+ * \param filepath The buffer to place the result in. Must have space for 
PATH_MAX bytes.
+ * \param filename The filename of the resource to search for.
+ * \param def The default path to use
+ * \return A pointer to filepath if a target is found or the default if not
  */
 char *filepath_sfinddef(char **respathv, char *filepath, const char *filename,
                const char *def);


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to