summaryrefslogtreecommitdiff
path: root/pcr/htmldoc/fortify-fail.patch
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-05 17:53:25 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-07-05 17:53:25 -0500
commitb34f808022ae31c05f4f45d2e432307c5159b24d (patch)
treeb3ac408cfc78fbf9645fe84dff8e2ae6458584f4 /pcr/htmldoc/fortify-fail.patch
parent6006ac3da10bcff2a9d951cfcef97aa765befad2 (diff)
downloadabslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.tar.gz
abslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.tar.bz2
abslibre-b34f808022ae31c05f4f45d2e432307c5159b24d.zip
htmldoc-1.8.28-1: updating version
Diffstat (limited to 'pcr/htmldoc/fortify-fail.patch')
-rw-r--r--pcr/htmldoc/fortify-fail.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/pcr/htmldoc/fortify-fail.patch b/pcr/htmldoc/fortify-fail.patch
deleted file mode 100644
index 32ec88735..000000000
--- a/pcr/htmldoc/fortify-fail.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur htmldoc-1.8.27~/htmldoc/ps-pdf.cxx htmldoc-1.8.27/htmldoc/ps-pdf.cxx
---- htmldoc-1.8.27~/htmldoc/ps-pdf.cxx 2009-08-13 19:32:21.846860508 -0400
-+++ htmldoc-1.8.27/htmldoc/ps-pdf.cxx 2009-08-13 19:40:29.185857503 -0400
-@@ -8619,7 +8619,7 @@
- return (NULL);
- }
- // Safe because buffer is allocated...
-- strcpy((char *)r->data.text.buffer, (char *)data);
-+ memcpy((char *)r->data.text.buffer, (char *)data, strlen((char *)data));
- get_color(_htmlTextColor, r->data.text.rgb);
- break;
- case RENDER_IMAGE :
-@@ -8640,7 +8640,7 @@
- return (NULL);
- }
- // Safe because buffer is allocated...
-- strcpy((char *)r->data.link, (char *)data);
-+ memcpy((char *)r->data.link, (char *)data, strlen((char *)data));
- break;
- }
-