Log of Changes Made to CFITSIO
Version 3.45 - May 2018
- New support for reading and writing unsigned long long datatypes.
This includes 'implicit datatype conversion' between the unsigned long
long datatype and all the other datatypes.
- Increased the hardcoded NMAXFILES setting for maximum number of
open files from 1000 to 10000.
- Bug fix to fits_calc_binning wrapper function, which wasn't filling
in the returned float variables.
- Fixed a parsing bug for image subsection and column binning range
specifiers that was introduced in v3.44.
Version 3.44 - April 2018
- This release primarily patches security vulnerabilities. We
strongly encourage this upgrade, particularly for those running
CFITSIO in web accessible applications.
In addition, the following enhancements and fixes were made:
- Enhancement to 'template' and 'colfilter' functionality. It is now
possible to delete multiple keywords using wildcard syntax. See
"Column and Keyword Filtering Specification" section of manual for
details.
- histo.c uses double precision internally for all floating point
binning; new double-precision subroutines fits_calc_binningd(),
fits_rebin_wcsd(), and fits_make_histd(); existing
single-precision histogram functions still work but convert values
to double-precision internally.
- new subroutine fits_copy_cols() / ffccls() to copy multiple columns
- Fix in imcompress.c for HCOMPRESS and PLIO compression of unsigned
short integers.
- Fix to fits_insert_card(ffikey). It had wrongly been capitalizing
letters that appeared before an '=' sign on a CONTINUE line.
Version 3.43 - March 2018
The NASA security team requires the following warning to all users of
CFITSIO:
=====
The CFITSIO open source software project contains vulnerabilities
that could allow a remote, unauthenticated attacker to take control
of a server running the CFITSIO software. These vulnerabilities
affect all servers and products running the CFITSIO software.
The CFITSIO team has released software updates to address these
vulnerabilities. There are no workarounds to address these
vulnerabilities. In all cases, the CFITSIO team is recommending an
immediate update to resolve the issues.
=====
- Fixed security vulnerabilities.
- Calls to https driver functions in cfileio.c need to be macro-
protected by the HAVE_NET_SERVICES variable (as are the http and
ftp driver function calls). Otherwise CMake builds on native
Windows will fail since drvrnet.o is left empty.
- Bug fix to ffmvec function. Should be resetting a local colptr
variable after making a call to ffiblk (which can reallocate Ftpr->
tableptr). Originally reported by Willem van Straten.
- Ignore any attempted request to not quantize an image before
compressing it if the image has integer datatype pixels.
- Improved error message construction throughout CFITSIO.
Version 3.42 - August 2017 (Stand-alone release)
- added https support to the collection of drivers handled in cfileio.c
and drvrnet.c. This also handles the case where http transfers are
rerouted to https. Note that this enhancement introduces a dependency
on the libcurl development package. If this package is absent, CFITSIO
will still build but will not have https capability.
- made fix to imcomp_init_table function in imcompress.c. It now writes
ZSIMPLE keyword only to a compressed image that will be placed in the
primary header.
- fix made to fits_get_col_display_width for case of a vector column
of strings.
Version 3.42 - March 2017 (Ftools release only)
- in ftp_open_network and in ftp_file_exist, added code to repeatedly
attempt to make a ftp connection if the ftp server does not respond
to the first request. (some ftp servers don't appear to be 100% reliable).
- in drvrnet.c added many calls to 'fclose' to close unneeded files,
to avoid exceeding the maximum allowed number of files that can be
open at once.
- made substantial changes to the ftp_checkfile and http_checkfile routines
to streamline the process of checking for the existence of a .gz or .Z
compressed version of the file before opening the uncompressed file
(when using http or ftp to open the file).
- modified the code in ftp_open_network to send "\r\n" as end-of-line
characters instead of just "\n". Some ftp servers (in particular,
at heasarc.gsfc.nasa.gov) now require both characters, otherwise the
network connection simply hangs.
- modified the http_open_network routine to handle HTTP 301 or 302 redirects
to a FTP url. This is needed to support the new configuration on
the heasarc HTTP server which sometimes redirects http URLS to a ftp URL.
Version 3.41 - November 2016
- The change made in version 3.40 to include strings.h caused problems on
Windows (and other) platforms, so this change was backed out. The reason
for including it was to define the strcasecmp and strcasencmp functions, so
as an alternative, new equivalent functions called fits_strcasecmp and
fits_strncasecmp have been added to CFITSIO.as a substitute. All the
previous calls to the str[n]casecmp functions have been changed to
now call fits_str[n]casecmp. In addition, the previously defined
ngp_strcasecmp function (in grparser.c) has been removed and the calls to
it have been changed to fits_strcasecmp.
- The speed.c utility program was changed to correctly call
the gettimeofday function with a NULL second arguement.
Version 3.40 - October 2016
- fixed a bug when writing long string keywords with the CONTINUE convention
which caused the CONTINUE'd strings to only be 16 characters long, instead
of using up all the available space in the 80-character header record.
- fixed a missing 'defined' keyword in fitsio.h.
- replaced all calls to strtok (which is not threadsafe) with a new ffstrtok
function which internally calls the threadsafe strtok_r function. One
byproduct of this change is that <strings.h> must also be included
in several of the C source code files.
- modified the ffphbn function in putkey.c to support TFORM specifiers that
use lowercase 'p' (instead of uppercase) when referring to a variable-length
array column.
- modified the lexical parser in eval.y and eval_y.c to support bit array
columns (with TFORMn = 'X') with greater than 256 elements. Fix to bitcmp
function: The internal 'stream' array is now
allocated dynamically rather than statically fixed at size 256.
This was failing when users attempted a row filtering of a bitcol
that was wider than 256X. In bitlgte, bitand, and bitor functions, replaced
static stream[256] array allocation with dynamic allocation.
- modified the ffiter function in putcol.c to fix a problem which could
cause the iterator function to incorrectly deal with null values. This
only affected TLONG type columns in cases where sizeof(long) = 8, as well
as for TLONGLONG type columns.
- Fix made to uncompress2mem function in zcomprss.c for case where output
uncompressed file expands to over the 2^32 (4Gb) limit. It now
checks for this case at the start, and implements a 4Gb paging
system through the output buffer. The problem was specifically
caused by the d_stream.avail_out member being of 4-byte type uInt,
and thus unable to handle any memory position values above 4Gb.
- fixed a bug in fpackutil.c when using the -i2f (integer to float) option
in fpack to c
没有合适的资源?快使用搜索试试~ 我知道了~
天文学核心工具库Astropy.zip
共1832个文件
py:782个
c:356个
rst:229个
需积分: 32 17 下载量 14 浏览量
2019-07-17
17:18:58
上传
评论
收藏 8.07MB ZIP 举报
温馨提示
Astropy 是一个 Python 工具包,它提供了大量核心的功能和用于天文学和天体物理学的常用工具。想要安装此工具,请查看线上文档或者源代码中的 docs/install.rst。 标签:Astropy
资源推荐
资源详情
资源评论
收起资源包目录
天文学核心工具库Astropy.zip (1832个子文件)
2MASS_k_header 1KB
eopc04_IAU2000.62-now 3.04MB
configure.ac 16KB
Makefile.am 2KB
.astropy-root 0B
AUTHORS 142B
make.bat 4KB
wininst_background.bmp 155KB
ipac.dat.bz2 385B
short.rdb.bz2 146B
local.dat.bz2 96B
unicode.txt.bz2 89B
wcsbth.c 1.25MB
wcspih.c 1.02MB
fitshdr.c 529KB
wcsulex.c 392KB
imcompress.c 365KB
fitscore.c 310KB
eval_y.c 270KB
cfileio.c 245KB
wcsutrn.c 236KB
xmlparse.c 235KB
prj.c 187KB
group.c 181KB
epv00.c 147KB
getcoluj.c 145KB
getcolj.c 145KB
xy06.c 129KB
getkey.c 122KB
quantize.c 116KB
nut00a.c 116KB
putkey.c 112KB
wcs.c 108KB
drvrnet.c 98KB
eval_f.c 96KB
dis.c 92KB
editcol.c 91KB
wcslib_wrap.c 90KB
histo.c 85KB
getcolb.c 77KB
getcolsb.c 76KB
getcoluk.c 74KB
getcolui.c 74KB
getcoli.c 73KB
getcolk.c 73KB
putcolj.c 70KB
putcoluj.c 68KB
getcole.c 67KB
getcold.c 67KB
wcshdr.c 67KB
deflate.c 66KB
eval_l.c 66KB
putcol.c 66KB
modkey.c 66KB
fits_hdecompress.c 62KB
dtdb.c 61KB
iraffits.c 56KB
region.c 55KB
buffers.c 52KB
inflate.c 51KB
xmltok.c 46KB
fits_hcompress.c 46KB
xmltok_impl.c 45KB
grparser.c 45KB
compressionmodule.c 45KB
trees.c 44KB
tab.c 42KB
getcol.c 41KB
drvrmem.c 39KB
putcole.c 38KB
iterparse.c 38KB
putcold.c 38KB
drvrsmem.c 38KB
putcolb.c 36KB
spc.c 36KB
putcolk.c 36KB
xmlrole.c 35KB
putcoluk.c 35KB
putcolsb.c 35KB
putcoli.c 35KB
wcssub.c 34KB
ricecomp.c 34KB
putcolui.c 34KB
tokenizer.c 33KB
getcols.c 31KB
edithdu.c 31KB
lin.c 30KB
wcsfix.c 30KB
drvrfile.c 28KB
spx.c 26KB
getcoll.c 23KB
astropy_wcs.c 22KB
infback.c 22KB
plan94.c 21KB
putcolu.c 21KB
pyutil.c 20KB
zcompress.c 19KB
nut00b.c 17KB
checksum.c 17KB
convolve.c 17KB
共 1832 条
- 1
- 2
- 3
- 4
- 5
- 6
- 19
资源评论
weixin_39841882
- 粉丝: 443
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功