/[pkgs]/devel/Canna/Canna-3.6-wconv.patch
ViewVC logotype

Contents of /devel/Canna/Canna-3.6-wconv.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Sep 26 09:29:14 2005 UTC (4 years, 1 month ago) by tagoh
Branch: MAIN
CVS Tags: F-12-split, Canna-3_7p3-16_fc5, Canna-3_7p3-16_fc6, Canna-3_7p3-16_fc7, F-7-split, Canna-3_7p3-21_fc8, Canna-3_7p3-20_fc8, Canna-3_7p3-14_fc5, Canna-3_7p3-19_fc8, FC-5-split, Canna-3_7p3-26_fc11, Canna-3_7p3-18_fc7, Canna-3_7p3-13, F-10-split, Canna-3_7p3-27_fc11, F-11-split, Canna-3_7p3-17_fc7, Canna-3_7p3-28_fc12, F-9-split, FC-6-split, Canna-3_7p3-15_fc5, F-8-split, Canna-3_7p3-23_fc9, Canna-3_7p3-25_fc10, Canna-3_7p3-24_fc9, Canna-3_7p3-22_fc9, HEAD
File MIME type: text/x-patch
auto-import Canna-3.7p3-13 on branch devel from Canna-3.7p3-13.src.rpm
1 --- Canna36/server/wconvert.c.orig 2002-11-01 17:21:49.000000000 +0900
2 +++ Canna36/server/wconvert.c 2002-11-01 17:23:25.000000000 +0900
3 @@ -2096,12 +2096,12 @@
4 char *buf = (char *)0;
5
6 if (validcontext(cxnum, client, wThrough)) {
7 - buf = malloc((int)Request.type20.bufsize);
8 + content_size = Request.type20.datalen - (SIZEOFINT * 2 + SIZEOFSHORT);
9 + buf = malloc(content_size);
10 if (buf) {
11 - content_size = Request.type20.datalen - (SIZEOFINT * 2 + SIZEOFSHORT);
12 bcopy(Request.type20.buf, buf, content_size);
13 stat = size = RkThrough(cxnum, Request.type20.command,
14 - buf, content_size, (int)Request.type20.bufsize);
15 + buf, content_size, content_size);
16 }
17 }
18 retval = SendType6Reply(client, wThrough, EXTPROTO, stat, buf, size);

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2