conv.c-7.0.3.patch

text/plain

Filename: conv.c-7.0.3.patch
Type: text/plain
Part: 0
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-7.0.3/src/backend/utils/mb/conv.c.orig	Sat May 20 22:12:26 2000
--- postgresql-7.0.3/src/backend/utils/mb/conv.c	Wed May  1 20:41:45 2002
***************
*** 1162,1169 ****
  		else
  		{						/* should be ASCII */
  			*p++ = c1;
  		}
- 		mic++;
  	}
  	*p = '\0';
  }
--- 1162,1169 ----
  		else
  		{						/* should be ASCII */
  			*p++ = c1;
+ 			mic++;
  		}
  	}
  	*p = '\0';
  }