diff options
Diffstat (limited to 'repos/clang/firefox/atoi.patch')
| -rw-r--r-- | repos/clang/firefox/atoi.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/repos/clang/firefox/atoi.patch b/repos/clang/firefox/atoi.patch new file mode 100644 index 00000000..4a309e04 --- /dev/null +++ b/repos/clang/firefox/atoi.patch @@ -0,0 +1,13 @@ +https://crash-stats.mozilla.org/report/index/349c6eca-d2d3-49ed-ab1c-184cf0240815 +-- +--- a/netwerk/protocol/http/nsHttpResponseHead.cpp ++++ b/netwerk/protocol/http/nsHttpResponseHead.cpp +@@ -851,7 +851,7 @@ + const char* val = mHeaders.PeekHeader(nsHttp::Age); + if (!val) return NS_ERROR_NOT_AVAILABLE; + +- *result = (uint32_t)atoi(val); ++ *result = (uint32_t)strtol(val, NULL, 10); + return NS_OK; + } + |