Ticket #65 (closed defect: fixed)

Opened 1 year ago

Last modified 6 months ago

scanf overflows the C buffer in PyRAF before it overflows in the cl

Reported by: rij Assigned to: rij
Priority: normal Milestone: PyRAF 1.5 stsci_python 2.6
Component: none Version:
Severity: normal Keywords:
Cc:

Description

The PyRAF sscanf function (in sscanfmodule.c) has a field width buffer size parameter:

/*
 * Size of copy buffer for conversions with a specified field width.
 */
#define FWBUFSIZE       512

In the cl, this seems to be set to SZ_LINE, which is 1023. We should make them consistent.

To go into stsci_python 2.6 (fall 2007)

Change History

07/20/07 20:38:25 changed by rij

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r798

12/11/07 11:46:14 changed by rij

  • milestone changed from none to stsci_python 2.6 release.

02/28/08 09:03:05 changed by sontag

  • milestone changed from stsci_python 2.6 release to PyRAF 1.5 stsci_python 2.6.

Milestone stsci_python 2.6 release deleted