forked from pool/htmldoc
beb7f3b2ae
Copy from Publishing/htmldoc based on submit request 32582 from user coolo OBS-URL: https://build.opensuse.org/request/show/32582 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/htmldoc?expand=0&rev=6
12 lines
461 B
Diff
12 lines
461 B
Diff
--- ./htmldoc/ps-pdf.cxx.orig 2010-02-15 11:13:11.000000000 +0100
|
|
+++ ./htmldoc/ps-pdf.cxx 2010-02-15 11:17:02.000000000 +0100
|
|
@@ -8615,7 +8615,7 @@
|
|
return (NULL);
|
|
}
|
|
// Safe because buffer is allocated...
|
|
- strcpy((char *)r->data.text.buffer, (char *)data);
|
|
+ memcpy((char *)r->data.text.buffer, data, strlen ((char *)data) + 1);
|
|
get_color(_htmlTextColor, r->data.text.rgb);
|
|
break;
|
|
case RENDER_IMAGE :
|