Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcae8b90

Browse files
committed
From: "Kurt J. Lidl" <lidl@va.pubnix.com>
To: pg95-dev@ki.netSubject: [PG95-DEV] array overrun in postmaster.c
1 parentde635e1 commitcae8b90

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
*
1111
*
1212
* IDENTIFICATION
13-
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.3.2.1 1996/08/26 20:35:29 scrappy Exp $
13+
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.3.2.2 1996/10/02 21:36:32 scrappy Exp $
1414
*
1515
* NOTES
1616
*
@@ -1004,7 +1004,7 @@ DoExec(StartupInfo *packet, int portFd)
10041004
(void)strncpy(argbuf,packet->options,ARGV_SIZE);
10051005
argbuf[ARGV_SIZE]='\0';
10061006
(void)strncat(argbuf,ExtraOptions,ARGV_SIZE);
1007-
argbuf[(2*ARGV_SIZE)+1]='\0';
1007+
argbuf[(2*ARGV_SIZE)]='\0';
10081008
split_opts(av,&ac,argbuf);
10091009

10101010
if (packet->database[0])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp