Re: strncpy is not a safe version of strcpy

From: Noah Misch <noah(at)leadboat(dot)com>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Kevin Grittner <kgrittn(at)ymail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Tomas Vondra <tv(at)fuzzy(dot)cz>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: strncpy is not a safe version of strcpy
Date: 2014-08-19 03:15:06
Message-ID: 20140819031506.GA489003@tornado.leadboat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 15, 2014 at 11:26:55PM -0400, Noah Misch wrote:
> Barring objections, I will commit your latest patch with some comments about
> why truncation is harmless for those two particular calls.

Done.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2014-08-19 03:16:47 Re: [PATCH] Incremental backup: add backup profile to base backup
Previous Message Brightwell, Adam 2014-08-19 02:19:09 Re: RLS Design