Gitweb links:

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

The branch, master has been updated
       via  f3b8e297d3af3817f83011b64cf2a389059115f3 (commit)
      from  35ab0a4e9406f9eeb29ca261680d911c423e4f90 (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/libcss.git/commit/?id=f3b8e297d3af3817f83011b64cf2a389059115f3
commit f3b8e297d3af3817f83011b64cf2a389059115f3
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>

    resolve use of uninitialised pointer in media query initialisation

diff --git a/src/parse/mq.c b/src/parse/mq.c
index fb32b38..a8a5411 100644
--- a/src/parse/mq.c
+++ b/src/parse/mq.c
@@ -745,6 +745,9 @@ static css_error mq_parse_media_in_parens(lwc_string 
**strings,
 
        *ctx = old_ctx;
        error = mq_parse_general_enclosed(strings, vector, ctx);
+       if (error == CSS_OK) {
+               *cond_or_feature = NULL;
+       }
 
        return error;
 }


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

Summary of changes:
 src/parse/mq.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/parse/mq.c b/src/parse/mq.c
index fb32b38..a8a5411 100644
--- a/src/parse/mq.c
+++ b/src/parse/mq.c
@@ -745,6 +745,9 @@ static css_error mq_parse_media_in_parens(lwc_string 
**strings,
 
        *ctx = old_ctx;
        error = mq_parse_general_enclosed(strings, vector, ctx);
+       if (error == CSS_OK) {
+               *cond_or_feature = NULL;
+       }
 
        return error;
 }


-- 
Cascading Style Sheets library

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

Reply via email to