2010-11-18 13:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)

* contrib/hbtip/sendmail.prg
    ! Fixed to not add 'Bcc:' entry to e-mail headers, since this will
      reveal all the supposedly secret addresses to all addressees.
      It's interesting how such huge bug can persist for so long
      time without anyone noticing.
      Please test and correct if needed.

  * contrib/sddpg/sddpg.c
    + Recognizing OIDOID column type. Patch from Aleksander Czajczynski.

  * contrib/hbpgsql/postgres.c
    % Minor opt.
This commit is contained in:
Viktor Szakats
2010-11-18 12:32:18 +00:00
parent ad6023bf2b
commit 4fe593fd00
4 changed files with 17 additions and 5 deletions

View File

@@ -16,6 +16,20 @@
The license applies to all entries newer than 2009-04-28.
*/
2010-11-18 13:31 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
! Fixed to not add 'Bcc:' entry to e-mail headers, since this will
reveal all the supposedly secret addresses to all addressees.
It's interesting how such huge bug can persist for so long
time without anyone noticing.
Please test and correct if needed.
* contrib/sddpg/sddpg.c
+ Recognizing OIDOID column type. Patch from Aleksander Czajczynski.
* contrib/hbpgsql/postgres.c
% Minor opt.
2010-11-18 12:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu)
* contrib/hbtip/sendmail.prg
* contrib/hbtip/mail.prg

View File

@@ -685,11 +685,8 @@ HB_FUNC( PQMETADATA )
hb_strncpy( buf, "integer", sizeof( buf ) - 1 );
break;
case OIDOID:
hb_strncpy( buf, "bigint", sizeof( buf ) - 1 );
break;
case INT8OID:
case OIDOID:
hb_strncpy( buf, "bigint", sizeof( buf ) - 1 );
break;

View File

@@ -263,7 +263,7 @@ FUNCTION hb_SendMail( cServer, nPort, cFrom, xTo, xCC, xBCC, cBody, cSubject, ;
oMail := tipMail():new()
oMail:SetEncoder( cEncoding )
oMail:SetCharset( cCharset )
oMail:SetHeader( cSubject, cFrom, xTo, xCC, xBCC )
oMail:SetHeader( cSubject, cFrom, xTo, xCC )
oMail:hHeaders[ "Date" ] := tip_Timestamp()
IF ! Empty( cReplyTo )
oMail:hHeaders[ "Reply-to" ] := cReplyTo

View File

@@ -312,6 +312,7 @@ static HB_ERRCODE pgsqlOpen( SQLBASEAREAP pArea )
break;
case INT8OID:
case OIDOID:
pFieldInfo.uiType = HB_FT_LONG;
pFieldInfo.uiLen = 20;
break;