Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
msc
sextractor
Commits
0bd3938b
Commit
0bd3938b
authored
Sep 07, 2022
by
Emmanuel Bertin
Browse files
Fixed buffer overflow issue.
parent
91bcc4c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/src/conf.py
View file @
0bd3938b
...
...
@@ -81,7 +81,7 @@ language = None
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
#
today
=
'
Tue
Sep 0
6
2022'
today
=
'
Wed
Sep 0
7
2022'
#
# Else, today_fmt is used as the format for a strftime call.
#
...
...
src/header.c
View file @
0bd3938b
...
...
@@ -22,7 +22,7 @@
* You should have received a copy of the GNU General Public License
* along with SExtractor. If not, see <http://www.gnu.org/licenses/>.
*
* Last modified:
12/07
/20
1
2
* Last modified:
07/09
/20
2
2
*
*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
...
...
@@ -49,7 +49,7 @@ INPUT Name of the ASCII file,
OUTPUT RETURN_OK if the file was found, RETURN_ERROR otherwise.
NOTES -.
AUTHOR E. Bertin (IAP)
VERSION
12/07
/20
1
2
VERSION
07/09
/20
2
2
***/
int
read_aschead
(
char
*
filename
,
int
frameno
,
tabstruct
*
tab
)
{
...
...
@@ -63,7 +63,7 @@ int read_aschead(char *filename, int frameno, tabstruct *tab)
{
/*- Skip previous ENDs in multi-FITS extension headers */
for
(
i
=
frameno
-
1
;
i
--
;)
while
(
fgets
(
str
,
MAXCHAR
,
file
)
while
(
fgets
(
str
,
88
,
file
)
&&
strncmp
(
str
,
"END "
,
4
)
&&
strncmp
(
str
,
"END
\n
"
,
4
));
memset
(
str
,
' '
,
80
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment