conv.c-6.5.3.patch

text/plain

Filename: conv.c-6.5.3.patch
Type: text/plain
Part: 1
Message: Re: a vulnerability in PostgreSQL

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: context
File+
src/backend/utils/mb/conv.c 1 1
*** postgresql-6.5.3/src/backend/utils/mb/conv.c.orig	Mon Jul 12 07:47:20 1999
--- postgresql-6.5.3/src/backend/utils/mb/conv.c	Wed May  1 20:39:34 2002
***************
*** 605,612 ****
  		else
  		{						/* should be ASCII */
  			*p++ = c1;
  		}
- 		mic++;
  	}
  	*p = '\0';
  }
--- 605,612 ----
  		else
  		{						/* should be ASCII */
  			*p++ = c1;
+ 			mic++;
  		}
  	}
  	*p = '\0';
  }