debian/0000755000000000000000000000000013401656367007201 5ustar debian/compat0000644000000000000000000000000211751477632010401 0ustar 9 debian/libraw-bin.install0000644000000000000000000000001711751517141012605 0ustar usr/lib/libraw debian/watch0000644000000000000000000000013312016134131010204 0ustar version=3 http://librawredir.debian.net \ http://www.libraw.org/data/LibRaw-(\S+)\.tar\.gz debian/libraw9.install0000644000000000000000000000002311751502661012126 0ustar usr/lib/*/lib*so.* debian/control0000644000000000000000000000366013203362264010577 0ustar Source: libraw Section: libs Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Debian Shotwell Maintainers Uploaders: Devid Antonio Filoni Build-Depends: debhelper (>= 9), autotools-dev, dh-autoreconf, pkg-config, libjasper-dev, liblcms2-dev, libjpeg8-dev | libjpeg-dev Standards-Version: 3.9.4 Homepage: http://www.libraw.org/ Package: libraw9 Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: raw image decoder library LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). . This package contains the shared library. Package: libraw-bin Section: graphics Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: raw image decoder library (tools) LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). . This package contains some tools to manipulate RAW files. Package: libraw-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libraw9 (= ${binary:Version}), liblcms2-dev Multi-Arch: same Description: raw image decoder library (development files) LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). . This package contains the static library and header files. Package: libraw-doc Section: doc Architecture: all Depends: ${misc:Depends} Multi-Arch: foreign Description: raw image decoder library (documentation) LibRaw is a library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others). . This package contains documentation files. debian/libraw9.symbols.amd640000644000000000000000000010237012167333613013073 0ustar libraw.so.9 libraw9 #MINVER# .gomp_critical_user_dataupdate@Base 0.15.1 _ZN16LibRaw_constants7xyz_rgbE@Base 0.15.1 _ZN16LibRaw_constants9d65_whiteE@Base 0.15.1 _ZN18LibRaw_byte_buffer10set_bufferEPvj@Base 0.15.1 _ZN18LibRaw_byte_bufferC1Ej@Base 0.15.1 _ZN18LibRaw_byte_bufferC2Ej@Base 0.15.1 _ZN18LibRaw_byte_bufferD0Ev@Base 0.15.1 _ZN18LibRaw_byte_bufferD1Ev@Base 0.15.1 _ZN18LibRaw_byte_bufferD2Ev@Base 0.15.1 _ZN22LibRaw_file_datastream12subfile_openEPKc@Base 0.15.1 _ZN22LibRaw_file_datastream13subfile_closeEv@Base 0.15.1 _ZN22LibRaw_file_datastream15make_jas_streamEv@Base 0.15.1 _ZN22LibRaw_file_datastream3eofEv@Base 0.15.1 _ZN22LibRaw_file_datastream4getsEPci@Base 0.15.1 _ZN22LibRaw_file_datastream4readEPvmm@Base 0.15.1 _ZN22LibRaw_file_datastream4seekExi@Base 0.15.1 _ZN22LibRaw_file_datastream4sizeEv@Base 0.15.1 _ZN22LibRaw_file_datastream4tellEv@Base 0.15.1 _ZN22LibRaw_file_datastream5fnameEv@Base 0.15.1 _ZN22LibRaw_file_datastream5validEv@Base 0.15.1 _ZN22LibRaw_file_datastream8get_charEv@Base 0.15.1 _ZN22LibRaw_file_datastream8jpeg_srcEPv@Base 0.15.1 _ZN22LibRaw_file_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN22LibRaw_file_datastreamC1EPKc@Base 0.15.1 _ZN22LibRaw_file_datastreamC2EPKc@Base 0.15.1 _ZN22LibRaw_file_datastreamD0Ev@Base 0.15.1 _ZN22LibRaw_file_datastreamD1Ev@Base 0.15.1 _ZN22LibRaw_file_datastreamD2Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastream15make_jas_streamEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream16make_byte_bufferEj@Base 0.15.1 _ZN24LibRaw_buffer_datastream3eofEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream4getsEPci@Base 0.15.1 _ZN24LibRaw_buffer_datastream4readEPvmm@Base 0.15.1 _ZN24LibRaw_buffer_datastream4seekExi@Base 0.15.1 _ZN24LibRaw_buffer_datastream4sizeEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream4tellEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream5validEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream8get_charEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream8jpeg_srcEPv@Base 0.15.1 _ZN24LibRaw_buffer_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN24LibRaw_buffer_datastreamC1EPvm@Base 0.15.1 _ZN24LibRaw_buffer_datastreamC2EPvm@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD0Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD1Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD2Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastream12subfile_openEPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastream13subfile_closeEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream15make_jas_streamEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream3eofEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4getsEPci@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4readEPvmm@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4seekExi@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4sizeEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4tellEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream5fnameEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream5validEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream8get_charEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream8jpeg_srcEPv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamC1EPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamC2EPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD0Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD1Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD2Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastream12subfile_openEPKc@Base 0.15.1 _ZN26LibRaw_abstract_datastream13subfile_closeEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream15tempbuffer_openEPvm@Base 0.15.1 _ZN26LibRaw_abstract_datastream16make_byte_bufferEj@Base 0.15.1 _ZN26LibRaw_abstract_datastream16tempbuffer_closeEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream5fnameEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream8jpeg_srcEPv@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD0Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD1Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD2Ev@Base 0.15.1 _ZN6LibRaw10apply_tiffEv@Base 0.15.1 _ZN6LibRaw10bad_pixelsEPKc@Base 0.15.1 _ZN6LibRaw10cameraListEv@Base 0.15.1 _ZN6LibRaw10canon_s2isEv@Base 0.15.1 _ZN6LibRaw10cfa_linednEf@Base 0.15.1 _ZN6LibRaw10copy_bayerEPtS0_@Base 0.15.1 _ZN6LibRaw10dcb_color2EPA3_f@Base 0.15.1 _ZN6LibRaw10dcb_color3EPA3_f@Base 0.15.1 _ZN6LibRaw10dcb_decideEPA3_fS1_@Base 0.15.1 _ZN6LibRaw10fbdd_greenEv@Base 0.15.1 _ZN6LibRaw10fill_holesEi@Base 0.15.1 _ZN6LibRaw10find_greenEiiii@Base 0.15.1 _ZN6LibRaw10flip_indexEii@Base 0.15.1 _ZN6LibRaw10free_imageEv@Base 0.15.1 _ZN6LibRaw10getbithuffEiPt@Base 0.15.1 _ZN6LibRaw10jpeg_thumbEv@Base 0.15.1 _ZN6LibRaw10lch_to_rgbEPA3_d@Base 0.15.1 _ZN6LibRaw10ljpeg_diffEPt@Base 0.15.1 _ZN6LibRaw10minolta_z2Ev@Base 0.15.1 _ZN6LibRaw10nikon_3700Ev@Base 0.15.1 _ZN6LibRaw10nikon_e995Ev@Base 0.15.1 _ZN6LibRaw10parse_ciffEii@Base 0.15.1 _ZN6LibRaw10parse_cineEv@Base 0.15.1 _ZN6LibRaw10parse_exifEi@Base 0.15.1 _ZN6LibRaw10parse_fujiEi@Base 0.15.1 _ZN6LibRaw10parse_jpegEi@Base 0.15.1 _ZN6LibRaw10parse_riffEv@Base 0.15.1 _ZN6LibRaw10parse_smalEii@Base 0.15.1 _ZN6LibRaw10parse_tiffEi@Base 0.15.1 _ZN6LibRaw10refinementEv@Base 0.15.1 _ZN6LibRaw10rgb_to_lchEPA3_d@Base 0.15.1 _ZN6LibRaw10romm_coeffEPA3_f@Base 0.15.1 _ZN6LibRaw11adobe_coeffEPKcS1_@Base 0.15.1 _ZN6LibRaw11cameraCountEv@Base 0.15.1 _ZN6LibRaw11dcb_nyquistEv@Base 0.15.1 _ZN6LibRaw11foveon_getsEiPci@Base 0.15.1 _ZN6LibRaw11fuji_rotateEv@Base 0.15.1 _ZN6LibRaw11gamma_curveEddii@Base 0.15.1 _ZN6LibRaw11layer_thumbEv@Base 0.15.1 _ZN6LibRaw11ljpeg_startEP5jheadi@Base 0.15.1 _ZN6LibRaw11nikon_e2100Ev@Base 0.15.1 _ZN6LibRaw11open_bufferEPvm@Base 0.15.1 _ZN6LibRaw11ph1_bithuffEiPt@Base 0.15.1 _ZN6LibRaw11ppm16_thumbEv@Base 0.15.1 _ZN6LibRaw11read_shortsEPti@Base 0.15.1 _ZN6LibRaw11strprogressE15LibRaw_progress@Base 0.15.1 _ZN6LibRaw12foveon_thumbEv@Base 0.15.1 _ZN6LibRaw12int_to_floatEi@Base 0.15.1 _ZN6LibRaw12linear_tableEj@Base 0.15.1 _ZN6LibRaw12make_decoderEPKh@Base 0.15.1 _ZN6LibRaw12parse_foveonEv@Base 0.15.1 _ZN6LibRaw12parse_rolleiEv@Base 0.15.1 _ZN6LibRaw12raw2image_exEi@Base 0.15.1 _ZN6LibRaw12rollei_thumbEv@Base 0.15.1 _ZN6LibRaw12scale_colorsEv@Base 0.15.1 _ZN6LibRaw12simple_coeffEi@Base 0.15.1 _ZN6LibRaw12sony_decryptEPjiii@Base 0.15.1 _ZN6LibRaw12unpack_thumbEv@Base 0.15.1 _ZN6LibRaw13CA_correct_RTEff@Base 0.15.1 _ZN6LibRaw13apply_profileEPKcS1_@Base 0.15.1 _ZN6LibRaw13cam_xyz_coeffEPA3_d@Base 0.15.1 _ZN6LibRaw13dcraw_processEv@Base 0.15.1 _ZN6LibRaw13get_timestampEi@Base 0.15.1 _ZN6LibRaw13hat_transformEPfS0_iii@Base 0.15.1 _ZN6LibRaw13ljpeg_row_newEiP5jheadR17LibRaw_bit_bufferP18LibRaw_byte_buffer@Base 0.15.1 _ZN6LibRaw13median_filterEv@Base 0.15.1 _ZN6LibRaw13parse_minoltaEi@Base 0.15.1 _ZN6LibRaw13parse_redcineEv@Base 0.15.1 _ZN6LibRaw13pseudoinverseEPA3_dS1_i@Base 0.15.1 _ZN6LibRaw13remove_zeroesEv@Base 0.15.1 _ZN6LibRaw13sony_load_rawEv@Base 0.15.1 _ZN6LibRaw13versionNumberEv@Base 0.15.1 _ZN6LibRaw14adjust_maximumEv@Base 0.15.1 _ZN6LibRaw14canon_load_rawEv@Base 0.15.1 _ZN6LibRaw14convert_to_rgbEv@Base 0.15.1 _ZN6LibRaw14copy_mem_imageEPvii@Base 0.15.1 _ZN6LibRaw14dcb_color_fullEv@Base 0.15.1 _ZN6LibRaw14dcb_correctionEv@Base 0.15.1 _ZN6LibRaw14dcb_refinementEv@Base 0.15.1 _ZN6LibRaw14green_matchingEv@Base 0.15.1 _ZN6LibRaw14ljpeg_diff_newER17LibRaw_bit_bufferP18LibRaw_byte_bufferPt@Base 0.15.1 _ZN6LibRaw14nikon_load_rawEv@Base 0.15.1 _ZN6LibRaw14nokia_load_rawEv@Base 0.15.1 _ZN6LibRaw14parse_sinar_iaEv@Base 0.15.1 _ZN6LibRaw14parse_tiff_ifdEi@Base 0.15.1 _ZN6LibRaw14subtract_blackEv@Base 0.15.1 _ZN6LibRaw14write_ppm_tiffEv@Base 0.15.1 _ZN6LibRaw15ahd_interpolateEv@Base 0.15.1 _ZN6LibRaw15canon_600_coeffEv@Base 0.15.1 _ZN6LibRaw15canon_600_colorEPii@Base 0.15.1 _ZN6LibRaw15ciff_block_1030Ev@Base 0.15.1 _ZN6LibRaw15crw_init_tablesEjPPt@Base 0.15.1 _ZN6LibRaw15dcb_correction2Ev@Base 0.15.1 _ZN6LibRaw15dcraw_clear_memEP24libraw_processed_image_t@Base 0.15.1 _ZN6LibRaw15fbdd_correctionEv@Base 0.15.1 _ZN6LibRaw15lin_interpolateEv@Base 0.15.1 _ZN6LibRaw15open_datastreamEP26LibRaw_abstract_datastream@Base 0.15.1 _ZN6LibRaw15packed_load_rawEv@Base 0.15.1 _ZN6LibRaw15parse_kodak_ifdEi@Base 0.15.1 _ZN6LibRaw15parse_makernoteEii@Base 0.15.1 _ZN6LibRaw15parse_phase_oneEi@Base 0.15.1 _ZN6LibRaw15pentax_load_rawEv@Base 0.15.1 _ZN6LibRaw15ppg_interpolateEv@Base 0.15.1 _ZN6LibRaw15pre_interpolateEv@Base 0.15.1 _ZN6LibRaw15raw2image_startEv@Base 0.15.1 _ZN6LibRaw15rollei_load_rawEv@Base 0.15.1 _ZN6LibRaw15vcd_interpolateEi@Base 0.15.1 _ZN6LibRaw15vng_interpolateEv@Base 0.15.1 _ZN6LibRaw15wavelet_denoiseEv@Base 0.15.1 _ZN6LibRaw16blend_highlightsEv@Base 0.15.1 _ZN6LibRaw16es_median_filterEv@Base 0.15.1 _ZN6LibRaw16fbdd_correction2EPA3_d@Base 0.15.1 _ZN6LibRaw16get_decoder_infoEP21libraw_decoder_info_t@Base 0.15.1 _ZN6LibRaw16guess_byte_orderEi@Base 0.15.1 _ZN6LibRaw16make_decoder_refEPPKh@Base 0.15.1 _ZN6LibRaw16olympus_load_rawEv@Base 0.15.1 _ZN6LibRaw16parse_thumb_noteEijj@Base 0.15.1 _ZN6LibRaw16redcine_load_rawEv@Base 0.15.1 _ZN6LibRaw16smal_v6_load_rawEv@Base 0.15.1 _ZN6LibRaw16smal_v9_load_rawEv@Base 0.15.1 _ZN6LibRaw16wf_filter_energyEiiii@Base 0.15.1 _ZN6LibRaw17amaze_demosaic_RTEv@Base 0.15.1 _ZN6LibRaw17canon_600_auto_wbEv@Base 0.15.1 _ZN6LibRaw17canon_600_correctEv@Base 0.15.1 _ZN6LibRaw17canon_has_lowbitsEv@Base 0.15.1 _ZN6LibRaw17cfa_impulse_gaussEff@Base 0.15.1 _ZN6LibRaw17green_equilibrateEf@Base 0.15.1 _ZN6LibRaw17jpeg_thumb_writerEP8_IO_FILEPci@Base 0.15.1 _ZN6LibRaw17leaf_hdr_load_rawEv@Base 0.15.1 _ZN6LibRaw17lmmse_interpolateEi@Base 0.15.1 _ZN6LibRaw17median_filter_newEv@Base 0.15.1 _ZN6LibRaw17phase_one_correctEv@Base 0.15.1 _ZN6LibRaw17scale_colors_loopEPf@Base 0.15.1 _ZN6LibRaw17sony_arw_load_rawEv@Base 0.15.1 _ZN6LibRaw17unpacked_load_rawEv@Base 0.15.1 _ZN6LibRaw17wf_remove_bandingEv@Base 0.15.1 _ZN6LibRaw18afd_interpolate_plEii@Base 0.15.1 _ZN6LibRaw18border_interpolateEi@Base 0.15.1 _ZN6LibRaw18canon_600_fixed_wbEi@Base 0.15.1 _ZN6LibRaw18canon_600_load_rawEv@Base 0.15.1 _ZN6LibRaw18crop_masked_pixelsEv@Base 0.15.1 _ZN6LibRaw18dcb_copy_to_bufferEPA3_f@Base 0.15.1 _ZN6LibRaw18dcraw_thumb_writerEPKc@Base 0.15.1 _ZN6LibRaw18eight_bit_load_rawEv@Base 0.15.1 _ZN6LibRaw18fix_after_rawspeedEi@Base 0.15.1 _ZN6LibRaw18foveon_dp_load_rawEv@Base 0.15.1 _ZN6LibRaw18foveon_interpolateEv@Base 0.15.1 _ZN6LibRaw18foveon_sd_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_262_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_65000_decodeEPsi@Base 0.15.1 _ZN6LibRaw18kodak_rgb_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_thumb_loaderEv@Base 0.15.1 _ZN6LibRaw18lossy_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw18panasonic_load_rawEv@Base 0.15.1 _ZN6LibRaw18phase_one_load_rawEv@Base 0.15.1 _ZN6LibRaw18recover_highlightsEv@Base 0.15.1 _ZN6LibRaw18recycle_datastreamEv@Base 0.15.1 _ZN6LibRaw18sony_arw2_load_rawEv@Base 0.15.1 _ZN6LibRaw19ahd_interpolate_modEv@Base 0.15.1 _ZN6LibRaw19canon_sraw_load_rawEv@Base 0.15.1 _ZN6LibRaw19convert_to_rgb_loopEPA4_f@Base 0.15.1 _ZN6LibRaw19copy_fuji_uncroppedEPtS0_@Base 0.15.1 _ZN6LibRaw19foveon_thumb_loaderEv@Base 0.15.1 _ZN6LibRaw19hasselblad_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_jpeg_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_radc_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_yrgb_load_rawEv@Base 0.15.1 _ZN6LibRaw19packed_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw19parse_external_jpegEv@Base 0.15.1 _ZN6LibRaw19smal_decode_segmentEPA2_ji@Base 0.15.1 _ZN6LibRaw20adobe_copy_pixel_rawEjjPPt@Base 0.15.1 _ZN6LibRaw20dcraw_make_mem_imageEPi@Base 0.15.1 _ZN6LibRaw20dcraw_make_mem_thumbEPi@Base 0.15.1 _ZN6LibRaw20imacon_full_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_65000_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_dc120_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_thumb_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_ycbcr_load_rawEv@Base 0.15.1 _ZN6LibRaw20lin_interpolate_loopEPA16_A32_ii@Base 0.15.1 _ZN6LibRaw20phase_one_flat_fieldEii@Base 0.15.1 _ZN6LibRaw20phase_one_load_raw_cEv@Base 0.15.1 _ZN6LibRaw20sinar_4shot_load_rawEv@Base 0.15.1 _ZN6LibRaw20unpack_function_nameEv@Base 0.15.1 _ZN6LibRaw20wf_bayer4_green_blurEiPviS0_i@Base 0.15.1 _ZN6LibRaw21dcraw_ppm_tiff_writerEPKc@Base 0.15.1 _ZN6LibRaw21lossless_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw22adjust_sizes_info_onlyEv@Base 0.15.1 _ZN6LibRaw22adobe_copy_pixel_colorEjjPPt@Base 0.15.1 _ZN6LibRaw22is_phaseone_compressedEv@Base 0.15.1 _ZN6LibRaw22lossless_jpeg_load_rawEv@Base 0.15.1 _ZN6LibRaw22minolta_rd175_load_rawEv@Base 0.15.1 _ZN6LibRaw22quicktake_100_load_rawEv@Base 0.15.1 _ZN6LibRaw22wf_bayer4_block_filterEPiPviS1_i@Base 0.15.1 _ZN6LibRaw23dcb_restore_from_bufferEPA3_f@Base 0.15.1 _ZN6LibRaw23set_rawspeed_camerafileEPc@Base 0.15.1 _ZN6LibRaw23wf_bayer4_igauss_filterEiPviS0_i@Base 0.15.1 _ZN6LibRaw24hasselblad_full_load_rawEv@Base 0.15.1 _ZN6LibRaw24phase_one_subtract_blackEPtS0_@Base 0.15.1 _ZN6LibRaw25phase_one_free_tempbufferEv@Base 0.15.1 _ZN6LibRaw29ahd_interpolate_green_h_and_vEiiPA256_A256_A3_t@Base 0.15.1 _ZN6LibRaw29phase_one_allocate_tempbufferEv@Base 0.15.1 _ZN6LibRaw37ahd_interpolate_build_homogeneity_mapEiiPA256_A256_A3_sPA256_A2_c@Base 0.15.1 _ZN6LibRaw3dcbEii@Base 0.15.1 _ZN6LibRaw3rawEjj@Base 0.15.1 _ZN6LibRaw42ahd_interpolate_combine_homogeneous_pixelsEiiPA256_A256_A3_tPA256_A2_c@Base 0.15.1 _ZN6LibRaw45ahd_interpolate_r_and_b_and_convert_to_cielabEiiPA256_A256_A3_tPA256_A256_A3_sRA3_A4_Kf@Base 0.15.1 _ZN6LibRaw4fbddEi@Base 0.15.1 _ZN6LibRaw4fcolEii@Base 0.15.1 _ZN6LibRaw4freeEPv@Base 0.15.1 _ZN6LibRaw4get2Ev@Base 0.15.1 _ZN6LibRaw4get4Ev@Base 0.15.1 _ZN6LibRaw52ahd_interpolate_r_and_b_in_rgb_and_convert_to_cielabEiiPA256_A3_tPA256_A3_sRA3_A4_Kf@Base 0.15.1 _ZN6LibRaw5sget2EPh@Base 0.15.1 _ZN6LibRaw5sget4EPh@Base 0.15.1 _ZN6LibRaw6callocEmm@Base 0.15.1 _ZN6LibRaw6dcb_ppEv@Base 0.15.1 _ZN6LibRaw6derrorEv@Base 0.15.1 _ZN6LibRaw6getintEi@Base 0.15.1 _ZN6LibRaw6mallocEm@Base 0.15.1 _ZN6LibRaw6merrorEPvPKc@Base 0.15.1 _ZN6LibRaw6unpackEv@Base 0.15.1 _ZN6LibRaw7dcb_horEPA3_f@Base 0.15.1 _ZN6LibRaw7dcb_mapEv@Base 0.15.1 _ZN6LibRaw7dcb_verEPA3_f@Base 0.15.1 _ZN6LibRaw7exp_befEff@Base 0.15.1 _ZN6LibRaw7getrealEi@Base 0.15.1 _ZN6LibRaw7median4EPi@Base 0.15.1 _ZN6LibRaw7reallocEPvm@Base 0.15.1 _ZN6LibRaw7recycleEv@Base 0.15.1 _ZN6LibRaw7stretchEv@Base 0.15.1 _ZN6LibRaw7versionEv@Base 0.15.1 _ZN6LibRaw8identifyEv@Base 0.15.1 _ZN6LibRaw8strerrorEi@Base 0.15.1 _ZN6LibRaw8subtractEPKc@Base 0.15.1 _ZN6LibRaw8tiff_getEjPjS0_S0_S0_@Base 0.15.1 _ZN6LibRaw8tiff_setEPtttii@Base 0.15.1 _ZN6LibRaw9adjust_blEv@Base 0.15.1 _ZN6LibRaw9dcb_colorEv@Base 0.15.1 _ZN6LibRaw9identify2EjjPc@Base 0.15.1 _ZN6LibRaw9ljpeg_endEP5jhead@Base 0.15.1 _ZN6LibRaw9ljpeg_rowEiP5jhead@Base 0.15.1 _ZN6LibRaw9open_fileEPKcx@Base 0.15.1 _ZN6LibRaw9pana_bitsEi@Base 0.15.1 _ZN6LibRaw9parse_gpsEi@Base 0.15.1 _ZN6LibRaw9parse_mosEi@Base 0.15.1 _ZN6LibRaw9ppm_thumbEv@Base 0.15.1 _ZN6LibRaw9raw2imageEv@Base 0.15.1 _ZN6LibRaw9tiff_headEP8tiff_hdri@Base 0.15.1 _ZN6LibRawC1Ej@Base 0.15.1 _ZN6LibRawC2Ej@Base 0.15.1 _ZN6LibRawD0Ev@Base 0.15.1 _ZN6LibRawD1Ev@Base 0.15.1 _ZN6LibRawD2Ev@Base 0.15.1 _ZNK6LibRaw20get_mem_image_formatEPiS0_S0_S0_@Base 0.15.1 _ZTI17LibRaw_exceptions@Base 0.15.1 _ZTI18LibRaw_byte_buffer@Base 0.15.1 _ZTI22LibRaw_file_datastream@Base 0.15.1 _ZTI24LibRaw_buffer_datastream@Base 0.15.1 _ZTI25LibRaw_bigfile_datastream@Base 0.15.1 _ZTI26LibRaw_abstract_datastream@Base 0.15.1 _ZTI6LibRaw@Base 0.15.1 _ZTS17LibRaw_exceptions@Base 0.15.1 _ZTS18LibRaw_byte_buffer@Base 0.15.1 _ZTS22LibRaw_file_datastream@Base 0.15.1 _ZTS24LibRaw_buffer_datastream@Base 0.15.1 _ZTS25LibRaw_bigfile_datastream@Base 0.15.1 _ZTS26LibRaw_abstract_datastream@Base 0.15.1 _ZTS6LibRaw@Base 0.15.1 _ZTV18LibRaw_byte_buffer@Base 0.15.1 _ZTV22LibRaw_file_datastream@Base 0.15.1 _ZTV24LibRaw_buffer_datastream@Base 0.15.1 _ZTV25LibRaw_bigfile_datastream@Base 0.15.1 _ZTV26LibRaw_abstract_datastream@Base 0.15.1 _ZTV6LibRaw@Base 0.15.1 default_data_callback@Base 0.15.1 default_memory_callback@Base 0.15.1 libraw_adjust_sizes_info_only@Base 0.15.1 libraw_cameraCount@Base 0.15.1 libraw_cameraList@Base 0.15.1 libraw_close@Base 0.15.1 libraw_dcraw_clear_mem@Base 0.15.1 libraw_dcraw_make_mem_image@Base 0.15.1 libraw_dcraw_make_mem_thumb@Base 0.15.1 libraw_dcraw_ppm_tiff_writer@Base 0.15.1 libraw_dcraw_process@Base 0.15.1 libraw_dcraw_thumb_writer@Base 0.15.1 libraw_free_image@Base 0.15.1 libraw_get_decoder_info@Base 0.15.1 libraw_init@Base 0.15.1 libraw_open_buffer@Base 0.15.1 libraw_open_file@Base 0.15.1 libraw_open_file_ex@Base 0.15.1 libraw_raw2image@Base 0.15.1 libraw_recycle@Base 0.15.1 libraw_recycle_datastream@Base 0.15.1 libraw_set_dataerror_handler@Base 0.15.1 libraw_set_memerror_handler@Base 0.15.1 libraw_set_progress_handler@Base 0.15.1 libraw_strerror@Base 0.15.1 libraw_strprogress@Base 0.15.1 libraw_subtract_black@Base 0.15.1 libraw_unpack@Base 0.15.1 libraw_unpack_function_name@Base 0.15.1 libraw_unpack_thumb@Base 0.15.1 libraw_version@Base 0.15.1 libraw_versionNumber@Base 0.15.1 libraw_r.so.9 libraw9 #MINVER# .gomp_critical_user_dataupdate@Base 0.15.1 _ZN16LibRaw_constants7xyz_rgbE@Base 0.15.1 _ZN16LibRaw_constants9d65_whiteE@Base 0.15.1 _ZN18LibRaw_byte_buffer10set_bufferEPvj@Base 0.15.1 _ZN18LibRaw_byte_bufferC1Ej@Base 0.15.1 _ZN18LibRaw_byte_bufferC2Ej@Base 0.15.1 _ZN18LibRaw_byte_bufferD0Ev@Base 0.15.1 _ZN18LibRaw_byte_bufferD1Ev@Base 0.15.1 _ZN18LibRaw_byte_bufferD2Ev@Base 0.15.1 _ZN22LibRaw_file_datastream12subfile_openEPKc@Base 0.15.1 _ZN22LibRaw_file_datastream13subfile_closeEv@Base 0.15.1 _ZN22LibRaw_file_datastream15make_jas_streamEv@Base 0.15.1 _ZN22LibRaw_file_datastream3eofEv@Base 0.15.1 _ZN22LibRaw_file_datastream4getsEPci@Base 0.15.1 _ZN22LibRaw_file_datastream4readEPvmm@Base 0.15.1 _ZN22LibRaw_file_datastream4seekExi@Base 0.15.1 _ZN22LibRaw_file_datastream4sizeEv@Base 0.15.1 _ZN22LibRaw_file_datastream4tellEv@Base 0.15.1 _ZN22LibRaw_file_datastream5fnameEv@Base 0.15.1 _ZN22LibRaw_file_datastream5validEv@Base 0.15.1 _ZN22LibRaw_file_datastream8get_charEv@Base 0.15.1 _ZN22LibRaw_file_datastream8jpeg_srcEPv@Base 0.15.1 _ZN22LibRaw_file_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN22LibRaw_file_datastreamC1EPKc@Base 0.15.1 _ZN22LibRaw_file_datastreamC2EPKc@Base 0.15.1 _ZN22LibRaw_file_datastreamD0Ev@Base 0.15.1 _ZN22LibRaw_file_datastreamD1Ev@Base 0.15.1 _ZN22LibRaw_file_datastreamD2Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastream15make_jas_streamEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream16make_byte_bufferEj@Base 0.15.1 _ZN24LibRaw_buffer_datastream3eofEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream4getsEPci@Base 0.15.1 _ZN24LibRaw_buffer_datastream4readEPvmm@Base 0.15.1 _ZN24LibRaw_buffer_datastream4seekExi@Base 0.15.1 _ZN24LibRaw_buffer_datastream4sizeEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream4tellEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream5validEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream8get_charEv@Base 0.15.1 _ZN24LibRaw_buffer_datastream8jpeg_srcEPv@Base 0.15.1 _ZN24LibRaw_buffer_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN24LibRaw_buffer_datastreamC1EPvm@Base 0.15.1 _ZN24LibRaw_buffer_datastreamC2EPvm@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD0Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD1Ev@Base 0.15.1 _ZN24LibRaw_buffer_datastreamD2Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastream12subfile_openEPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastream13subfile_closeEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream15make_jas_streamEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream3eofEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4getsEPci@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4readEPvmm@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4seekExi@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4sizeEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream4tellEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream5fnameEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream5validEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream8get_charEv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream8jpeg_srcEPv@Base 0.15.1 _ZN25LibRaw_bigfile_datastream9scanf_oneEPKcPv@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamC1EPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamC2EPKc@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD0Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD1Ev@Base 0.15.1 _ZN25LibRaw_bigfile_datastreamD2Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastream12subfile_openEPKc@Base 0.15.1 _ZN26LibRaw_abstract_datastream13subfile_closeEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream15tempbuffer_openEPvm@Base 0.15.1 _ZN26LibRaw_abstract_datastream16make_byte_bufferEj@Base 0.15.1 _ZN26LibRaw_abstract_datastream16tempbuffer_closeEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream5fnameEv@Base 0.15.1 _ZN26LibRaw_abstract_datastream8jpeg_srcEPv@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD0Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD1Ev@Base 0.15.1 _ZN26LibRaw_abstract_datastreamD2Ev@Base 0.15.1 _ZN6LibRaw10apply_tiffEv@Base 0.15.1 _ZN6LibRaw10bad_pixelsEPKc@Base 0.15.1 _ZN6LibRaw10cameraListEv@Base 0.15.1 _ZN6LibRaw10canon_s2isEv@Base 0.15.1 _ZN6LibRaw10cfa_linednEf@Base 0.15.1 _ZN6LibRaw10copy_bayerEPtS0_@Base 0.15.1 _ZN6LibRaw10dcb_color2EPA3_f@Base 0.15.1 _ZN6LibRaw10dcb_color3EPA3_f@Base 0.15.1 _ZN6LibRaw10dcb_decideEPA3_fS1_@Base 0.15.1 _ZN6LibRaw10fbdd_greenEv@Base 0.15.1 _ZN6LibRaw10fill_holesEi@Base 0.15.1 _ZN6LibRaw10find_greenEiiii@Base 0.15.1 _ZN6LibRaw10flip_indexEii@Base 0.15.1 _ZN6LibRaw10free_imageEv@Base 0.15.1 _ZN6LibRaw10getbithuffEiPt@Base 0.15.1 _ZN6LibRaw10jpeg_thumbEv@Base 0.15.1 _ZN6LibRaw10lch_to_rgbEPA3_d@Base 0.15.1 _ZN6LibRaw10ljpeg_diffEPt@Base 0.15.1 _ZN6LibRaw10minolta_z2Ev@Base 0.15.1 _ZN6LibRaw10nikon_3700Ev@Base 0.15.1 _ZN6LibRaw10nikon_e995Ev@Base 0.15.1 _ZN6LibRaw10parse_ciffEii@Base 0.15.1 _ZN6LibRaw10parse_cineEv@Base 0.15.1 _ZN6LibRaw10parse_exifEi@Base 0.15.1 _ZN6LibRaw10parse_fujiEi@Base 0.15.1 _ZN6LibRaw10parse_jpegEi@Base 0.15.1 _ZN6LibRaw10parse_riffEv@Base 0.15.1 _ZN6LibRaw10parse_smalEii@Base 0.15.1 _ZN6LibRaw10parse_tiffEi@Base 0.15.1 _ZN6LibRaw10refinementEv@Base 0.15.1 _ZN6LibRaw10rgb_to_lchEPA3_d@Base 0.15.1 _ZN6LibRaw10romm_coeffEPA3_f@Base 0.15.1 _ZN6LibRaw11adobe_coeffEPKcS1_@Base 0.15.1 _ZN6LibRaw11cameraCountEv@Base 0.15.1 _ZN6LibRaw11dcb_nyquistEv@Base 0.15.1 _ZN6LibRaw11foveon_getsEiPci@Base 0.15.1 _ZN6LibRaw11fuji_rotateEv@Base 0.15.1 _ZN6LibRaw11gamma_curveEddii@Base 0.15.1 _ZN6LibRaw11layer_thumbEv@Base 0.15.1 _ZN6LibRaw11ljpeg_startEP5jheadi@Base 0.15.1 _ZN6LibRaw11nikon_e2100Ev@Base 0.15.1 _ZN6LibRaw11open_bufferEPvm@Base 0.15.1 _ZN6LibRaw11ph1_bithuffEiPt@Base 0.15.1 _ZN6LibRaw11ppm16_thumbEv@Base 0.15.1 _ZN6LibRaw11read_shortsEPti@Base 0.15.1 _ZN6LibRaw11strprogressE15LibRaw_progress@Base 0.15.1 _ZN6LibRaw12foveon_thumbEv@Base 0.15.1 _ZN6LibRaw12int_to_floatEi@Base 0.15.1 _ZN6LibRaw12linear_tableEj@Base 0.15.1 _ZN6LibRaw12make_decoderEPKh@Base 0.15.1 _ZN6LibRaw12parse_foveonEv@Base 0.15.1 _ZN6LibRaw12parse_rolleiEv@Base 0.15.1 _ZN6LibRaw12raw2image_exEi@Base 0.15.1 _ZN6LibRaw12rollei_thumbEv@Base 0.15.1 _ZN6LibRaw12scale_colorsEv@Base 0.15.1 _ZN6LibRaw12simple_coeffEi@Base 0.15.1 _ZN6LibRaw12sony_decryptEPjiii@Base 0.15.1 _ZN6LibRaw12unpack_thumbEv@Base 0.15.1 _ZN6LibRaw13CA_correct_RTEff@Base 0.15.1 _ZN6LibRaw13apply_profileEPKcS1_@Base 0.15.1 _ZN6LibRaw13cam_xyz_coeffEPA3_d@Base 0.15.1 _ZN6LibRaw13dcraw_processEv@Base 0.15.1 _ZN6LibRaw13get_timestampEi@Base 0.15.1 _ZN6LibRaw13hat_transformEPfS0_iii@Base 0.15.1 _ZN6LibRaw13ljpeg_row_newEiP5jheadR17LibRaw_bit_bufferP18LibRaw_byte_buffer@Base 0.15.1 _ZN6LibRaw13median_filterEv@Base 0.15.1 _ZN6LibRaw13parse_minoltaEi@Base 0.15.1 _ZN6LibRaw13parse_redcineEv@Base 0.15.1 _ZN6LibRaw13pseudoinverseEPA3_dS1_i@Base 0.15.1 _ZN6LibRaw13remove_zeroesEv@Base 0.15.1 _ZN6LibRaw13sony_load_rawEv@Base 0.15.1 _ZN6LibRaw13versionNumberEv@Base 0.15.1 _ZN6LibRaw14adjust_maximumEv@Base 0.15.1 _ZN6LibRaw14canon_load_rawEv@Base 0.15.1 _ZN6LibRaw14convert_to_rgbEv@Base 0.15.1 _ZN6LibRaw14copy_mem_imageEPvii@Base 0.15.1 _ZN6LibRaw14dcb_color_fullEv@Base 0.15.1 _ZN6LibRaw14dcb_correctionEv@Base 0.15.1 _ZN6LibRaw14dcb_refinementEv@Base 0.15.1 _ZN6LibRaw14green_matchingEv@Base 0.15.1 _ZN6LibRaw14ljpeg_diff_newER17LibRaw_bit_bufferP18LibRaw_byte_bufferPt@Base 0.15.1 _ZN6LibRaw14nikon_load_rawEv@Base 0.15.1 _ZN6LibRaw14nokia_load_rawEv@Base 0.15.1 _ZN6LibRaw14parse_sinar_iaEv@Base 0.15.1 _ZN6LibRaw14parse_tiff_ifdEi@Base 0.15.1 _ZN6LibRaw14subtract_blackEv@Base 0.15.1 _ZN6LibRaw14write_ppm_tiffEv@Base 0.15.1 _ZN6LibRaw15ahd_interpolateEv@Base 0.15.1 _ZN6LibRaw15canon_600_coeffEv@Base 0.15.1 _ZN6LibRaw15canon_600_colorEPii@Base 0.15.1 _ZN6LibRaw15ciff_block_1030Ev@Base 0.15.1 _ZN6LibRaw15crw_init_tablesEjPPt@Base 0.15.1 _ZN6LibRaw15dcb_correction2Ev@Base 0.15.1 _ZN6LibRaw15dcraw_clear_memEP24libraw_processed_image_t@Base 0.15.1 _ZN6LibRaw15fbdd_correctionEv@Base 0.15.1 _ZN6LibRaw15lin_interpolateEv@Base 0.15.1 _ZN6LibRaw15open_datastreamEP26LibRaw_abstract_datastream@Base 0.15.1 _ZN6LibRaw15packed_load_rawEv@Base 0.15.1 _ZN6LibRaw15parse_kodak_ifdEi@Base 0.15.1 _ZN6LibRaw15parse_makernoteEii@Base 0.15.1 _ZN6LibRaw15parse_phase_oneEi@Base 0.15.1 _ZN6LibRaw15pentax_load_rawEv@Base 0.15.1 _ZN6LibRaw15ppg_interpolateEv@Base 0.15.1 _ZN6LibRaw15pre_interpolateEv@Base 0.15.1 _ZN6LibRaw15raw2image_startEv@Base 0.15.1 _ZN6LibRaw15rollei_load_rawEv@Base 0.15.1 _ZN6LibRaw15vcd_interpolateEi@Base 0.15.1 _ZN6LibRaw15vng_interpolateEv@Base 0.15.1 _ZN6LibRaw15wavelet_denoiseEv@Base 0.15.1 _ZN6LibRaw16blend_highlightsEv@Base 0.15.1 _ZN6LibRaw16es_median_filterEv@Base 0.15.1 _ZN6LibRaw16fbdd_correction2EPA3_d@Base 0.15.1 _ZN6LibRaw16get_decoder_infoEP21libraw_decoder_info_t@Base 0.15.1 _ZN6LibRaw16guess_byte_orderEi@Base 0.15.1 _ZN6LibRaw16make_decoder_refEPPKh@Base 0.15.1 _ZN6LibRaw16olympus_load_rawEv@Base 0.15.1 _ZN6LibRaw16parse_thumb_noteEijj@Base 0.15.1 _ZN6LibRaw16redcine_load_rawEv@Base 0.15.1 _ZN6LibRaw16smal_v6_load_rawEv@Base 0.15.1 _ZN6LibRaw16smal_v9_load_rawEv@Base 0.15.1 _ZN6LibRaw16wf_filter_energyEiiii@Base 0.15.1 _ZN6LibRaw17amaze_demosaic_RTEv@Base 0.15.1 _ZN6LibRaw17canon_600_auto_wbEv@Base 0.15.1 _ZN6LibRaw17canon_600_correctEv@Base 0.15.1 _ZN6LibRaw17canon_has_lowbitsEv@Base 0.15.1 _ZN6LibRaw17cfa_impulse_gaussEff@Base 0.15.1 _ZN6LibRaw17green_equilibrateEf@Base 0.15.1 _ZN6LibRaw17jpeg_thumb_writerEP8_IO_FILEPci@Base 0.15.1 _ZN6LibRaw17leaf_hdr_load_rawEv@Base 0.15.1 _ZN6LibRaw17lmmse_interpolateEi@Base 0.15.1 _ZN6LibRaw17median_filter_newEv@Base 0.15.1 _ZN6LibRaw17phase_one_correctEv@Base 0.15.1 _ZN6LibRaw17scale_colors_loopEPf@Base 0.15.1 _ZN6LibRaw17sony_arw_load_rawEv@Base 0.15.1 _ZN6LibRaw17unpacked_load_rawEv@Base 0.15.1 _ZN6LibRaw17wf_remove_bandingEv@Base 0.15.1 _ZN6LibRaw18afd_interpolate_plEii@Base 0.15.1 _ZN6LibRaw18border_interpolateEi@Base 0.15.1 _ZN6LibRaw18canon_600_fixed_wbEi@Base 0.15.1 _ZN6LibRaw18canon_600_load_rawEv@Base 0.15.1 _ZN6LibRaw18crop_masked_pixelsEv@Base 0.15.1 _ZN6LibRaw18dcb_copy_to_bufferEPA3_f@Base 0.15.1 _ZN6LibRaw18dcraw_thumb_writerEPKc@Base 0.15.1 _ZN6LibRaw18eight_bit_load_rawEv@Base 0.15.1 _ZN6LibRaw18fix_after_rawspeedEi@Base 0.15.1 _ZN6LibRaw18foveon_dp_load_rawEv@Base 0.15.1 _ZN6LibRaw18foveon_interpolateEv@Base 0.15.1 _ZN6LibRaw18foveon_sd_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_262_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_65000_decodeEPsi@Base 0.15.1 _ZN6LibRaw18kodak_rgb_load_rawEv@Base 0.15.1 _ZN6LibRaw18kodak_thumb_loaderEv@Base 0.15.1 _ZN6LibRaw18lossy_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw18panasonic_load_rawEv@Base 0.15.1 _ZN6LibRaw18phase_one_load_rawEv@Base 0.15.1 _ZN6LibRaw18recover_highlightsEv@Base 0.15.1 _ZN6LibRaw18recycle_datastreamEv@Base 0.15.1 _ZN6LibRaw18sony_arw2_load_rawEv@Base 0.15.1 _ZN6LibRaw19ahd_interpolate_modEv@Base 0.15.1 _ZN6LibRaw19canon_sraw_load_rawEv@Base 0.15.1 _ZN6LibRaw19convert_to_rgb_loopEPA4_f@Base 0.15.1 _ZN6LibRaw19copy_fuji_uncroppedEPtS0_@Base 0.15.1 _ZN6LibRaw19foveon_thumb_loaderEv@Base 0.15.1 _ZN6LibRaw19hasselblad_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_jpeg_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_radc_load_rawEv@Base 0.15.1 _ZN6LibRaw19kodak_yrgb_load_rawEv@Base 0.15.1 _ZN6LibRaw19packed_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw19parse_external_jpegEv@Base 0.15.1 _ZN6LibRaw19smal_decode_segmentEPA2_ji@Base 0.15.1 _ZN6LibRaw20adobe_copy_pixel_rawEjjPPt@Base 0.15.1 _ZN6LibRaw20dcraw_make_mem_imageEPi@Base 0.15.1 _ZN6LibRaw20dcraw_make_mem_thumbEPi@Base 0.15.1 _ZN6LibRaw20imacon_full_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_65000_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_dc120_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_thumb_load_rawEv@Base 0.15.1 _ZN6LibRaw20kodak_ycbcr_load_rawEv@Base 0.15.1 _ZN6LibRaw20lin_interpolate_loopEPA16_A32_ii@Base 0.15.1 _ZN6LibRaw20phase_one_flat_fieldEii@Base 0.15.1 _ZN6LibRaw20phase_one_load_raw_cEv@Base 0.15.1 _ZN6LibRaw20sinar_4shot_load_rawEv@Base 0.15.1 _ZN6LibRaw20unpack_function_nameEv@Base 0.15.1 _ZN6LibRaw20wf_bayer4_green_blurEiPviS0_i@Base 0.15.1 _ZN6LibRaw21dcraw_ppm_tiff_writerEPKc@Base 0.15.1 _ZN6LibRaw21lossless_dng_load_rawEv@Base 0.15.1 _ZN6LibRaw22adjust_sizes_info_onlyEv@Base 0.15.1 _ZN6LibRaw22adobe_copy_pixel_colorEjjPPt@Base 0.15.1 _ZN6LibRaw22is_phaseone_compressedEv@Base 0.15.1 _ZN6LibRaw22lossless_jpeg_load_rawEv@Base 0.15.1 _ZN6LibRaw22minolta_rd175_load_rawEv@Base 0.15.1 _ZN6LibRaw22quicktake_100_load_rawEv@Base 0.15.1 _ZN6LibRaw22wf_bayer4_block_filterEPiPviS1_i@Base 0.15.1 _ZN6LibRaw23dcb_restore_from_bufferEPA3_f@Base 0.15.1 _ZN6LibRaw23set_rawspeed_camerafileEPc@Base 0.15.1 _ZN6LibRaw23wf_bayer4_igauss_filterEiPviS0_i@Base 0.15.1 _ZN6LibRaw24hasselblad_full_load_rawEv@Base 0.15.1 _ZN6LibRaw24phase_one_subtract_blackEPtS0_@Base 0.15.1 _ZN6LibRaw25phase_one_free_tempbufferEv@Base 0.15.1 _ZN6LibRaw29ahd_interpolate_green_h_and_vEiiPA256_A256_A3_t@Base 0.15.1 _ZN6LibRaw29phase_one_allocate_tempbufferEv@Base 0.15.1 _ZN6LibRaw37ahd_interpolate_build_homogeneity_mapEiiPA256_A256_A3_sPA256_A2_c@Base 0.15.1 _ZN6LibRaw3dcbEii@Base 0.15.1 _ZN6LibRaw3rawEjj@Base 0.15.1 _ZN6LibRaw42ahd_interpolate_combine_homogeneous_pixelsEiiPA256_A256_A3_tPA256_A2_c@Base 0.15.1 _ZN6LibRaw45ahd_interpolate_r_and_b_and_convert_to_cielabEiiPA256_A256_A3_tPA256_A256_A3_sRA3_A4_Kf@Base 0.15.1 _ZN6LibRaw4fbddEi@Base 0.15.1 _ZN6LibRaw4fcolEii@Base 0.15.1 _ZN6LibRaw4freeEPv@Base 0.15.1 _ZN6LibRaw4get2Ev@Base 0.15.1 _ZN6LibRaw4get4Ev@Base 0.15.1 _ZN6LibRaw52ahd_interpolate_r_and_b_in_rgb_and_convert_to_cielabEiiPA256_A3_tPA256_A3_sRA3_A4_Kf@Base 0.15.1 _ZN6LibRaw5sget2EPh@Base 0.15.1 _ZN6LibRaw5sget4EPh@Base 0.15.1 _ZN6LibRaw6callocEmm@Base 0.15.1 _ZN6LibRaw6dcb_ppEv@Base 0.15.1 _ZN6LibRaw6derrorEv@Base 0.15.1 _ZN6LibRaw6getintEi@Base 0.15.1 _ZN6LibRaw6mallocEm@Base 0.15.1 _ZN6LibRaw6merrorEPvPKc@Base 0.15.1 _ZN6LibRaw6unpackEv@Base 0.15.1 _ZN6LibRaw7dcb_horEPA3_f@Base 0.15.1 _ZN6LibRaw7dcb_mapEv@Base 0.15.1 _ZN6LibRaw7dcb_verEPA3_f@Base 0.15.1 _ZN6LibRaw7exp_befEff@Base 0.15.1 _ZN6LibRaw7getrealEi@Base 0.15.1 _ZN6LibRaw7median4EPi@Base 0.15.1 _ZN6LibRaw7reallocEPvm@Base 0.15.1 _ZN6LibRaw7recycleEv@Base 0.15.1 _ZN6LibRaw7stretchEv@Base 0.15.1 _ZN6LibRaw7versionEv@Base 0.15.1 _ZN6LibRaw8identifyEv@Base 0.15.1 _ZN6LibRaw8strerrorEi@Base 0.15.1 _ZN6LibRaw8subtractEPKc@Base 0.15.1 _ZN6LibRaw8tiff_getEjPjS0_S0_S0_@Base 0.15.1 _ZN6LibRaw8tiff_setEPtttii@Base 0.15.1 _ZN6LibRaw9adjust_blEv@Base 0.15.1 _ZN6LibRaw9dcb_colorEv@Base 0.15.1 _ZN6LibRaw9identify2EjjPc@Base 0.15.1 _ZN6LibRaw9ljpeg_endEP5jhead@Base 0.15.1 _ZN6LibRaw9ljpeg_rowEiP5jhead@Base 0.15.1 _ZN6LibRaw9open_fileEPKcx@Base 0.15.1 _ZN6LibRaw9pana_bitsEi@Base 0.15.1 _ZN6LibRaw9parse_gpsEi@Base 0.15.1 _ZN6LibRaw9parse_mosEi@Base 0.15.1 _ZN6LibRaw9ppm_thumbEv@Base 0.15.1 _ZN6LibRaw9raw2imageEv@Base 0.15.1 _ZN6LibRaw9tiff_headEP8tiff_hdri@Base 0.15.1 _ZN6LibRawC1Ej@Base 0.15.1 _ZN6LibRawC2Ej@Base 0.15.1 _ZN6LibRawD0Ev@Base 0.15.1 _ZN6LibRawD1Ev@Base 0.15.1 _ZN6LibRawD2Ev@Base 0.15.1 _ZNK6LibRaw20get_mem_image_formatEPiS0_S0_S0_@Base 0.15.1 _ZTI17LibRaw_exceptions@Base 0.15.1 _ZTI18LibRaw_byte_buffer@Base 0.15.1 _ZTI22LibRaw_file_datastream@Base 0.15.1 _ZTI24LibRaw_buffer_datastream@Base 0.15.1 _ZTI25LibRaw_bigfile_datastream@Base 0.15.1 _ZTI26LibRaw_abstract_datastream@Base 0.15.1 _ZTI6LibRaw@Base 0.15.1 _ZTS17LibRaw_exceptions@Base 0.15.1 _ZTS18LibRaw_byte_buffer@Base 0.15.1 _ZTS22LibRaw_file_datastream@Base 0.15.1 _ZTS24LibRaw_buffer_datastream@Base 0.15.1 _ZTS25LibRaw_bigfile_datastream@Base 0.15.1 _ZTS26LibRaw_abstract_datastream@Base 0.15.1 _ZTS6LibRaw@Base 0.15.1 _ZTV18LibRaw_byte_buffer@Base 0.15.1 _ZTV22LibRaw_file_datastream@Base 0.15.1 _ZTV24LibRaw_buffer_datastream@Base 0.15.1 _ZTV25LibRaw_bigfile_datastream@Base 0.15.1 _ZTV26LibRaw_abstract_datastream@Base 0.15.1 _ZTV6LibRaw@Base 0.15.1 default_data_callback@Base 0.15.1 default_memory_callback@Base 0.15.1 libraw_adjust_sizes_info_only@Base 0.15.1 libraw_cameraCount@Base 0.15.1 libraw_cameraList@Base 0.15.1 libraw_close@Base 0.15.1 libraw_dcraw_clear_mem@Base 0.15.1 libraw_dcraw_make_mem_image@Base 0.15.1 libraw_dcraw_make_mem_thumb@Base 0.15.1 libraw_dcraw_ppm_tiff_writer@Base 0.15.1 libraw_dcraw_process@Base 0.15.1 libraw_dcraw_thumb_writer@Base 0.15.1 libraw_free_image@Base 0.15.1 libraw_get_decoder_info@Base 0.15.1 libraw_init@Base 0.15.1 libraw_open_buffer@Base 0.15.1 libraw_open_file@Base 0.15.1 libraw_open_file_ex@Base 0.15.1 libraw_raw2image@Base 0.15.1 libraw_recycle@Base 0.15.1 libraw_recycle_datastream@Base 0.15.1 libraw_set_dataerror_handler@Base 0.15.1 libraw_set_memerror_handler@Base 0.15.1 libraw_set_progress_handler@Base 0.15.1 libraw_strerror@Base 0.15.1 libraw_strprogress@Base 0.15.1 libraw_subtract_black@Base 0.15.1 libraw_unpack@Base 0.15.1 libraw_unpack_function_name@Base 0.15.1 libraw_unpack_thumb@Base 0.15.1 libraw_version@Base 0.15.1 libraw_versionNumber@Base 0.15.1 debian/copyright0000644000000000000000000001036012102554620011116 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: LibRaw Source: http://www.libraw.org/download Files: * Copyright: 2008-2010, LibRaw LLC License: LGPL-2.1 This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. . This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU Lesser General Public License version 2.1 can be found in the file `/usr/share/common-licenses/LGPL-2.1'. Files: dcraw/dcraw.c Copyright: 1997-2011, Dave Coffin License: dcraw No license is required to download and use dcraw.c. However, to lawfully redistribute dcraw, you must either (a) offer, at no extra charge, full source code* for all executable files containing RESTRICTED functions, (b) distribute this code under the GPL Version 2 or later, (c) remove all RESTRICTED functions, re-implement them, or copy them from an earlier, unrestricted Revision of dcraw.c, or (d) purchase a license from the author. . The functions that process Foveon images have been RESTRICTED since Revision 1.237. All other code remains free for all uses. . * If you have not modified dcraw.c in any way, a link to my homepage qualifies as "full source code". . http://www.cybercom.net/~dcoffin/dcraw/ Files: internal/dcb_demosaicing.c Copyright: 2010, Jacek Gozdz License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011, Devid Filoni 2010-2013, Luca Falavigna License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/source/0000755000000000000000000000000011524335575010500 5ustar debian/source/format0000644000000000000000000000001411524335575011706 0ustar 3.0 (quilt) debian/changelog0000644000000000000000000002034513401654635011053 0ustar libraw (0.15.4-1ubuntu0.3) trusty-security; urgency=medium * SECURITY UPDATE: Multiple memory management issues - debian/patches/CVE-2018-5807_5810.patch: out-of-bounds read and NULL pointer dereference in dcraw/dcraw.c and internal/dcraw_common.cpp - CVE-2018-5807 - CVE-2018-5810 * SECURITY UPDATE: Infinite loop - debian/patches/CVE-2018-5813.patch: infinite loop in dcraw/dcraw.c and internal/dcraw_common.cpp - CVE-2018-5813 -- Alex Murray Wed, 05 Dec 2018 13:54:32 +1030 libraw (0.15.4-1ubuntu0.2) trusty-security; urgency=medium * SECURITY UPDATE: buffer overflow in panasonic_load_raw - debian/patches/CVE-2017-16909.patch: add more bounds checking to dcraw/dcraw.c, internal/dcraw_common.cpp, libraw/libraw_const.h. - CVE-2017-16909 * SECURITY UPDATE: invalid read in xtrans_interpolate - debian/patches/CVE-2017-16910.patch: add checks and proper initialization to dcraw/dcraw.c. - CVE-2017-16910 * SECURITY UPDATE: multiple security issues - debian/patches/CVE-2018-580x.patch: add checks to dcraw/dcraw.c, internal/dcraw_common.cpp, src/libraw_cxx.cpp. - CVE-2018-5800 - CVE-2018-5801 - CVE-2018-5802 * SECURITY UPDATE: image size and alloc issues - debian/patches/security_0.18.8_1.patch: add more checks to dcraw/dcraw.c, internal/dcraw_common.cpp, libraw/libraw_const.h, src/libraw_cxx.cpp. - No CVE number * SECURITY UPDATE: Secunia #81000 security issues - debian/patches/security_0.18.8_2.patch: add more checks to dcraw/dcraw.c, internal/dcraw_common.cpp. - No CVE number -- Marc Deslauriers Fri, 30 Mar 2018 10:11:50 -0400 libraw (0.15.4-1ubuntu0.1) trusty-security; urgency=medium * SECURITY UPDATE: integer overflow in ljpeg_start - debian/patches/CVE-2015-3885.patch: use ushort in dcraw/dcraw.c, internal/dcraw_common.cpp. - CVE-2015-3885 * SECURITY UPDATE: index overflow and lack of initialization - debian/patches/CVE-2015-836x.patch: add checks to dcraw/dcraw.c, internal/dcraw_common.cpp, add proper initialization to src/libraw_cxx.cpp. - CVE-2015-8366 - CVE-2015-8367 * SECURITY UPDATE: memory corruption in parse_tiff_ifd - debian/patches/CVE-2017-688x.patch: add checks to dcraw/dcraw.c, internal/dcraw_common.cpp. - CVE-2017-6886 - CVE-2017-6887 * SECURITY UPDATE: floating point exception in kodak_radc_load_raw - debian/patches/CVE-2017-13735.patch: add checks to dcraw/dcraw.c, internal/dcraw_common.cpp. - CVE-2017-13735 * SECURITY UPDATE: buffer overflow in xtrans_interpolate - debian/patches/CVE-2017-14265.patch: add checks to dcraw/dcraw.c. - CVE-2017-14265 * SECURITY UPDATE: out of bounds read in kodak_65000_load_raw - debian/patches/CVE-2017-14608.patch: add checks to dcraw/dcraw.c, internal/dcraw_common.cpp. - CVE-2017-14608 -- Marc Deslauriers Thu, 16 Nov 2017 14:15:58 -0500 libraw (0.15.4-1) unstable; urgency=low * Team upload. * New upstream release. - Fix for CVE-2013-1438 (Closes: #721231). - Fix for CVE-2013-1439 (Closes: #721338). - Fix segmentaition fault when unprocessed_raw is passed -s option wihout any parameter (Closes: #716423). * debian/patches/4channels_parameter.patch: - Dropped, applied upstream. * debian/patches/typo.patch: - Dropped, applied upstream. -- Luca Falavigna Sat, 05 Oct 2013 17:53:47 +0200 libraw (0.15.3-1) unstable; urgency=low * Team upload to unstable. * New upstream release (Closes: #710353). - Fix error handling for broken full-color images - CVE-2013-2126. - Fix wrong data_maximum calcluation - CVE-2013-2127. * debian/patches/4channels_parameter.patch: - Fix segmentaition fault when 4channel is passed -s option without any parameter (Closes: #715577). -- Luca Falavigna Wed, 10 Jul 2013 21:20:09 +0200 libraw (0.15.1-1) experimental; urgency=low * Team upload. * New upstream release. * debian/patches/typo.patch: - Fix typo in help output. * debian/control: - Build-depend on dh-autoreconf. - Build-depend on libjpeg8-dev | libjpeg-dev. - Replace libraw5 with libraw9, SONAME changed. - libraw-dev depends on libraw9 accordingly. * debian/copyright: - Update copyright years. * debian/libraw9.install: - Renamed from libraw5.install to match new binary. * debian/libraw9.symbols.amd64: - Renamed from libraw9.symbols.amd64 to match new binary. * debian/rules: - Build with autoreconf support. - Build with DNG support (Closes: #699356). - Pass "-Wl,-z,defs -Wl,--as-needed" to LDFLAGS. - Update dh_makeshlibs call to match new binary. -- Luca Falavigna Sat, 25 May 2013 02:50:14 +0200 libraw (0.14.7-2) unstable; urgency=low * Team upload. * Upload to unstable. * debian/control: - Remove deprecated DM-Upload-Allowed field. - Bump Standards-Version to 3.9.4. -- Luca Falavigna Sun, 12 May 2013 20:47:35 +0200 libraw (0.14.7-1) experimental; urgency=low * Team upload. * New upstream release (Closes: #682982). * debian/control: - Add DM-Upload-Allowed field. * debian/watch: - Use new redirector librawredir.debian.net. -- Luca Falavigna Sat, 25 Aug 2012 13:35:59 +0200 libraw (0.14.6-2) unstable; urgency=low * Team upload. * debian/control: - Add liblcms2-dev to libraw-dev Depends field. -- Luca Falavigna Sun, 27 May 2012 12:16:53 +0200 libraw (0.14.6-1) unstable; urgency=low * Team upload to unstable. * New upstream release. * Multi-arch support. * debian/compat: - Bump compatibility level to 9. * debian/control: - Bump Standards-Version to 3.9.3. * debian/copyright: - Update copyright years. - Format now points to copyright-format site. * debian/libraw5.symbols.amd64: - Refresh symbols file. * debian/rules: - Bump minimum version in dh_makeshlibs to 0.14.6. -- Luca Falavigna Sun, 06 May 2012 17:59:10 +0200 libraw (0.14.0-1) experimental; urgency=low * Team upload. * New upstream release. * debian/control: - Replace libraw2 with libraw5, SONAME changed. - libraw-dev depends on libraw5 accordingly. - Build-depend on pkg-config, libjasper-dev and liblcms2-dev. * debian/libraw5.install: - Renamed from libraw2.install to match new binary. * debian/libraw5.symbols.amd64: - Renamed from libraw2.symbols.amd64 to match new binary. * debian/rules: - Update dh_makeshlibs call to match new binary. -- Luca Falavigna Sat, 24 Sep 2011 15:32:39 +0200 libraw (0.13.8-1) unstable; urgency=low * Team upload. * New upstream release. * debian/control: - Add Debian Shotwell Maintainers to Maintainers. - Move Devid to Uploaders. - Add autotools-dev to Build-Depends. - Add libraw2 package, who provides the shared library. - Add libraw2-bin package, who provides some tools to manipulate RAW files. - Bump Standards-Version to 3.9.2, no changes required. * debian/copyright: - Update copyright information. * debian/rules: - Build with autotools_dev to regenerate config.{sub,guess}. - Manually set prefix to install shared library correctly. * debian/watch: - Upstream disabled listing support, watch file is no-op now. -- Luca Falavigna Mon, 22 Aug 2011 20:45:22 +0200 libraw (0.13.1-2) unstable; urgency=low * Set myself as maintainer (Closes: #613870). * debian/control: add Timo Witte to Uploaders field. * debian/install: install *.pc files in /usr/lib/pkgconfig (Closes: #613777). -- Devid Antonio Filoni Fri, 04 Mar 2011 20:48:20 +0100 libraw (0.13.1-1) unstable; urgency=low * New upstream release (Closes: #607139). * debian/control: - Bump Standards-Version to 3.9.1, no changes required. * debian/copyright: - Update copyright years. -- Luca Falavigna Tue, 08 Feb 2011 22:53:51 +0100 libraw (0.9.1-1) unstable; urgency=low * Initial release (Closes: #578830). -- Luca Falavigna Sat, 12 Jun 2010 10:09:37 +0200 debian/libraw-dev.install0000644000000000000000000000010011751502676012613 0ustar usr/include usr/lib/*/*.a usr/lib/*/lib*.so usr/lib/*/pkgconfig debian/libraw-doc.doc-base0000644000000000000000000000040011524335575012614 0ustar Document: libraw Title: LibRaw documentation Author: LibRaw LLC Abstract: This manual describes what LibRaw is and how it can be used. Section: Help/Books Format: HTML Index: /usr/share/doc/libraw-doc/index.html Files: /usr/share/doc/libraw-doc/*.html debian/rules0000755000000000000000000000043112150006245010237 0ustar #!/usr/bin/make -f LDFLAGS += -Wl,-z,defs -Wl,--as-needed %: dh $@ --with autotools_dev,autoreconf override_dh_auto_configure: dh_auto_configure -- --prefix=/usr \ --bindir=/usr/lib/libraw \ --enable-jpeg override_dh_makeshlibs: dh_makeshlibs -V 'libraw9 (>= 0.15.1-1)' debian/libraw-doc.docs0000644000000000000000000000000611524335575012071 0ustar doc/* debian/patches/0000755000000000000000000000000013401654613010620 5ustar debian/patches/CVE-2017-13735.patch0000644000000000000000000000326113203361053013320 0ustar From 82616eff4c7f7437e96bdeeed238c3ef3dc12d60 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Sat, 9 Sep 2017 02:00:00 +0400 Subject: [PATCH] 0.18.3 --- Changelog.txt | 13 +++++++++++++ dcraw/dcraw.c | 26 +++++++++++++++++++++++++- internal/dcraw_common.cpp | 41 +++++++++++++++++++++++++++++++++++++---- libraw/libraw_version.h | 2 +- 4 files changed, 76 insertions(+), 6 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:08:25.780315709 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:08:25.776315663 -0500 @@ -1984,6 +1984,10 @@ void CLASS kodak_radc_load_raw() buf[0][0][i] = 2048; for (row=0; row < height; row+=4) { FORC3 mul[c] = getbits(6); +#ifdef LIBRAW_LIBRARY_BUILD + if(!mul[0] || !mul[1] || !mul[2]) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif FORC3 { val = ((0x1000000/last[c] + 0x7ff) >> 12) * mul[c]; s = val > 65564 ? 10:12; Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2017-11-16 14:08:25.780315709 -0500 +++ libraw-0.15.4/internal/dcraw_common.cpp 2017-11-16 14:08:25.776315663 -0500 @@ -2115,6 +2115,10 @@ void CLASS kodak_radc_load_raw() buf[0][0][i] = 2048; for (row=0; row < height; row+=4) { FORC3 mul[c] = getbits(6); +#ifdef LIBRAW_LIBRARY_BUILD + if(!mul[0] || !mul[1] || !mul[2]) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif FORC3 { val = ((0x1000000/last[c] + 0x7ff) >> 12) * mul[c]; s = val > 65564 ? 10:12; debian/patches/CVE-2017-16910.patch0000644000000000000000000000645513257440416013340 0ustar Backport of: From 39426f3c2c9744ca3cedf57d2ca95fbb46eeae6c Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Wed, 6 Dec 2017 10:37:21 +0300 Subject: [PATCH] 5563e6ddc3f7cb93d98b491194ceebdee7288d36 merged --- dcraw/dcraw.c | 38 ++++++++++++++++++++++++++++++++++++-- internal/dcraw_common.cpp | 38 ++++++++++++++++++++++++++++++++++++-- 2 files changed, 72 insertions(+), 4 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2018-03-30 09:50:49.808538897 -0400 +++ libraw-0.15.4/dcraw/dcraw.c 2018-03-30 09:50:49.804538888 -0400 @@ -4315,6 +4315,9 @@ void CLASS xtrans_interpolate (int passe fprintf (stderr,_("%d-pass X-Trans interpolation...\n"), passes); #ifdef LIBRAW_LIBRARY_BUILD + if(width < TS || height < TS) + throw LIBRAW_EXCEPTION_IO_CORRUPT; // too small image + /* Check against right pattern */ for (row = 0; row < 6; row++) for (col = 0; col < 6; col++) @@ -4323,8 +4326,14 @@ void CLASS xtrans_interpolate (int passe if(cstat[0] < 6 || cstat[0]>10 || cstat[1]< 16 || cstat[1]>24 || cstat[2]< 6 || cstat[2]>10 || cstat[3]) throw LIBRAW_EXCEPTION_IO_CORRUPT; -#endif + // Init allhex table to unreasonable values + for(int i = 0; i < 3; i++) + for(int j = 0; j < 3; j++) + for(int k = 0; k < 2; k++) + for(int l = 0; l < 8; l++) + allhex[i][j][k][l]=32700; +#endif cielab (0,0); border_interpolate(6); @@ -4336,6 +4345,7 @@ void CLASS xtrans_interpolate (int passe drv = (float (*)[TS][TS]) (buffer + TS*TS*(ndir*6+6)); homo = (char (*)[TS][TS]) (buffer + TS*TS*(ndir*10+6)); + int minv=0,maxv=0,minh=0,maxh=0; /* Map a green hexagon around each non-green pixel and vice versa: */ for (row=0; row < 3; row++) for (col=0; col < 3; col++) @@ -4346,11 +4356,26 @@ void CLASS xtrans_interpolate (int passe if (ng == g+1) FORC(8) { v = orth[d ]*patt[g][c*2] + orth[d+1]*patt[g][c*2+1]; h = orth[d+2]*patt[g][c*2] + orth[d+3]*patt[g][c*2+1]; + minv=MIN(v,minv); + maxv=MAX(v,maxv); + minh=MIN(v,minh); + maxh=MAX(v,maxh); allhex[row][col][0][c^(g*2 & d)] = h + v*width; allhex[row][col][1][c^(g*2 & d)] = h + v*TS; } } +#ifdef LIBRAW_LIBRARY_BUILD + // Check allhex table initialization + for(int i = 0; i < 3; i++) + for(int j = 0; j < 3; j++) + for(int k = 0; k < 2; k++) + for(int l = 0; l < 8; l++) + if(allhex[i][j][k][l]>maxh+maxv*width+1 || allhex[i][j][k][l] 2) row--; + case 2: + if ((min = ~(max = 0)) && (col += 2) < width - 3 && row > 2) + { + row--; +#ifdef LIBRAW_LIBRARY_BUILD + if(retrycount++ > width*height) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + } + } } debian/patches/security_0.18.8_1.patch0000644000000000000000000001156113257441616014556 0ustar Backport of: From 1668953e67ce7b75527316cd2df141406e47c803 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Mon, 29 Jan 2018 09:22:06 +0300 Subject: [PATCH] additional image/alloc size checks --- Changelog.txt | 6 ++++++ dcraw/dcraw.c | 8 ++++++-- internal/dcraw_common.cpp | 8 ++++++-- internal/libraw_internal_funcs.h | 2 +- libraw/libraw_const.h | 5 +++++ src/libraw_cxx.cpp | 10 +++++++++- 6 files changed, 33 insertions(+), 6 deletions(-) #diff --git a/Changelog.txt b/Changelog.txt #index c9fc5209..067bc15e 100755 #--- a/Changelog.txt #+++ b/Changelog.txt #@@ -1,3 +1,9 @@ #+2018-01-29 Alex Tutubalin #+ * Checks for width+left_margin/height+top_margin not larger than 64k #+ * LIBRAW_MAX_ALLOC_MB define limits maximum image/raw_image allocation #+ (default is 2048 so 2Gb per array) #+ * LibRaw::read_shorts item count is now unsigned #+ # 2018-01-19 Alex Tutubalin # Secunia #79000: # Credit: Laurent Delosieres, Secunia Research at Flexera Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2018-03-30 09:54:59.865084347 -0400 +++ libraw-0.15.4/dcraw/dcraw.c 2018-03-30 09:57:28.797400682 -0400 @@ -8681,7 +8681,11 @@ dng_skip: if (!tiff_bps) tiff_bps = 12; if (!maximum) maximum = (1 << tiff_bps) - 1; if (!load_raw || height < 22 || width < 22 || - tiff_bps > 16 || tiff_samples > 4 || colors > 4) + tiff_bps > 16 || tiff_samples > 4 || colors > 4 + /* alloc in unpack() may be fooled by size adjust */ + || ( (int)width + (int)left_margin > 65535) + || ( (int)height + (int)top_margin > 65535) + ) is_raw = 0; #ifdef NO_JASPER if (load_raw == &CLASS redcine_load_raw) { Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2018-03-30 09:54:59.865084347 -0400 +++ libraw-0.15.4/internal/dcraw_common.cpp 2018-03-30 09:59:21.089636198 -0400 @@ -8456,7 +8456,14 @@ dng_skip: } if (!tiff_bps) tiff_bps = 12; if (!maximum) maximum = (1 << tiff_bps) - 1; - if (!load_raw || height < 22) is_raw = 0; + if (!load_raw || height < 22 + /* alloc in unpack() may be fooled by size adjust */ + || ( (int)width + (int)left_margin > 65535) + || ( (int)height + (int)top_margin > 65535) + ) + { + is_raw = 0; + } #ifdef NO_JASPER if (load_raw == &CLASS redcine_load_raw) { #ifdef DCRAW_VERBOSE Index: libraw-0.15.4/libraw/libraw_const.h =================================================================== --- libraw-0.15.4.orig/libraw/libraw_const.h 2018-03-30 09:54:59.865084347 -0400 +++ libraw-0.15.4/libraw/libraw_const.h 2018-03-30 09:59:38.573672675 -0400 @@ -23,6 +23,11 @@ it under the terms of the one of three l #define LIBRAW_DEFAULT_ADJUST_MAXIMUM_THRESHOLD 0.75 #define LIBRAW_DEFAULT_AUTO_BRIGHTNESS_THRESHOLD 0.01 +/* limit allocation size, default is 2Gb */ +#ifndef LIBRAW_MAX_ALLOC_MB +#define LIBRAW_MAX_ALLOC_MB 2048L +#endif + enum LibRaw_decoder_flags { LIBRAW_DECODER_LEGACY = 1, Index: libraw-0.15.4/src/libraw_cxx.cpp =================================================================== --- libraw-0.15.4.orig/src/libraw_cxx.cpp 2018-03-30 09:54:59.865084347 -0400 +++ libraw-0.15.4/src/libraw_cxx.cpp 2018-03-30 10:02:17.542002363 -0400 @@ -1052,6 +1052,8 @@ int LibRaw::unpack(void) rheight = S.height + S.top_margin; } S.raw_pitch = S.raw_width*2; + if(rwidth > 65535 || rheight > 65535) // No way to make image larger than 64k pix + throw LIBRAW_EXCEPTION_IO_CORRUPT; imgdata.rawdata.raw_image = 0; imgdata.rawdata.color4_image = 0; imgdata.rawdata.color3_image = 0; @@ -1125,6 +1127,10 @@ int LibRaw::unpack(void) int zero_rawimage = 0; if(decoder_info.decoder_flags & LIBRAW_DECODER_FLATFIELD) { + + if(INT64(rwidth)*INT64(rheight+8)*sizeof(imgdata.rawdata.raw_image[0]) > LIBRAW_MAX_ALLOC_MB * INT64(1024*1024)) + throw LIBRAW_EXCEPTION_ALLOC; + imgdata.rawdata.raw_alloc = malloc(rwidth*(rheight+7)*sizeof(imgdata.rawdata.raw_image[0])); imgdata.rawdata.raw_image = (ushort*) imgdata.rawdata.raw_alloc; } @@ -1138,6 +1144,9 @@ int LibRaw::unpack(void) S.raw_pitch = S.width*8; // allocate image as temporary buffer, size imgdata.rawdata.raw_alloc = 0; + if(INT64(MAX(S.width,S.raw_width))*INT64(MAX(S.height,S.raw_height))*sizeof(*imgdata.image) > LIBRAW_MAX_ALLOC_MB * INT64(1024*1024)) + throw LIBRAW_EXCEPTION_ALLOC; + imgdata.image = (ushort (*)[4]) calloc(unsigned(MAX(S.width,S.raw_width))*unsigned(MAX(S.height,S.raw_height)),sizeof(*imgdata.image)); imgdata.rawdata.raw_image = (ushort*) imgdata.image ; zero_rawimage = 1; debian/patches/CVE-2017-14608.patch0000644000000000000000000000351513203361734013330 0ustar From d13e8f6d1e987b7491182040a188c16a395f1d21 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Wed, 13 Sep 2017 09:31:01 +0300 Subject: [PATCH] CVE-2017-1438 credits; fix for Kodak 65000 out of bounds access --- Changelog.txt | 6 +++++- dcraw/dcraw.c | 11 +++++++++-- internal/dcraw_common.cpp | 11 +++++++++-- 3 files changed, 23 insertions(+), 5 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:15:38.841244178 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:15:38.833244087 -0500 @@ -2317,8 +2317,15 @@ void CLASS kodak_65000_load_raw() len = MIN (256, width-col); ret = kodak_65000_decode (buf, len); for (i=0; i < len; i++) - if ((RAW(row,col+i) = curve[ret ? buf[i] : - (pred[i & 1] += buf[i])]) >> 12) derror(); + { + int idx = ret ? buf[i] : (pred[i & 1] += buf[i]); + if(idx >=0 && idx <= 0xffff) + { + if ((RAW(row,col+i) = curve[idx]) >> 12) derror(); + } + else + derror(); + } } } Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2017-11-16 14:15:38.841244178 -0500 +++ libraw-0.15.4/internal/dcraw_common.cpp 2017-11-16 14:15:38.837244132 -0500 @@ -2474,8 +2474,15 @@ void CLASS kodak_65000_load_raw() len = MIN (256, width-col); ret = kodak_65000_decode (buf, len); for (i=0; i < len; i++) - if ((RAW(row,col+i) = curve[ret ? buf[i] : - (pred[i & 1] += buf[i])]) >> 12) derror(); + { + int idx = ret ? buf[i] : (pred[i & 1] += buf[i]); + if(idx >=0 && idx <= 0xffff) + { + if ((RAW(row,col+i) = curve[idx]) >> 12) derror(); + } + else + derror(); + } } } debian/patches/CVE-2017-688x.patch0000644000000000000000000000641413203361031013352 0ustar Backport of: From d7c3d2cb460be10a3ea7b32e9443a83c243b2251 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Sat, 4 Mar 2017 21:27:39 +0300 Subject: [PATCH] Secunia SA75000 advisory: several buffer overruns --- dcraw/dcraw.c | 12 ++++++++++-- internal/dcraw_common.cpp | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:05:54.746597431 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:07:26.203637881 -0500 @@ -5447,7 +5447,12 @@ int CLASS parse_tiff_ifd (int base) if (!strcmp(model,"DSLR-A100") && tiff_ifd[ifd].width == 3872) { load_raw = &CLASS sony_arw_load_raw; data_offset = get4()+base; - ifd++; break; + ifd++; +#ifdef LIBRAW_LIBRARY_BUILD + if (ifd >= sizeof tiff_ifd / sizeof tiff_ifd[0]) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + break; } while (len--) { i = ftell(ifp); @@ -5599,7 +5604,8 @@ int CLASS parse_tiff_ifd (int base) break; case 50454: /* Sinar tag */ case 50455: - if (!(cbuf = (char *) malloc(len))) break; + if (len < 1 || len > 2560000 || !(cbuf = (char *)malloc(len))) + break; fread (cbuf, 1, len, ifp); for (cp = cbuf-1; cp && cp < cbuf+len; cp = strchr(cp,'\n')) if (!strncmp (++cp,"Neutral ",8)) @@ -6334,7 +6340,11 @@ int CLASS parse_jpeg (int offset) } order = get2(); hlen = get4(); - if (get4() == 0x48454150) /* "HEAP" */ + if (get4() == 0x48454150 +#ifdef LIBRAW_LIBRARY_BUILD + && (save+hlen) >= 0 && (save+hlen)<=ifp->size() +#endif + ) /* "HEAP" */ parse_ciff (save+hlen, len-hlen, 0); if (parse_tiff (save+6)) apply_tiff(); fseek (ifp, save+len, SEEK_SET); Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2017-11-16 14:05:54.746597431 -0500 +++ libraw-0.15.4/internal/dcraw_common.cpp 2017-11-16 14:07:54.095955218 -0500 @@ -5170,7 +5170,12 @@ int CLASS parse_tiff_ifd (int base) if (!strcmp(model,"DSLR-A100") && tiff_ifd[ifd].t_width == 3872) { load_raw = &CLASS sony_arw_load_raw; data_offset = get4()+base; - ifd++; break; + ifd++; +#ifdef LIBRAW_LIBRARY_BUILD + if (ifd >= sizeof tiff_ifd / sizeof tiff_ifd[0]) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + break; } if(len > 1000) len=1000; /* 1000 SubIFDs is enough */ while (len--) { @@ -5324,7 +5329,8 @@ int CLASS parse_tiff_ifd (int base) break; case 50454: /* Sinar tag */ case 50455: - if (!(cbuf = (char *) malloc(len))) break; + if (len < 1 || len > 2560000 || !(cbuf = (char *)malloc(len))) + break; fread (cbuf, 1, len, ifp); for (cp = cbuf-1; cp && cp < cbuf+len; cp = strchr(cp,'\n')) if (!strncmp (++cp,"Neutral ",8)) @@ -6122,7 +6128,11 @@ int CLASS parse_jpeg (int offset) } order = get2(); hlen = get4(); - if (get4() == 0x48454150) /* "HEAP" */ + if (get4() == 0x48454150 +#ifdef LIBRAW_LIBRARY_BUILD + && (save+hlen) >= 0 && (save+hlen)<=ifp->size() +#endif + ) /* "HEAP" */ parse_ciff (save+hlen, len-hlen); if (parse_tiff (save+6)) apply_tiff(); fseek (ifp, save+len, SEEK_SET); debian/patches/CVE-2017-16909.patch0000644000000000000000000001440113257440246013337 0ustar Backport of: From dbd47d872116f8fafc269869820ff37014bc45c4 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Sat, 2 Dec 2017 12:01:40 +0300 Subject: [PATCH] merged f1394822a0152ceed77815eafa5cac4e8baab10a from master --- dcraw/dcraw.c | 31 ++++++++++++++++++++++--------- internal/dcraw_common.cpp | 31 ++++++++++++++++++++++--------- libraw/libraw_const.h | 33 ++++++++++++++++----------------- 3 files changed, 60 insertions(+), 35 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2018-03-30 09:24:35.680115506 -0400 +++ libraw-0.15.4/dcraw/dcraw.c 2018-03-30 09:26:54.576347128 -0400 @@ -1779,7 +1779,7 @@ void CLASS panasonic_load_raw() int row, col, i, j, sh=0, pred[2], nonz[2]; pana_bits(0); - for (row=0; row < height; row++) + for (row = 0; row < raw_height; row++) for (col=0; col < raw_width; col++) { if ((i = col % 14) == 0) pred[0] = pred[1] = nonz[0] = nonz[1] = 0; @@ -1788,11 +1788,13 @@ void CLASS panasonic_load_raw() if ((j = pana_bits(8))) { if ((pred[i & 1] -= 0x80 << sh) < 0 || sh == 4) pred[i & 1] &= ~(-1 << sh); - pred[i & 1] += j << sh; - } - } else if ((nonz[i & 1] = pana_bits(8)) || i > 11) - pred[i & 1] = nonz[i & 1] << 4 | pana_bits(4); - if ((RAW(row,col) = pred[col & 1]) > 4098 && col < width) derror(); + pred[i & 1] += j << sh; + } + } + else if ((nonz[i & 1] = pana_bits(8)) || i > 11) + pred[i & 1] = nonz[i & 1] << 4 | pana_bits(4); + if ((RAW(row, col) = pred[col & 1]) > 4098 && col < width && row < height) + derror(); } } @@ -6316,8 +6318,13 @@ void CLASS parse_fuji (int offset) fseek (ifp, offset, SEEK_SET); entries = get4(); - if (entries > 255) return; - while (entries--) { + if (entries > 255) + return; +#ifdef LIBRAW_LIBRARY_BUILD + imgdata.process_warnings |= LIBRAW_WARN_PARSEFUJI_PROCESSED; +#endif + while (entries--) + { tag = get2(); len = get2(); save = ftell(ifp); @@ -8584,7 +8591,13 @@ konica_400z: } } dng_skip: - if (fuji_width) { +#ifdef LIBRAW_LIBRARY_BUILD + // Clear erorneus fuji_width if not set through parse_fuji or for DNG + if(fuji_width && !dng_version && !(imgdata.process_warnings & LIBRAW_WARN_PARSEFUJI_PROCESSED )) + fuji_width = 0; +#endif + if (fuji_width) + { fuji_width = width >> !fuji_layout; if (~fuji_width & 1) filters = 0x49494949; width = (height >> fuji_layout) + fuji_width; Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2018-03-30 09:24:35.680115506 -0400 +++ libraw-0.15.4/internal/dcraw_common.cpp 2018-03-30 09:27:51.212441376 -0400 @@ -1885,7 +1885,7 @@ void CLASS panasonic_load_raw() int row, col, i, j, sh=0, pred[2], nonz[2]; pana_bits(0); - for (row=0; row < height; row++) + for (row = 0; row < raw_height; row++) for (col=0; col < raw_width; col++) { if ((i = col % 14) == 0) pred[0] = pred[1] = nonz[0] = nonz[1] = 0; @@ -1894,11 +1894,13 @@ void CLASS panasonic_load_raw() if ((j = pana_bits(8))) { if ((pred[i & 1] -= 0x80 << sh) < 0 || sh == 4) pred[i & 1] &= ~(-1 << sh); - pred[i & 1] += j << sh; - } - } else if ((nonz[i & 1] = pana_bits(8)) || i > 11) - pred[i & 1] = nonz[i & 1] << 4 | pana_bits(4); - if ((RAW(row,col) = pred[col & 1]) > 4098 && col < width) derror(); + pred[i & 1] += j << sh; + } + } + else if ((nonz[i & 1] = pana_bits(8)) || i > 11) + pred[i & 1] = nonz[i & 1] << 4 | pana_bits(4); + if ((RAW(row, col) = pred[col & 1]) > 4098 && col < width && row < height) + derror(); } } @@ -6092,8 +6094,13 @@ void CLASS parse_fuji (int offset) fseek (ifp, offset, SEEK_SET); entries = get4(); - if (entries > 255) return; - while (entries--) { + if (entries > 255) + return; +#ifdef LIBRAW_LIBRARY_BUILD + imgdata.process_warnings |= LIBRAW_WARN_PARSEFUJI_PROCESSED; +#endif + while (entries--) + { tag = get2(); len = get2(); save = ftell(ifp); @@ -8402,7 +8409,13 @@ wb550: } } dng_skip: - if (fuji_width) { +#ifdef LIBRAW_LIBRARY_BUILD + // Clear erorneus fuji_width if not set through parse_fuji or for DNG + if(fuji_width && !dng_version && !(imgdata.process_warnings & LIBRAW_WARN_PARSEFUJI_PROCESSED )) + fuji_width = 0; +#endif + if (fuji_width) + { fuji_width = width >> !fuji_layout; if (~fuji_width & 1) filters = 0x49494949; width = (height >> fuji_layout) + fuji_width; Index: libraw-0.15.4/libraw/libraw_const.h =================================================================== --- libraw-0.15.4.orig/libraw/libraw_const.h 2018-03-30 09:24:35.680115506 -0400 +++ libraw-0.15.4/libraw/libraw_const.h 2018-03-30 09:28:25.764498826 -0400 @@ -44,22 +44,22 @@ enum LibRaw_constructor_flags enum LibRaw_warnings { - LIBRAW_WARN_NONE =0, - LIBRAW_WARN_FOVEON_NOMATRIX =1, - LIBRAW_WARN_FOVEON_INVALIDWB =1<<1, - LIBRAW_WARN_BAD_CAMERA_WB =1<<2, - LIBRAW_WARN_NO_METADATA =1<<3, - LIBRAW_WARN_NO_JPEGLIB = 1<<4, - LIBRAW_WARN_NO_EMBEDDED_PROFILE = 1<<5, - LIBRAW_WARN_NO_INPUT_PROFILE = 1<<6, - LIBRAW_WARN_BAD_OUTPUT_PROFILE= 1<<7, - LIBRAW_WARN_NO_BADPIXELMAP=1<<8, - LIBRAW_WARN_BAD_DARKFRAME_FILE=1<<9, - LIBRAW_WARN_BAD_DARKFRAME_DIM=1<<10, - LIBRAW_WARN_NO_JASPER = 1<<11, - LIBRAW_WARN_RAWSPEED_PROBLEM = 1<<12, - LIBRAW_WARN_RAWSPEED_UNSUPPORTED = 1<<13, - LIBRAW_WARN_RAWSPEED_PROCESSED = 1<<14 + LIBRAW_WARN_NONE = 0, + LIBRAW_WARN_BAD_CAMERA_WB = 1 << 2, + LIBRAW_WARN_NO_METADATA = 1 << 3, + LIBRAW_WARN_NO_JPEGLIB = 1 << 4, + LIBRAW_WARN_NO_EMBEDDED_PROFILE = 1 << 5, + LIBRAW_WARN_NO_INPUT_PROFILE = 1 << 6, + LIBRAW_WARN_BAD_OUTPUT_PROFILE = 1 << 7, + LIBRAW_WARN_NO_BADPIXELMAP = 1 << 8, + LIBRAW_WARN_BAD_DARKFRAME_FILE = 1 << 9, + LIBRAW_WARN_BAD_DARKFRAME_DIM = 1 << 10, + LIBRAW_WARN_NO_JASPER = 1 << 11, + LIBRAW_WARN_RAWSPEED_PROBLEM = 1 << 12, + LIBRAW_WARN_RAWSPEED_UNSUPPORTED = 1 << 13, + LIBRAW_WARN_RAWSPEED_PROCESSED = 1 << 14, + LIBRAW_WARN_FALLBACK_TO_AHD = 1 << 15, + LIBRAW_WARN_PARSEFUJI_PROCESSED = 1 << 16 }; enum LibRaw_exceptions debian/patches/CVE-2017-14265.patch0000644000000000000000000000407313203361544013326 0ustar From 82616eff4c7f7437e96bdeeed238c3ef3dc12d60 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Sat, 9 Sep 2017 02:00:00 +0400 Subject: [PATCH] 0.18.3 --- Changelog.txt | 13 +++++++++++++ dcraw/dcraw.c | 26 +++++++++++++++++++++++++- internal/dcraw_common.cpp | 41 +++++++++++++++++++++++++++++++++++++---- libraw/libraw_version.h | 2 +- 4 files changed, 76 insertions(+), 6 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:08:54.636644035 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:12:25.811047099 -0500 @@ -4286,6 +4286,10 @@ void CLASS cielab (ushort rgb[3], short void CLASS xtrans_interpolate (int passes) { int c, d, f, g, h, i, v, ng, row, col, top, left, mrow, mcol; +#ifdef LIBRAW_LIBRARY_BUILD + int cstat[4]={0,0,0,0}; +#endif + int val, ndir, pass, hm[8], avg[4], color[3][8]; static const short orth[12] = { 1,0,0,1,-1,0,0,-1,1,0,0,1 }, patt[2][16] = { { 0,1,0,-1,2,0,-1,0,1,1,1,-1,0,0,0,0 }, @@ -4301,6 +4305,18 @@ void CLASS xtrans_interpolate (int passe if (verbose) fprintf (stderr,_("%d-pass X-Trans interpolation...\n"), passes); +#ifdef LIBRAW_LIBRARY_BUILD +/* Check against right pattern */ + for (row = 0; row < 6; row++) + for (col = 0; col < 6; col++) + cstat[fcol(row,col)]++; + + if(cstat[0] < 6 || cstat[0]>10 || cstat[1]< 16 + || cstat[1]>24 || cstat[2]< 6 || cstat[2]>10 || cstat[3]) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + + cielab (0,0); border_interpolate(6); ndir = 4 << (passes > 1); @@ -6309,7 +6325,11 @@ void CLASS parse_fuji (int offset) fuji_width = !(fgetc(ifp) & 8); } else if (tag == 0x131) { filters = 9; - FORC(36) xtrans[0][35-c] = fgetc(ifp) & 3; + FORC(36) + { + int q = fgetc(ifp); + xtrans[0][35 - c] = MAX(0,MIN(q,2)); /* & 3;*/ + } } else if (tag == 0x2ff0) { FORC4 cam_mul[c ^ 1] = get2(); } else if (tag == 0xc000) { debian/patches/CVE-2018-580x.patch0000644000000000000000000001551313257440636013364 0ustar Backport of: From 8682ad204392b914ab1cc6ebcca9c27c19c1a4b4 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Wed, 6 Dec 2017 11:46:47 +0300 Subject: [PATCH] 0.18.17 --- Changelog.txt | 9 +++++++++ dcraw/dcraw.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ internal/dcraw_common.cpp | 37 +++++++++++++++++++++++++++++++++++++ libraw/libraw_version.h | 2 +- src/libraw_cxx.cpp | 2 +- 5 files changed, 93 insertions(+), 2 deletions(-) #diff --git a/Changelog.txt b/Changelog.txt #index 9f0ea21c..c9fc5209 100755 #--- a/Changelog.txt #+++ b/Changelog.txt #@@ -1,3 +1,12 @@ #+2018-01-19 Alex Tutubalin #+Secunia #79000: #+Credit: Laurent Delosieres, Secunia Research at Flexera #+ * All legacy (RGB raw) image loaders checks for imgdata.image is not NULL #+ * kodak_radc_load_raw: check image size before processing #+ * legacy memory allocator: allocate max(widh,raw_width)*max(height,raw_height) #+ * LibRaw 0.18.7 #+ #+ # 2017-12-06 Alex Tutubalin # Secunia #76000: # * Fixed fuji_width handling if file is neither fuji nor DNG Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2018-03-30 09:52:34.008768813 -0400 +++ libraw-0.15.4/dcraw/dcraw.c 2018-03-30 09:53:28.500887469 -0400 @@ -1647,6 +1647,10 @@ void CLASS sinar_4shot_load_raw() unpacked_load_raw(); return; } +#ifdef LIBRAW_LIBRARY_BUILD + else if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif free (raw_image); raw_image = 0; free (image); @@ -1946,6 +1950,11 @@ void CLASS quicktake_100_load_raw() void CLASS kodak_radc_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + // All kodak radc images are 768x512 + if(width>768 || raw_width>768 || height > 512 || raw_height>512 ) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif static const char src[] = { 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8, 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8, @@ -2108,6 +2117,10 @@ void CLASS kodak_jpeg_load_raw() void CLASS lossy_dng_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif struct jpeg_decompress_struct cinfo; struct jpeg_error_mgr jerr; JSAMPARRAY buf; @@ -2199,6 +2212,10 @@ void CLASS eight_bit_load_raw() void CLASS kodak_yrgb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif uchar *pixel; int row, col, y, cb, cr, rgb[3], c; @@ -2333,6 +2350,10 @@ void CLASS kodak_65000_load_raw() void CLASS kodak_ycbcr_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif short buf[384], *bp; int row, col, len, c, i, j, k, y[2][2], cb, cr, rgb[3]; ushort *ip; @@ -2361,6 +2382,10 @@ void CLASS kodak_ycbcr_load_raw() void CLASS kodak_rgb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif short buf[768], *bp; int row, col, len, c, i, rgb[3]; ushort *ip=image[0]; @@ -2379,6 +2404,10 @@ void CLASS kodak_rgb_load_raw() void CLASS kodak_thumb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif int row, col; colors = thumb_misc >> 5; for (row=0; row < height; row++) @@ -2779,6 +2808,10 @@ void CLASS foveon_thumb() void CLASS foveon_sd_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif struct decode *dindex; short diff[1024]; unsigned bitbuf=0; @@ -2826,6 +2859,10 @@ void CLASS foveon_huff (ushort *huff) void CLASS foveon_dp_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif unsigned c, roff[4], row, col, diff; ushort huff[512], vpred[2][2], hpred[2]; Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2018-03-30 09:52:34.008768813 -0400 +++ libraw-0.15.4/internal/dcraw_common.cpp 2018-03-30 09:54:18.596995719 -0400 @@ -1762,6 +1762,10 @@ void CLASS sinar_4shot_load_raw() unpacked_load_raw(); return; } +#ifdef LIBRAW_LIBRARY_BUILD + else if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif #ifndef LIBRAW_LIBRARY_BUILD free (raw_image); raw_image = 0; @@ -2077,6 +2081,11 @@ void CLASS quicktake_100_load_raw() void CLASS kodak_radc_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + // All kodak radc images are 768x512 + if(width>768 || raw_width>768 || height > 512 || raw_height>512 ) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif static const char src[] = { 1,1, 2,3, 3,4, 4,2, 5,7, 6,5, 7,6, 7,8, 1,0, 2,1, 3,3, 4,4, 5,2, 6,7, 7,6, 8,5, 8,8, @@ -2257,6 +2266,10 @@ void CLASS kodak_jpeg_load_raw() void CLASS lossy_dng_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif struct jpeg_decompress_struct cinfo; struct jpeg_error_mgr jerr; JSAMPARRAY buf; @@ -2356,6 +2369,10 @@ void CLASS eight_bit_load_raw() void CLASS kodak_yrgb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif uchar *pixel; int row, col, y, cb, cr, rgb[3], c; @@ -2490,6 +2507,10 @@ void CLASS kodak_65000_load_raw() void CLASS kodak_ycbcr_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif short buf[384], *bp; int row, col, len, c, i, j, k, y[2][2], cb, cr, rgb[3]; ushort *ip; @@ -2517,6 +2538,10 @@ void CLASS kodak_ycbcr_load_raw() void CLASS kodak_rgb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif short buf[768], *bp; int row, col, len, c, i, rgb[3]; ushort *ip=image[0]; @@ -2537,6 +2562,10 @@ void CLASS kodak_rgb_load_raw() void CLASS kodak_thumb_load_raw() { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif int row, col; colors = thumb_misc >> 5; for (row=0; row < height; row++) Index: libraw-0.15.4/src/libraw_cxx.cpp =================================================================== --- libraw-0.15.4.orig/src/libraw_cxx.cpp 2018-03-30 09:52:34.008768813 -0400 +++ libraw-0.15.4/src/libraw_cxx.cpp 2018-03-30 09:52:34.008768813 -0400 @@ -1138,7 +1138,7 @@ int LibRaw::unpack(void) S.raw_pitch = S.width*8; // allocate image as temporary buffer, size imgdata.rawdata.raw_alloc = 0; - imgdata.image = (ushort (*)[4]) calloc(S.iwidth*S.iheight,sizeof(*imgdata.image)); + imgdata.image = (ushort (*)[4]) calloc(unsigned(MAX(S.width,S.raw_width))*unsigned(MAX(S.height,S.raw_height)),sizeof(*imgdata.image)); imgdata.rawdata.raw_image = (ushort*) imgdata.image ; zero_rawimage = 1; } debian/patches/CVE-2015-3885.patch0000644000000000000000000000264513203360443013252 0ustar Backport of: From 4606c28f494a750892c5c1ac7903e62dd1c6fdb5 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Mon, 11 May 2015 11:52:20 +0300 Subject: [PATCH] 0.16.1: fix for dcraw ljpeg_start() vulnerability --- Changelog.rus | 8 ++++++-- Changelog.txt | 4 ++++ dcraw/dcraw.c | 3 ++- internal/dcraw_common.cpp | 15 ++++++++++++++- internal/dcraw_fileio.cpp | 8 ++++---- libraw/libraw_version.h | 2 +- 6 files changed, 31 insertions(+), 9 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:03:10.488729060 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:03:10.476728924 -0500 @@ -768,7 +768,8 @@ struct jhead { int CLASS ljpeg_start (struct jhead *jh, int info_only) { - int c, tag, len; + int c, tag; + ushort len; uchar data[0x10000]; const uchar *dp; Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2017-11-16 14:03:10.488729060 -0500 +++ libraw-0.15.4/internal/dcraw_common.cpp 2017-11-16 14:03:40.485070229 -0500 @@ -548,7 +548,8 @@ void CLASS canon_load_raw() } int CLASS ljpeg_start (struct jhead *jh, int info_only) { - int c, tag, len; + int c, tag; + ushort len; uchar data[0x10000]; const uchar *dp; debian/patches/CVE-2015-836x.patch0000644000000000000000000000633713203360566013363 0ustar From 89d065424f09b788f443734d44857289489ca9e2 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Tue, 24 Nov 2015 17:53:24 +0300 Subject: [PATCH] fixed two more problems found by fuzzer --- dcraw/dcraw.c | 4 ++++ internal/dcraw_common.cpp | 4 ++++ src/libraw_cxx.cpp | 7 ++++++- 3 files changed, 14 insertions(+), 1 deletion(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2017-11-16 14:04:18.405501542 -0500 +++ libraw-0.15.4/dcraw/dcraw.c 2017-11-16 14:04:18.401501496 -0500 @@ -2558,6 +2558,10 @@ void CLASS smal_decode_segment (unsigned diff = diff ? -diff : 0x80; if (ftell(ifp) + 12 >= seg[1][1]) diff = 0; +#ifdef LIBRAW_LIBRARY_BUILD + if(pix>=raw_width*raw_height) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif raw_image[pix] = pred[pix & 1] += diff; if (!(pix & 1) && HOLE(pix / raw_width)) pix += 2; } Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2017-11-16 14:04:18.405501542 -0500 +++ libraw-0.15.4/internal/dcraw_common.cpp 2017-11-16 14:04:18.401501496 -0500 @@ -2751,6 +2751,10 @@ void CLASS smal_decode_segment (unsigned diff = diff ? -diff : 0x80; if (ftell(ifp) + 12 >= seg[1][1]) diff = 0; +#ifdef LIBRAW_LIBRARY_BUILD + if(pix>=raw_width*raw_height) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif raw_image[pix] = pred[pix & 1] += diff; if (!(pix & 1) && HOLE(pix / raw_width)) pix += 2; } Index: libraw-0.15.4/src/libraw_cxx.cpp =================================================================== --- libraw-0.15.4.orig/src/libraw_cxx.cpp 2017-11-16 14:04:18.405501542 -0500 +++ libraw-0.15.4/src/libraw_cxx.cpp 2017-11-16 14:04:53.329898795 -0500 @@ -1121,7 +1121,8 @@ int LibRaw::unpack(void) #endif if(!imgdata.rawdata.raw_image && !imgdata.rawdata.color4_image && !imgdata.rawdata.color3_image) // RawSpeed failed! { - // Not allocated on RawSpeed call, try call LibRaw + // Not allocated on RawSpeed call, try call LibRaow + int zero_rawimage = 0; if(decoder_info.decoder_flags & LIBRAW_DECODER_FLATFIELD) { imgdata.rawdata.raw_alloc = malloc(rwidth*(rheight+7)*sizeof(imgdata.rawdata.raw_image[0])); @@ -1138,6 +1139,8 @@ int LibRaw::unpack(void) // allocate image as temporary buffer, size imgdata.rawdata.raw_alloc = 0; imgdata.image = (ushort (*)[4]) calloc(S.iwidth*S.iheight,sizeof(*imgdata.image)); + imgdata.rawdata.raw_image = (ushort*) imgdata.image ; + zero_rawimage = 1; } ID.input->seek(libraw_internal_data.unpacker_data.data_offset, SEEK_SET); @@ -1145,6 +1148,8 @@ int LibRaw::unpack(void) if(load_raw == &LibRaw::unpacked_load_raw && !strcasecmp(imgdata.idata.make,"Nikon")) C.maximum=65535; (this->*load_raw)(); + if(zero_rawimage) + imgdata.rawdata.raw_image = 0; if(load_raw == &LibRaw::unpacked_load_raw && !strcasecmp(imgdata.idata.make,"Nikon")) C.maximum = m_save; if (decoder_info.decoder_flags & LIBRAW_DECODER_LEGACY) debian/patches/security_0.18.8_2.patch0000644000000000000000000000616713257442640014563 0ustar Backport of: From 9f26ce37f5be86ea11bfc6831366558650b1f6ff Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Fri, 23 Feb 2018 21:23:25 +0300 Subject: [PATCH] SA81000: LibRaw 0.18.8 --- Changelog.txt | 8 ++++++++ dcraw/dcraw.c | 35 +++++++++++++++++++++++++++-------- internal/dcraw_common.cpp | 35 +++++++++++++++++++++++++++-------- libraw/libraw_version.h | 2 +- 4 files changed, 63 insertions(+), 17 deletions(-) #diff --git a/Changelog.txt b/Changelog.txt #index 067bc15e..08d6cbea 100755 #--- a/Changelog.txt #+++ b/Changelog.txt #@@ -1,3 +1,11 @@ #+2018-02-23 Alex Tutubalin #+Secunia #81000: #+Credit: Laurent Delosieres, Secunia Research at Flexera #+ * leaf_hdr_load_raw: check for image pointer for demosaiced raw #+ * NOKIARAW parser: check image dimensions readed from file #+ * quicktake_100_load_raw: check width/height limits #+ * LibRaw 0.18.8 #+ # 2018-01-29 Alex Tutubalin # * Checks for width+left_margin/height+top_margin not larger than 64k # * LIBRAW_MAX_ALLOC_MB define limits maximum image/raw_image allocation Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c 2018-03-30 10:08:05.195010126 -0400 +++ libraw-0.15.4/dcraw/dcraw.c 2018-03-30 10:08:05.191010114 -0400 @@ -1598,6 +1598,10 @@ void CLASS leaf_hdr_load_raw() unsigned tile=0, r, c, row, col; if (!filters) { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif pixel = (ushort *) calloc (raw_width, sizeof *pixel); merror (pixel, "leaf_hdr_load_raw()"); } @@ -1897,7 +1901,11 @@ void CLASS quicktake_100_load_raw() 654,665,676,687,698,710,721,732,743,754,766,777,788,799,810,822,833,844, 855,866,878,889,900,911,922,933,945,956,967,978,989,1001,1012,1023 }; int rb, row, col, sharp, val=0; - +#ifdef LIBRAW_LIBRARY_BUILD + if(width>640 || height > 480) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + getbits(-1); memset (pixel, 0x80, sizeof pixel); for (row=2; row < height+2; row++) { Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp 2018-03-30 10:08:05.195010126 -0400 +++ libraw-0.15.4/internal/dcraw_common.cpp 2018-03-30 10:08:05.195010126 -0400 @@ -1713,6 +1713,10 @@ void CLASS leaf_hdr_load_raw() unsigned tile=0, r, c, row, col; if (!filters) { +#ifdef LIBRAW_LIBRARY_BUILD + if(!image) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif pixel = (ushort *) calloc (raw_width, sizeof *pixel); merror (pixel, "leaf_hdr_load_raw()"); } @@ -2022,7 +2026,11 @@ void CLASS quicktake_100_load_raw() 654,665,676,687,698,710,721,732,743,754,766,777,788,799,810,822,833,844, 855,866,878,889,900,911,922,933,945,956,967,978,989,1001,1012,1023 }; int rb, row, col, sharp, val=0; - +#ifdef LIBRAW_LIBRARY_BUILD + if(width>640 || height > 480) + throw LIBRAW_EXCEPTION_IO_CORRUPT; +#endif + getbits(-1); memset (pixel, 0x80, sizeof pixel); for (row=2; row < height+2; row++) { debian/patches/CVE-2018-5813.patch0000644000000000000000000000363013401641232013237 0ustar From 6e245930cece66441f9cce4ccbd61647d7157cce Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Thu, 10 May 2018 11:55:51 +0300 Subject: [PATCH] Secunia Advisory SA83050: possible infinite loop in parse_minolta() --- dcraw/dcraw.c | 6 ++++++ internal/dcraw_common.cpp | 6 ++++++ 2 files changed, 12 insertions(+) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c +++ libraw-0.15.4/dcraw/dcraw.c @@ -6063,10 +6063,16 @@ void CLASS parse_minolta (int base) if (fgetc(ifp) || fgetc(ifp)-'M' || fgetc(ifp)-'R') return; order = fgetc(ifp) * 0x101; offset = base + get4() + 8; +#ifdef LIBRAW_LIBRARY_BUILD + if(offset>ifp->size()-8) // At least 8 bytes for tag/len + offset = ifp->size()-8; +#endif while ((save=ftell(ifp)) < offset) { for (tag=i=0; i < 4; i++) tag = tag << 8 | fgetc(ifp); len = get4(); + if(len < 0) + return; // just ignore wrong len?? or raise bad file exception? switch (tag) { case 0x505244: /* PRD */ fseek (ifp, 8, SEEK_CUR); Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp +++ libraw-0.15.4/internal/dcraw_common.cpp @@ -5731,10 +5731,16 @@ void CLASS parse_minolta (int base) if (fgetc(ifp) || fgetc(ifp)-'M' || fgetc(ifp)-'R') return; order = fgetc(ifp) * 0x101; offset = base + get4() + 8; +#ifdef LIBRAW_LIBRARY_BUILD + if(offset>ifp->size()-8) // At least 8 bytes for tag/len + offset = ifp->size()-8; +#endif while ((save=ftell(ifp)) < offset) { for (tag=i=0; i < 4; i++) tag = tag << 8 | fgetc(ifp); len = get4(); + if(len < 0) + return; // just ignore wrong len?? or raise bad file exception? switch (tag) { case 0x505244: /* PRD */ fseek (ifp, 8, SEEK_CUR); debian/patches/series0000644000000000000000000000042613401654613012037 0ustar CVE-2015-3885.patch CVE-2015-836x.patch CVE-2017-688x.patch CVE-2017-13735.patch CVE-2017-14265.patch CVE-2017-14608.patch CVE-2017-16909.patch CVE-2017-16910.patch CVE-2018-580x.patch security_0.18.8_1.patch security_0.18.8_2.patch CVE-2018-5807_5810.patch CVE-2018-5813.patch debian/patches/CVE-2018-5807_5810.patch0000644000000000000000000001137613401641142013725 0ustar Backport of: From fd6330292501983ac75fe4162275794b18445bd9 Mon Sep 17 00:00:00 2001 From: Alex Tutubalin Date: Tue, 24 Apr 2018 15:17:31 +0300 Subject: [PATCH] Secunia 81800#1: samsumg_load_raw Secunia 81800#2: find_green Secunia 81800#3: rollei_load_raw remove_trailing_spaces: isspace() does not works right with signed non-latin chars Secunia 81800#5/6: nikon_coolscan_load_raw Secunia 81800#4: rollei_load_raw --- dcraw/dcraw.c | 157 ++++++++++++++++++++++++++------------ internal/dcraw_common.cpp | 156 +++++++++++++++++++++++++------------ internal/defines.h | 1 + 3 files changed, 216 insertions(+), 98 deletions(-) Index: libraw-0.15.4/dcraw/dcraw.c =================================================================== --- libraw-0.15.4.orig/dcraw/dcraw.c +++ libraw-0.15.4/dcraw/dcraw.c @@ -220,6 +220,7 @@ struct ph1 { 3 G R G R G R 3 B G B G B G 3 R G R G R G 3 G B G B G B */ +#define RAWINDEX(row, col) ((row)*raw_width + (col)) #define RAW(row,col) \ raw_image[(row)*raw_width+(col)] @@ -1284,7 +1285,12 @@ void CLASS rollei_thumb() void CLASS rollei_load_raw() { uchar pixel[10]; - unsigned iten=0, isix, i, buffer=0, todo[16]; + unsigned iten = 0, isix, i, buffer = 0, todo[16]; +#ifdef LIBRAW_LIBRARY_BUILD + if(raw_width > 32767 || raw_height > 32767) + throw LIBRAW_EXCEPTION_IO_BADFILE; +#endif + unsigned maxpixel = raw_width*(raw_height+7); isix = raw_width * raw_height * 5 / 8; while (fread (pixel, 1, 10, ifp) == 10) { @@ -1297,8 +1303,11 @@ void CLASS rollei_load_raw() todo[i] = isix++; todo[i+1] = buffer >> (14-i)*5; } - for (i=0; i < 16; i+=2) - raw_image[todo[i]] = (todo[i+1] & 0x3ff); + for (i = 0; i < 16; i += 2) + if(todo[i] < maxpixel) + raw_image[todo[i]] = (todo[i + 1] & 0x3ff); + else + derror(); } maximum = 0x3ff; } @@ -2525,6 +2534,11 @@ void CLASS sony_arw2_load_raw() void CLASS samsung_load_raw() { int row, col, c, i, dir, op[4], len[4]; +#ifdef LIBRAW_LIBRARY_BUILD + if(raw_width> 32768 || raw_height > 32768) // definitely too much for old samsung + throw LIBRAW_EXCEPTION_IO_BADFILE; +#endif + unsigned maxpixels = raw_width*(raw_height+7); order = 0x4949; for (row=0; row < raw_height; row++) { @@ -2540,11 +2554,17 @@ void CLASS samsung_load_raw() case 2: len[c]--; break; case 1: len[c]++; } - for (c=0; c < 16; c+=2) { - i = len[((c & 1) << 1) | (c >> 3)]; - RAW(row,col+c) = ((signed) ph1_bits(i) << (32-i) >> (32-i)) + - (dir ? RAW(row+(~c | -2),col+c) : col ? RAW(row,col+(c | -2)) : 128); - if (c == 14) c = -1; + for (c = 0; c < 16; c += 2) + { + i = len[((c & 1) << 1) | (c >> 3)]; + unsigned idest = RAWINDEX(row, col + c); + unsigned isrc = (dir ? RAWINDEX(row + (~c | -2), col + c) : col ? RAWINDEX(row, col + (c | -2)) : 0); + if(idest < maxpixels && isrc < maxpixels) // less than zero is handled by unsigned conversion + RAW(row, col + c) = ((signed)ph1_bits(i) << (32 - i) >> (32 - i)) + (dir ? RAW(row + (~c | -2), col + c) : col ? RAW(row, col + (c | -2)) : 128); + else + derror(); + if (c == 14) + c = -1; } } } @@ -7561,7 +7581,8 @@ float CLASS find_green (int bps, int bit UINT64 bitbuf=0; int vbits, col, i, c; ushort img[2][2064]; - double sum[]={0,0}; + double sum[] = {0, 0}; + if(width > 2064) return 0.f; // too wide FORC(2) { fseek (ifp, c ? off1:off0, SEEK_SET); Index: libraw-0.15.4/internal/dcraw_common.cpp =================================================================== --- libraw-0.15.4.orig/internal/dcraw_common.cpp +++ libraw-0.15.4/internal/dcraw_common.cpp @@ -1377,7 +1377,12 @@ void CLASS rollei_thumb() void CLASS rollei_load_raw() { uchar pixel[10]; - unsigned iten=0, isix, i, buffer=0, todo[16]; + unsigned iten = 0, isix, i, buffer = 0, todo[16]; +#ifdef LIBRAW_LIBRARY_BUILD + if(raw_width > 32767 || raw_height > 32767) + throw LIBRAW_EXCEPTION_IO_BADFILE; +#endif + unsigned maxpixel = raw_width*(raw_height+7); isix = raw_width * raw_height * 5 / 8; while (fread (pixel, 1, 10, ifp) == 10) { @@ -1390,8 +1395,11 @@ void CLASS rollei_load_raw() todo[i] = isix++; todo[i+1] = buffer >> (14-i)*5; } - for (i=0; i < 16; i+=2) - raw_image[todo[i]] = (todo[i+1] & 0x3ff); + for (i = 0; i < 16; i += 2) + if(todo[i] < maxpixel) + raw_image[todo[i]] = (todo[i + 1] & 0x3ff); + else + derror(); } maximum = 0x3ff; } @@ -7308,7 +7316,8 @@ float CLASS find_green (int bps, int bit UINT64 bitbuf=0; int vbits, col, i, c; ushort img[2][2064]; - double sum[]={0,0}; + double sum[] = {0, 0}; + if(width > 2064) return 0.f; // too wide FORC(2) { fseek (ifp, c ? off1:off0, SEEK_SET);