]> git.pld-linux.org Git - packages/netpbm.git/blob - netpbm-format.patch
- updated to 10.73.34
[packages/netpbm.git] / netpbm-format.patch
1 --- netpbm-10.73.34/converter/ppm/ximtoppm.c.orig       2020-06-27 19:03:16.000000000 +0200
2 +++ netpbm-10.73.34/converter/ppm/ximtoppm.c    2021-01-19 20:53:46.388484792 +0100
3 @@ -116,9 +116,9 @@
4  */
5      header->bits_channel = atoi(a_head.bits_per_channel);
6      header->alpha_flag = atoi(a_head.alpha_channel);
7 -    pm_asprintf(&header->author,  a_head.author);
8 -    pm_asprintf(&header->date,    a_head.date);
9 -    pm_asprintf(&header->program, a_head.program);
10 +    pm_asprintf(&header->author,  "%s", a_head.author);
11 +    pm_asprintf(&header->date,    "%s", a_head.date);
12 +    pm_asprintf(&header->program, "%s", a_head.program);
13      /* Do double checking for bakwards compatibility */
14      if (header->npics == 0)
15          header->npics = 1;
This page took 0.023129 seconds and 3 git commands to generate.