ChangeLog 268 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665
  1. 2017-05-21 Bob Friesenhahn <[email protected]>
  2. * configure.ac: libtiff 4.0.8 released.
  3. * html/v4.0.8.html: Add description of changes targeting the 4.0.8
  4. release.
  5. 2017-05-20 Even Rouault <even.rouault at spatialys.com>
  6. * libtiff/tif_getimage.c: initYCbCrConversion(): stricter validation for
  7. refBlackWhite coefficients values. To avoid invalid float->int32 conversion.
  8. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1718
  9. Credit to OSS Fuzz
  10. 2017-05-18 Even Rouault <even.rouault at spatialys.com>
  11. * libtiff/tif_getimage.c: initYCbCrConversion(): check luma[1] is not zero
  12. to avoid division by zero.
  13. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1665
  14. Credit to OSS Fuzz
  15. 2017-05-17 Even Rouault <even.rouault at spatialys.com>
  16. * libtiff/tif_read.c: _TIFFVSetField(): fix outside range cast of double to
  17. float.
  18. Credit to Google Autofuzz project
  19. 2017-05-17 Even Rouault <even.rouault at spatialys.com>
  20. * libtiff/tif_getimage.c: initYCbCrConversion(): add basic validation of
  21. luma and refBlackWhite coefficients (just check they are not NaN for now),
  22. to avoid potential float to int overflows.
  23. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1663
  24. Credit to OSS Fuzz
  25. 2017-05-17 Even Rouault <even.rouault at spatialys.com>
  26. * libtiff/tif_pixarlog.c: PixarLogDecode(): resync tif_rawcp with
  27. next_in and tif_rawcc with avail_in at beginning and end of function,
  28. similarly to what is done in LZWDecode(). Likely needed so that it
  29. works properly with latest chnges in tif_read.c in CHUNKY_STRIP_READ_SUPPORT
  30. mode. But untested...
  31. 2017-05-17 Even Rouault <even.rouault at spatialys.com>
  32. * libtiff/tif_lzw.c: update dec_bitsleft at beginning of LZWDecode(),
  33. and update tif_rawcc at end of LZWDecode(). This is needed to properly
  34. work with the latest chnges in tif_read.c in CHUNKY_STRIP_READ_SUPPORT
  35. mode.
  36. 2017-05-14 Even Rouault <even.rouault at spatialys.com>
  37. * libtiff/tif_luv.c: LogL16InitState(): avoid excessive memory
  38. allocation when RowsPerStrip tag is missing.
  39. Credit to OSS-Fuzz (locally run, on GDAL)
  40. 2017-05-14 Even Rouault <even.rouault at spatialys.com>
  41. * libtiff/tif_packbits.c: fix out-of-buffer read in PackBitsDecode()
  42. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1563
  43. Credit to OSS-Fuzz
  44. 2017-05-13 Even Rouault <even.rouault at spatialys.com>
  45. * libtiff/tif_pixarlog.c, tif_luv.c: avoid potential int32
  46. overflows in multiply_ms() and add_ms().
  47. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1558
  48. Credit to OSS-Fuzz
  49. 2017-05-13 Even Rouault <even.rouault at spatialys.com>
  50. * libtiff/tif_color.c: avoid potential int32 overflow in
  51. TIFFYCbCrToRGBInit()
  52. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1533
  53. Credit to OSS-Fuzz
  54. 2017-05-13 Even Rouault <even.rouault at spatialys.com>
  55. * libtiff/tif_read.c: update tif_rawcc in CHUNKY_STRIP_READ_SUPPORT
  56. mode with tif_rawdataloaded when calling TIFFStartStrip() or
  57. TIFFFillStripPartial(). This avoids reading beyond tif_rawdata
  58. when bytecount > tif_rawdatasize.
  59. Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1545.
  60. Credit to OSS-Fuzz
  61. 2017-05-12 Even Rouault <even.rouault at spatialys.com>
  62. * libtiff/tif_read.c: TIFFFillStripPartial():
  63. avoid excessive memory allocation in case of shorten files.
  64. Only effective on 64 bit builds.
  65. Credit to OSS-Fuzz (locally run, on GDAL)
  66. 2017-05-12 Even Rouault <even.rouault at spatialys.com>
  67. * libtiff/tif_read.c: TIFFFillStripPartial() / TIFFSeek(),
  68. avoid potential integer overflows with read_ahead in
  69. CHUNKY_STRIP_READ_SUPPORT mode. Should
  70. especially occur on 32 bit platforms.
  71. 2017-05-10 Even Rouault <even.rouault at spatialys.com>
  72. * libtiff/tif_read.c: TIFFFillStrip() and TIFFFillTile():
  73. avoid excessive memory allocation in case of shorten files.
  74. Only effective on 64 bit builds and non-mapped cases.
  75. Credit to OSS-Fuzz (locally run, on GDAL)
  76. 2017-05-10 Even Rouault <even.rouault at spatialys.com>
  77. * libtiff/tif_zip.c, tif_pixarlog.c, tif_predict.c: fix memory
  78. leak when the underlying codec (ZIP, PixarLog) succeeds its
  79. setupdecode() method, but PredictorSetup fails.
  80. Credit to OSS-Fuzz (locally run, on GDAL)
  81. 2017-05-10 Even Rouault <even.rouault at spatialys.com>
  82. * libtiff/tif_read.c: TIFFFillStrip(): add limitation to the number
  83. of bytes read in case td_stripbytecount[strip] is bigger than
  84. reasonable, so as to avoid excessive memory allocation.
  85. 2017-04-28 Even Rouault <even.rouault at spatialys.com>
  86. * tools/tiff2bw.c: close TIFF handle in error code path.
  87. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2677
  88. 2017-04-27 Even Rouault <even.rouault at spatialys.com>
  89. * litiff/tif_fax3.c: avoid crash in Fax3Close() on empty file.
  90. Patch by Alan Coopersmith + complement by myself.
  91. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2673
  92. * tools/fax2tiff.c: emit appropriate message if the input file is
  93. empty. Patch by Alan Coopersmith.
  94. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2672
  95. 2017-04-27 Even Rouault <even.rouault at spatialys.com>
  96. * libtiff/tif_ojpeg.c: fix potential memory leak in
  97. OJPEGReadHeaderInfoSecTablesQTable, OJPEGReadHeaderInfoSecTablesDcTable
  98. and OJPEGReadHeaderInfoSecTablesAcTable
  99. Patch by Nicolás Peña.
  100. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2670
  101. 2017-04-27 Even Rouault <even.rouault at spatialys.com>
  102. * libtiff/tif_dirread.c: fix memory leak in non DEFER_STRILE_LOAD
  103. mode (ie default) when there is both a StripOffsets and
  104. TileOffsets tag, or a StripByteCounts and TileByteCounts
  105. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2689
  106. * tools/tiff2ps.c: call TIFFClose() in error code paths.
  107. 2017-02-25 Even Rouault <even.rouault at spatialys.com>
  108. * libtiff/tif_fax3.c, tif_predict.c, tif_getimage.c: fix GCC 7
  109. -Wimplicit-fallthrough warnings.
  110. 2017-02-18 Even Rouault <even.rouault at spatialys.com>
  111. * libtiff/tif_pixarlog.c: fix memory leak in error code path of
  112. PixarLogSetupDecode(). Patch by Nicolás Peña.
  113. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2665
  114. 2017-02-18 Even Rouault <even.rouault at spatialys.com>
  115. * libtiff/tif_lzw.c: in LZWPostEncode(), increase, if necessary, the
  116. code bit-width after flushing the remaining code and before emitting
  117. the EOI code.
  118. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=1982
  119. 2017-01-31 Even Rouault <even.rouault at spatialys.com>
  120. * libtiff/tif_jpeg.c: only run JPEGFixupTagsSubsampling() if the
  121. YCbCrSubsampling tag is not explicitly present. This helps a bit to reduce
  122. the I/O amount when te tag is present (especially on cloud hosted files).
  123. 2017-01-14 Even Rouault <even.rouault at spatialys.com>
  124. * tools/raw2tiff.c: avoid integer division by zero.
  125. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2631
  126. 2017-01-12 Even Rouault <even.rouault at spatialys.com>
  127. * libtiff/tif_ojpeg.c: fix leak in OJPEGReadHeaderInfoSecTablesQTable,
  128. OJPEGReadHeaderInfoSecTablesDcTable and OJPEGReadHeaderInfoSecTablesAcTable
  129. when read fails.
  130. Patch by Nicolás Peña.
  131. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2659
  132. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  133. * libtiff/tif_luv.c, tif_lzw.c, tif_packbits.c: return 0 in Encode
  134. functions instead of -1 when TIFFFlushData1() fails.
  135. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2130
  136. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  137. * tools/tiffcp.c: error out cleanly in cpContig2SeparateByRow and
  138. cpSeparate2ContigByRow if BitsPerSample != 8 to avoid heap based overflow.
  139. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2656 and
  140. http://bugzilla.maptools.org/show_bug.cgi?id=2657
  141. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  142. * libtiff/tiffio.h, tif_unix.c, tif_win32.c, tif_vms.c: add _TIFFcalloc()
  143. * libtiff/tif_read.c: TIFFReadBufferSetup(): use _TIFFcalloc() to zero
  144. initialize tif_rawdata.
  145. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2651
  146. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  147. * libtiff/tif_getimage.c: add explicit uint32 cast in putagreytile to
  148. avoid UndefinedBehaviorSanitizer warning.
  149. Patch by Nicolás Peña.
  150. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2658
  151. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  152. * libtiff/tif_read.c: avoid potential undefined behaviour on signed integer
  153. addition in TIFFReadRawStrip1() in isMapped() case.
  154. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2650
  155. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  156. * libtiff/tif_jpeg.c: validate BitsPerSample in JPEGSetupEncode() to avoid
  157. undefined behaviour caused by invalid shift exponent.
  158. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2648
  159. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  160. * libtiff/tif_dir.c, tif_dirread.c, tif_dirwrite.c: implement various clampings
  161. of double to other data types to avoid undefined behaviour if the output range
  162. isn't big enough to hold the input value.
  163. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2643
  164. http://bugzilla.maptools.org/show_bug.cgi?id=2642
  165. http://bugzilla.maptools.org/show_bug.cgi?id=2646
  166. http://bugzilla.maptools.org/show_bug.cgi?id=2647
  167. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  168. * libtiff/tif_dirread.c: avoid division by floating point 0 in
  169. TIFFReadDirEntryCheckedRational() and TIFFReadDirEntryCheckedSrational(),
  170. and return 0 in that case (instead of infinity as before presumably)
  171. Apparently some sanitizers do not like those divisions by zero.
  172. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2644
  173. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  174. * libtiff/tif_dirwrite.c: in TIFFWriteDirectoryTagCheckedRational, replace
  175. assertion by runtime check to error out if passed value is strictly
  176. negative.
  177. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2535
  178. * tools/tiffcrop.c: remove extraneous TIFFClose() in error code path, that
  179. caused double free.
  180. Related to http://bugzilla.maptools.org/show_bug.cgi?id=2535
  181. 2017-01-11 Even Rouault <even.rouault at spatialys.com>
  182. * libtiff/tif_jpeg.c: avoid integer division by zero in
  183. JPEGSetupEncode() when horizontal or vertical sampling is set to 0.
  184. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2653
  185. 2017-01-03 Even Rouault <even.rouault at spatialys.com>
  186. * libtiff/tif_jpeg.c: increase libjpeg max memory usable to
  187. 10 MB instead of libjpeg 1MB default. This helps when creating files
  188. with "big" tile, without using libjpeg temporary files.
  189. Related to https://trac.osgeo.org/gdal/ticket/6757
  190. 2016-12-20 Even Rouault <even.rouault at spatialys.com>
  191. * tools/tiff2pdf.c: avoid potential heap-based overflow in
  192. t2p_readwrite_pdf_image_tile().
  193. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2640
  194. 2016-12-20 Even Rouault <even.rouault at spatialys.com>
  195. * tools/tiff2pdf.c: avoid potential invalid memory read in
  196. t2p_writeproc.
  197. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2639
  198. 2016-12-20 Even Rouault <even.rouault at spatialys.com>
  199. * tools/tiff2pdf.c: fix wrong usage of memcpy() that can trigger
  200. unspecified behaviour.
  201. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2638
  202. 2016-12-18 Even Rouault <even.rouault at spatialys.com>
  203. * libtiff/tif_getimage.c: fix potential memory leaks in error code
  204. path of TIFFRGBAImageBegin().
  205. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2627
  206. 2016-12-18 Even Rouault <even.rouault at spatialys.com>
  207. * tools/tiff2pdf.c: prevent heap-based buffer overflow in -j mode
  208. on a paletted image. Note: this fix errors out before the overflow
  209. happens. There could probably be a better fix.
  210. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2635
  211. 2016-12-17 Even Rouault <even.rouault at spatialys.com>
  212. * libtiff/tiffio.h, libtiff/tif_getimage.c: add TIFFReadRGBAStripExt()
  213. and TIFFReadRGBATileExt() variants of the functions without ext, with
  214. an extra argument to control the stop_on_error behaviour.
  215. 2016-12-17 Even Rouault <even.rouault at spatialys.com>
  216. * tools/tiff2ps.c: fix 2 heap-based buffer overflows (in PSDataBW
  217. and PSDataColorContig). Reported by Agostino Sarubbo.
  218. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2633 and
  219. http://bugzilla.maptools.org/show_bug.cgi?id=2634.
  220. 2016-12-13 Even Rouault <even.rouault at spatialys.com>
  221. * libtiff/tif_fax3.h: revert change done on 2016-01-09 that made
  222. Param member of TIFFFaxTabEnt structure a uint16 to reduce size of
  223. the binary. It happens that the Hylafax software uses the tables that
  224. follow this typedef (TIFFFaxMainTable, TIFFFaxWhiteTable,
  225. TIFFFaxBlackTable), although they are not in a public libtiff header.
  226. Raised by Lee Howard.
  227. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2636
  228. 2016-12-04 Even Rouault <even.rouault at spatialys.com>
  229. * html/man/Makefile.am: remove thumbnail.1.html and rgb2ycbcr.1.html
  230. from installed pages since the corresponding utilities are no longer
  231. installed. Reported by Havard Eidnes
  232. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2606
  233. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  234. * libtiff/tif_write.c: fix misleading indentation as warned by GCC.
  235. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  236. * tools/tiffcp.c: replace assert( (bps % 8) == 0 ) by a non assert check.
  237. Reported by Agostino Sarubbo.
  238. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2605
  239. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  240. * tools/tiffcp.c: fix uint32 underflow/overflow that can cause heap-based
  241. buffer overflow.
  242. Reported by Agostino Sarubbo.
  243. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2610
  244. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  245. * tools/tiffcp.c: avoid potential division by zero is BitsPerSamples tag is
  246. missing.
  247. Reported by Agostino Sarubbo.
  248. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2607
  249. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  250. * man/Makefile.am: remove thumbnail.1 and rgb2ycbcr.1 from installed man
  251. pages since the corresponding utilities are no longer installed.
  252. Reported by Havard Eidnes
  253. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2606
  254. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  255. * tools/tif_dir.c: when TIFFGetField(, TIFFTAG_NUMBEROFINKS, ) is called,
  256. limit the return number of inks to SamplesPerPixel, so that code that parses
  257. ink names doesn't go past the end of the buffer.
  258. Reported by Agostino Sarubbo.
  259. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2599
  260. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  261. * tools/tiffcp.c: avoid potential division by zero is BitsPerSamples tag is
  262. missing.
  263. Reported by Agostino Sarubbo.
  264. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2597
  265. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  266. * tools/tiffinfo.c: fix null pointer dereference in -r mode when the image has
  267. no StripByteCount tag.
  268. Reported by Agostino Sarubbo.
  269. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2594
  270. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  271. * tools/tiffcrop.c: fix integer division by zero when BitsPerSample is missing.
  272. Reported by Agostino Sarubbo.
  273. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2619
  274. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  275. * tools/tiffcrop.c: add 3 extra bytes at end of strip buffer in
  276. readSeparateStripsIntoBuffer() to avoid read outside of heap allocated buffer.
  277. Reported by Agostino Sarubbo.
  278. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2621
  279. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  280. * tools/tiffcrop.c: fix readContigStripsIntoBuffer() in -i (ignore) mode so
  281. that the output buffer is correctly incremented to avoid write outside bounds.
  282. Reported by Agostino Sarubbo.
  283. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2620
  284. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  285. * libtiff/tif_ojpeg.c: make OJPEGDecode() early exit in case of failure in
  286. OJPEGPreDecode(). This will avoid a divide by zero, and potential other issues.
  287. Reported by Agostino Sarubbo.
  288. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2611
  289. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  290. * libtiff/tif_dirread.c: modify ChopUpSingleUncompressedStrip() to
  291. instanciate compute ntrips as TIFFhowmany_32(td->td_imagelength, rowsperstrip),
  292. instead of a logic based on the total size of data. Which is faulty is
  293. the total size of data is not sufficient to fill the whole image, and thus
  294. results in reading outside of the StripByCounts/StripOffsets arrays when
  295. using TIFFReadScanline().
  296. Reported by Agostino Sarubbo.
  297. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2608.
  298. * libtiff/tif_strip.c: revert the change in TIFFNumberOfStrips() done
  299. for http://bugzilla.maptools.org/show_bug.cgi?id=2587 / CVE-2016-9273 since
  300. the above change is a better fix that makes it unnecessary.
  301. 2016-12-03 Even Rouault <even.rouault at spatialys.com>
  302. * libtiff/tif_pixarlog.c, libtiff/tif_luv.c: fix heap-based buffer
  303. overflow on generation of PixarLog / LUV compressed files, with
  304. ColorMap, TransferFunction attached and nasty plays with bitspersample.
  305. The fix for LUV has not been tested, but suffers from the same kind
  306. of issue of PixarLog.
  307. Reported by Agostino Sarubbo.
  308. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2604
  309. 2016-12-02 Even Rouault <even.rouault at spatialys.com>
  310. * tools/tiffcp.c: avoid uint32 underflow in cpDecodedStrips that
  311. can cause various issues, such as buffer overflows in the library.
  312. Reported by Agostino Sarubbo.
  313. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2598
  314. 2016-12-02 Even Rouault <even.rouault at spatialys.com>
  315. * libtiff/tif_read.c, libtiff/tiffiop.h: fix uint32 overflow in
  316. TIFFReadEncodedStrip() that caused an integer division by zero.
  317. Reported by Agostino Sarubbo.
  318. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2596
  319. 2016-11-20 Even Rouault <even.rouault at spatialys.com>
  320. * libtiff/tif_getimage.c, libtiff/tif_open.c: add parenthesis to
  321. fix cppcheck clarifyCalculation warnings
  322. * libtiff/tif_predict.c, libtiff/tif_print.c: fix printf unsigned
  323. vs signed formatting (cppcheck invalidPrintfArgType_uint warnings)
  324. 2016-11-20 Bob Friesenhahn <[email protected]>
  325. * tools/fax2tiff.c (main): Applied patch by Jörg Ahrens to fix
  326. passing client data for Win32 builds using tif_win32.c
  327. (USE_WIN32_FILEIO defined) for file I/O. Patch was provided via
  328. email on November 20, 2016.
  329. 2016-11-19 Bob Friesenhahn <[email protected]>
  330. * libtiff 4.0.7 released.
  331. * configure.ac: Update for 4.0.7 release.
  332. * tools/tiffdump.c (ReadDirectory): Remove uint32 cast to
  333. _TIFFmalloc() argument which resulted in Coverity report. Added
  334. more mutiplication overflow checks.
  335. 2016-11-18 Even Rouault <even.rouault at spatialys.com>
  336. * tools/tiffcrop.c: Fix memory leak in (recent) error code path.
  337. Fixes Coverity 1394415.
  338. 2016-11-17 Bob Friesenhahn <[email protected]>
  339. * libtiff/tif_getimage.c: Fix some benign warnings which appear in
  340. 64-bit compilation under Microsoft Visual Studio of the form
  341. "Arithmetic overflow: 32-bit value is shifted, then cast to 64-bit
  342. value. Results might not be an expected value.". Problem was
  343. reported on November 16, 2016 on the tiff mailing list.
  344. 2016-11-16 Even Rouault <even.rouault at spatialys.com>
  345. * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), do not dereference
  346. NULL pointer when values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
  347. access are 0-byte arrays.
  348. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2593 (regression introduced
  349. by previous fix done on 2016-11-11 for CVE-2016-9297).
  350. Reported by Henri Salo. Assigned as CVE-2016-9448
  351. 2016-11-12 Bob Friesenhahn <[email protected]>
  352. * tools/tiffinfo.c (TIFFReadContigTileData): Fix signed/unsigned
  353. comparison warning.
  354. (TIFFReadSeparateTileData): Fix signed/unsigned comparison
  355. warning.
  356. * tools/tiffcrop.c (readContigTilesIntoBuffer): Fix
  357. signed/unsigned comparison warning.
  358. * html/v4.0.7.html: Add a file to document the pending 4.0.7
  359. release.
  360. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  361. * tools/tiff2pdf.c: avoid undefined behaviour related to overlapping
  362. of source and destination buffer in memcpy() call in
  363. t2p_sample_rgbaa_to_rgb()
  364. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2577
  365. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  366. * tools/tiff2pdf.c: fix potential integer overflows on 32 bit builds
  367. in t2p_read_tiff_size()
  368. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2576
  369. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  370. * libtiff/tif_aux.c: fix crash in TIFFVGetFieldDefaulted()
  371. when requesting Predictor tag and that the zip/lzw codec is not
  372. configured.
  373. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2591
  374. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  375. * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make sure that
  376. values of tags with TIFF_SETGET_C16_ASCII / TIFF_SETGET_C32_ASCII
  377. access are null terminated, to avoid potential read outside buffer
  378. in _TIFFPrintField().
  379. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2590 (CVE-2016-9297)
  380. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  381. * libtiff/tif_dirread.c: reject images with OJPEG compression that
  382. have no TileOffsets/StripOffsets tag, when OJPEG compression is
  383. disabled. Prevent null pointer dereference in TIFFReadRawStrip1()
  384. and other functions that expect td_stripbytecount to be non NULL.
  385. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2585
  386. 2016-11-11 Even Rouault <even.rouault at spatialys.com>
  387. * tools/tiffcrop.c: fix multiple uint32 overflows in
  388. writeBufferToSeparateStrips(), writeBufferToContigTiles() and
  389. writeBufferToSeparateTiles() that could cause heap buffer overflows.
  390. Reported by Henri Salo from Nixu Corporation.
  391. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2592 (CVE-2016-9532)
  392. 2016-11-10 Even Rouault <even.rouault at spatialys.com>
  393. * libtiff/tif_strip.c: make TIFFNumberOfStrips() return the td->td_nstrips
  394. value when it is non-zero, instead of recomputing it. This is needed in
  395. TIFF_STRIPCHOP mode where td_nstrips is modified. Fixes a read outsize of
  396. array in tiffsplit (or other utilities using TIFFNumberOfStrips()).
  397. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2587 (CVE-2016-9273)
  398. 2016-11-04 Even Rouault <even.rouault at spatialys.com>
  399. * libtiff/tif_predic.c: fix memory leaks in error code paths added in
  400. previous commit (fix for MSVR 35105)
  401. 2016-10-31 Even Rouault <even.rouault at spatialys.com>
  402. * libtiff/tif_predict.h, libtiff/tif_predict.c:
  403. Replace assertions by runtime checks to avoid assertions in debug mode,
  404. or buffer overflows in release mode. Can happen when dealing with
  405. unusual tile size like YCbCr with subsampling. Reported as MSVR 35105
  406. by Axel Souchet & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations
  407. team.
  408. 2016-10-26 Even Rouault <even.rouault at spatialys.com>
  409. * tools/fax2tiff.c: fix segfault when specifying -r without
  410. argument. Patch by Yuriy M. Kaminskiy.
  411. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2572
  412. 2016-10-25 Even Rouault <even.rouault at spatialys.com>
  413. * libtiff/tif_dir.c: discard values of SMinSampleValue and
  414. SMaxSampleValue when they have been read and the value of
  415. SamplesPerPixel is changed afterwards (like when reading a
  416. OJPEG compressed image with a missing SamplesPerPixel tag,
  417. and whose photometric is RGB or YCbCr, forcing SamplesPerPixel
  418. being 3). Otherwise when rewriting the directory (for example
  419. with tiffset, we will expect 3 values whereas the array had been
  420. allocated with just one), thus causing a out of bound read access.
  421. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
  422. (CVE-2014-8127, duplicate: CVE-2016-3658)
  423. * libtiff/tif_dirwrite.c: avoid null pointer dereference on td_stripoffset
  424. when writing directory, if FIELD_STRIPOFFSETS was artificially set
  425. for a hack case in OJPEG case.
  426. Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2500
  427. (CVE-2014-8127, duplicate: CVE-2016-3658)
  428. 2016-10-25 Even Rouault <even.rouault at spatialys.com>
  429. * tools/tiffinfo.c: fix out-of-bound read on some tiled images.
  430. (http://bugzilla.maptools.org/show_bug.cgi?id=2517)
  431. * libtiff/tif_compress.c: make TIFFNoDecode() return 0 to indicate an
  432. error and make upper level read routines treat it accordingly.
  433. (linked to the test case of http://bugzilla.maptools.org/show_bug.cgi?id=2517)
  434. 2016-10-14 Even Rouault <even.rouault at spatialys.com>
  435. * tools/tiffcrop.c: fix out-of-bound read of up to 3 bytes in
  436. readContigTilesIntoBuffer(). Reported as MSVR 35092 by Axel Souchet
  437. & Vishal Chauhan from the MSRC Vulnerabilities & Mitigations team.
  438. 2016-10-09 Even Rouault <even.rouault at spatialys.com>
  439. * tools/tiff2pdf.c: fix write buffer overflow of 2 bytes on JPEG
  440. compressed images. Reported by Tyler Bohan of Cisco Talos as
  441. TALOS-CAN-0187 / CVE-2016-5652.
  442. Also prevents writing 2 extra uninitialized bytes to the file stream.
  443. 2016-10-08 Even Rouault <even.rouault at spatialys.com>
  444. * tools/tiffcp.c: fix out-of-bounds write on tiled images with odd
  445. tile width vs image width. Reported as MSVR 35103
  446. by Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
  447. Mitigations team.
  448. 2016-10-08 Even Rouault <even.rouault at spatialys.com>
  449. * tools/tiff2pdf.c: fix read -largely- outsize of buffer in
  450. t2p_readwrite_pdf_image_tile(), causing crash, when reading a
  451. JPEG compressed image with TIFFTAG_JPEGTABLES length being one.
  452. Reported as MSVR 35101 by Axel Souchet and Vishal Chauhan from
  453. the MSRC Vulnerabilities & Mitigations team. CVE-2016-9453
  454. 2016-10-08 Even Rouault <even.rouault at spatialys.com>
  455. * tools/tiffcp.c: fix read of undefined variable in case of missing
  456. required tags. Found on test case of MSVR 35100.
  457. * tools/tiffcrop.c: fix read of undefined buffer in
  458. readContigStripsIntoBuffer() due to uint16 overflow. Probably not a
  459. security issue but I can be wrong. Reported as MSVR 35100 by Axel
  460. Souchet from the MSRC Vulnerabilities & Mitigations team.
  461. 2016-09-25 Bob Friesenhahn <[email protected]>
  462. * html: Change as many remotesensing.org broken links to a working
  463. URL as possible.
  464. 2016-09-24 Bob Friesenhahn <[email protected]>
  465. * libtiff/tif_getimage.c (TIFFRGBAImageOK): Reject attempts to
  466. read floating point images.
  467. * libtiff/tif_predict.c (PredictorSetup): Enforce bits-per-sample
  468. requirements of floating point predictor (3). Fixes CVE-2016-3622
  469. "Divide By Zero in the tiff2rgba tool."
  470. 2016-09-23 Even Rouault <even.rouault at spatialys.com>
  471. * tools/tiffcrop.c: fix various out-of-bounds write vulnerabilities
  472. in heap or stack allocated buffers. Reported as MSVR 35093,
  473. MSVR 35096 and MSVR 35097. Discovered by Axel Souchet and Vishal
  474. Chauhan from the MSRC Vulnerabilities & Mitigations team.
  475. * tools/tiff2pdf.c: fix out-of-bounds write vulnerabilities in
  476. heap allocate buffer in t2p_process_jpeg_strip(). Reported as MSVR
  477. 35098. Discovered by Axel Souchet and Vishal Chauhan from the MSRC
  478. Vulnerabilities & Mitigations team.
  479. * libtiff/tif_pixarlog.c: fix out-of-bounds write vulnerabilities
  480. in heap allocated buffers. Reported as MSVR 35094. Discovered by
  481. Axel Souchet and Vishal Chauhan from the MSRC Vulnerabilities &
  482. Mitigations team.
  483. * libtiff/tif_write.c: fix issue in error code path of TIFFFlushData1()
  484. that didn't reset the tif_rawcc and tif_rawcp members. I'm not
  485. completely sure if that could happen in practice outside of the odd
  486. behaviour of t2p_seekproc() of tiff2pdf). The report points that a
  487. better fix could be to check the return value of TIFFFlushData1() in
  488. places where it isn't done currently, but it seems this patch is enough.
  489. Reported as MSVR 35095. Discovered by Axel Souchet & Vishal Chauhan &
  490. Suha Can from the MSRC Vulnerabilities & Mitigations team.
  491. 2016-09-20 Bob Friesenhahn <[email protected]>
  492. * html/man/index.html: Comment out links to documentation for
  493. abandoned utilities.
  494. 2016-09-17 Even Rouault <even.rouault at spatialys.com>
  495. * libtiff/tif_lzma.c: typo fix in comment
  496. 2016-09-04 Even Rouault <even.rouault at spatialys.com>
  497. * libtiff/*.c: fix warnings raised by clang 3.9 -Wcomma
  498. 2016-09-03 Even Rouault <even.rouault at spatialys.com>
  499. * libtiff/tif_dirwrite.c, libtiff/tif_color.c: fix warnings raised
  500. by GCC 5 / clang -Wfloat-conversion
  501. 2016-08-16 Even Rouault <even.rouault at spatialys.com>
  502. * tools/tiffcrop.c: fix C99'ism.
  503. 2016-08-15 Even Rouault <even.rouault at spatialys.com>
  504. * tools/tiff2bw.c: fix weight computation that could result of color
  505. value overflow (no security implication). Fix bugzilla #2550.
  506. Patch by Frank Freudenberg.
  507. 2016-08-15 Even Rouault <even.rouault at spatialys.com>
  508. * tools/rgb2ycbcr.c: validate values of -v and -h parameters to
  509. avoid potential divide by zero. Fixes CVE-2016-3623 (bugzilla #2569)
  510. 2016-08-15 Even Rouault <even.rouault at spatialys.com>
  511. * tools/tiffcrop.c: Fix out-of-bounds write in loadImage().
  512. From patch libtiff-CVE-2016-3991.patch from
  513. libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro (bugzilla #2543)
  514. 2016-08-15 Even Rouault <even.rouault at spatialys.com>
  515. * libtiff/tif_pixarlog.c: Fix write buffer overflow in PixarLogEncode
  516. if more input samples are provided than expected by PixarLogSetupEncode.
  517. Idea based on libtiff-CVE-2016-3990.patch from
  518. libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, but with different and
  519. simpler check. (bugzilla #2544)
  520. 2016-08-15 Even Rouault <even.rouault at spatialys.com>
  521. * tools/tiff2rgba.c: Fix integer overflow in size of allocated
  522. buffer, when -b mode is enabled, that could result in out-of-bounds
  523. write. Based initially on patch tiff-CVE-2016-3945.patch from
  524. libtiff-4.0.3-25.el7_2.src.rpm by Nikola Forro, with correction for
  525. invalid tests that rejected valid files. (bugzilla #2545)
  526. 2016-07-11 Even Rouault <even.rouault at spatialys.com>
  527. * tools/tiffcrop.c: Avoid access outside of stack allocated array
  528. on a tiled separate TIFF with more than 8 samples per pixel.
  529. Reported by Kaixiang Zhang of the Cloud Security Team, Qihoo 360
  530. (CVE-2016-5321 / CVE-2016-5323 , bugzilla #2558 / #2559)
  531. 2016-07-10 Even Rouault <even.rouault at spatialys.com>
  532. * libtiff/tif_read.c: Fix out-of-bounds read on
  533. memory-mapped files in TIFFReadRawStrip1() and TIFFReadRawTile1()
  534. when stripoffset is beyond tmsize_t max value (reported by
  535. Mathias Svensson)
  536. 2016-07-10 Even Rouault <even.rouault at spatialys.com>
  537. * tools/tiffdump.c: fix a few misaligned 64-bit reads warned
  538. by -fsanitize
  539. 2016-07-03 Even Rouault <even.rouault at spatialys.com>
  540. * libtiff/tif_read.c: make TIFFReadEncodedStrip() and
  541. TIFFReadEncodedTile() directly use user provided buffer when
  542. no compression (and other conditions) to save a memcpy().
  543. * libtiff/tif_write.c: make TIFFWriteEncodedStrip() and
  544. TIFFWriteEncodedTile() directly use user provided buffer when
  545. no compression to save a memcpy().
  546. 2016-07-01 Even Rouault <even.rouault at spatialys.com>
  547. * libtiff/tif_luv.c: validate that for COMPRESSION_SGILOG and
  548. PHOTOMETRIC_LOGL, there is only one sample per pixel. Avoid
  549. potential invalid memory write on corrupted/unexpected images when
  550. using the TIFFRGBAImageBegin() interface (reported by
  551. Clay Wood)
  552. 2016-06-28 Even Rouault <even.rouault at spatialys.com>
  553. * libtiff/tif_pixarlog.c: fix potential buffer write overrun in
  554. PixarLogDecode() on corrupted/unexpected images (reported by Mathias Svensson)
  555. (CVE-2016-5875)
  556. 2016-06-15 Bob Friesenhahn <[email protected]>
  557. * libtiff/libtiff.def: Added _TIFFMultiply32 and _TIFFMultiply64
  558. to libtiff.def
  559. 2016-06-05 Bob Friesenhahn <[email protected]>
  560. * tools/Makefile.am: The libtiff tools bmp2tiff, gif2tiff,
  561. ras2tiff, sgi2tiff, sgisv, and ycbcr are completely removed from
  562. the distribution. The libtiff tools rgb2ycbcr and thumbnail are
  563. only built in the build tree for testing. Old files are put in
  564. new 'archive' subdirectory of the source repository, but not in
  565. distribution archives. These changes are made in order to lessen
  566. the maintenance burden.
  567. 2016-05-10 Bob Friesenhahn <[email protected]>
  568. * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Add a '1' to the
  569. HAVE_SNPRINTF definition.'
  570. 2016-05-09 Bob Friesenhahn <[email protected]>
  571. * libtiff/tif_config.vc.h (HAVE_SNPRINTF): Applied patch by Edward
  572. Lam to define HAVE_SNPRINTF for Visual Studio 2015.
  573. 2016-04-27 Even Rouault <even.rouault at spatialys.com>
  574. * libtiff/tif_dirread.c: when compiled with DEFER_STRILE_LOAD,
  575. fix regression, introduced on 2014-12-23, when reading a one-strip
  576. file without a StripByteCounts tag. GDAL #6490
  577. 2016-04-07 Bob Friesenhahn <[email protected]>
  578. * html/bugs.html: Replace Andrey Kiselev with Bob Friesenhahn for
  579. purposes of security issue reporting.
  580. 2016-01-23 Even Rouault <even.rouault at spatialys.com>
  581. * libtiff/*: upstream typo fixes (mostly contributed by Kurt Schwehr)
  582. coming from GDAL internal libtiff
  583. 2016-01-09 Even Rouault <even.rouault at spatialys.com>
  584. * libtiff/tif_fax3.h: make Param member of TIFFFaxTabEnt structure
  585. a uint16 to reduce size of the binary.
  586. 2016-01-03 Even Rouault <even.rouault at spatialys.com>
  587. * libtiff/tif_read.c, tif_dirread.c: fix indentation issues raised
  588. by GCC 6 -Wmisleading-indentation
  589. 2015-12-27 Even Rouault <even.rouault at spatialys.com>
  590. * libtiff/tif_pixarlog.c: avoid zlib error messages to pass a NULL
  591. string to %s formatter, which is undefined behaviour in sprintf().
  592. 2015-12-27 Even Rouault <even.rouault at spatialys.com>
  593. * libtiff/tif_next.c: fix potential out-of-bound write in NeXTDecode()
  594. triggered by http://lcamtuf.coredump.cx/afl/vulns/libtiff5.tif
  595. (bugzilla #2508)
  596. 2015-12-27 Even Rouault <even.rouault at spatialys.com>
  597. * libtiff/tif_luv.c: fix potential out-of-bound writes in decode
  598. functions in non debug builds by replacing assert()s by regular if
  599. checks (bugzilla #2522).
  600. Fix potential out-of-bound reads in case of short input data.
  601. 2015-12-26 Even Rouault <even.rouault at spatialys.com>
  602. * libtiff/tif_getimage.c: fix out-of-bound reads in TIFFRGBAImage
  603. interface in case of unsupported values of SamplesPerPixel/ExtraSamples
  604. for LogLUV / CIELab. Add explicit call to TIFFRGBAImageOK() in
  605. TIFFRGBAImageBegin(). Fix CVE-2015-8665 reported by limingxing and
  606. CVE-2015-8683 reported by zzf of Alibaba.
  607. 2015-12-21 Even Rouault <even.rouault at spatialys.com>
  608. * libtiff/tif_dirread.c: workaround false positive warning of Clang Static
  609. Analyzer about null pointer dereference in TIFFCheckDirOffset().
  610. 2015-12-19 Even Rouault <even.rouault at spatialys.com>
  611. * libtiff/tif_fax3.c: remove dead assignment in Fax3PutEOLgdal(). Found
  612. by Clang Static Analyzer
  613. 2015-12-18 Even Rouault <even.rouault at spatialys.com>
  614. * libtiff/tif_dirwrite.c: fix truncation to 32 bit of file offsets in
  615. TIFFLinkDirectory() and TIFFWriteDirectorySec() when aligning directory
  616. offsets on a even offset (affects BigTIFF). This was a regression of the
  617. changeset of 2015-10-19.
  618. 2015-12-12 Even Rouault <even.rouault at spatialys.com>
  619. * libtiff/tif_write.c: TIFFWriteEncodedStrip() and TIFFWriteEncodedTile()
  620. should return -1 in case of failure of tif_encodestrip() as documented
  621. * libtiff/tif_dumpmode.c: DumpModeEncode() should return 0 in case of
  622. failure so that the above mentionned functions detect the error.
  623. 2015-12-06 Even Rouault <even.rouault at spatialys.com>
  624. * libtiff/uvcode.h: const'ify uv_code array
  625. 2015-12-06 Even Rouault <even.rouault at spatialys.com>
  626. * libtiff/tif_dirinfo.c: const'ify tiffFields, exifFields,
  627. tiffFieldArray and exifFieldArray arrays
  628. 2015-12-06 Even Rouault <even.rouault at spatialys.com>
  629. * libtiff/tif_print.c: constify photoNames and orientNames arrays
  630. 2015-12-06 Even Rouault <even.rouault at spatialys.com>
  631. * libtiff/tif_close.c, libtiff/tif_extension.c : rename link
  632. variable to avoid -Wshadow warnings
  633. 2015-11-22 Even Rouault <even.rouault at spatialys.com>
  634. * libtiff/*.c: fix typos in comments (patch by Kurt Schwehr)
  635. 2015-11-22 Even Rouault <even.rouault at spatialys.com>
  636. * libtiff/*.c: fix MSVC warnings related to cast shortening and
  637. assignment within conditional expression
  638. 2015-11-18 Even Rouault <even.rouault at spatialys.com>
  639. * libtiff/*.c: fix clang -Wshorten-64-to-32 warnings
  640. 2015-11-18 Even Rouault <even.rouault at spatialys.com>
  641. * libtiff/tif_dirread.c: initialize double* data at line 3693 to NULL
  642. to please MSVC 2013
  643. 2015-11-17 Even Rouault <even.rouault at spatialys.com>
  644. * libtiff/tif_dirread.c: prevent reading ColorMap or TransferFunction
  645. if BitsPerPixel > 24, so as to avoid huge memory allocation and file
  646. read attempts
  647. 2015-11-02 Even Rouault <even.rouault at spatialys.com>
  648. * libtiff/tif_dirread.c: remove duplicated assignment (reported by
  649. Clang static analyzer)
  650. 2015-10-28 Even Rouault <even.rouault at spatialys.com>
  651. * libtiff/tif_dir.c, libtiff/tif_dirinfo.c, libtiff/tif_compress.c,
  652. libtiff/tif_jpeg_12.c: suppress warnings about 'no previous
  653. declaration/prototype'
  654. 2015-10-19 Even Rouault <even.rouault at spatialys.com>
  655. * libtiff/tiffiop.h, libtiff/tif_dirwrite.c: suffix constants by U to fix
  656. 'warning: negative integer implicitly converted to unsigned type' warning
  657. (part of -Wconversion)
  658. 2015-10-17 Even Rouault <even.rouault at spatialys.com>
  659. * libtiff/tif_dir.c, libtiff/tif_dirread.c, libtiff/tif_getimage.c,
  660. libtiff/tif_print.c: fix -Wshadow warnings (only in libtiff/)
  661. 2015-09-12 Bob Friesenhahn <[email protected]>
  662. * libtiff 4.0.6 released.
  663. * html/v4.0.6.html: Added release notes for 4.0.6.
  664. 2015-09-06 Bob Friesenhahn <[email protected]>
  665. * tools/tiffgt.c: Silence glut API deprecation warnings on MacOS
  666. X. Patch by Roger Leigh.
  667. * Makefile.am: Added a 'coverity' rule to assist with Coverity
  668. submissions.
  669. * tools/tiff2pdf.c: Fix compiler warning about unused function
  670. when JPEG is not available.
  671. * tools/fax2ps.c (main): Detect failure to write to temporary
  672. file.
  673. 2015-09-05 Bob Friesenhahn <[email protected]>
  674. * libtiff/tif_dirread.c (TIFFReadDirEntryCheckRangeSlongSlong8):
  675. Change implementation so that it does not sometimes overflow the
  676. range of a 32-bit int and to avoid a signed vs unsigned compare
  677. compiler warning.
  678. (TIFF_INT64_MAX): Avoid use of platform-specific large constants.
  679. (TIFF_UINT32_MAX): Avoid use of platform-specific large constants.
  680. 2015-09-01 Bob Friesenhahn <[email protected]>
  681. * Makefile.am (distcheck-hook), configure.ac: Applied patches by
  682. Roger Leigh (via tiff mailing list on 2015-09-01) to fix issue
  683. with BSD make and to make use of cmake in 'distcheck' target
  684. conditional on if cmake is available.
  685. * CMakeLists.txt, Makefile.am, configure.ac: Applied patches by
  686. Roger Leigh (via tiff mailing list on 2015-09-01).
  687. CMake build is now included in 'distcheck' target.
  688. Builds with CMake 2.8.9 and newer.
  689. Tar is now resquested to use POSIX PAX format.
  690. 2015-08-31 Bob Friesenhahn <[email protected]>
  691. * CMakeLists.txt, libtiff/test/Makefile.am: Applied patches by
  692. Roger Leigh (via tiff mailing list on 2015-08-31.
  693. CMake reads all version information directly from configure.ac to
  694. avoid duplication of values. This basically greps over the file
  695. for the LIBTIFF_* variables, then translates them to the form
  696. needed for cmake. This includes the release version and libtool
  697. shared library version information.
  698. Make shared/static library building configurable. Currently it
  699. always builds shared libraries, with static libs having a _static
  700. suffix (copying zlib, but it means it's got a non-standard name).
  701. CMake has a -DBUILD_SHARED_LIBS=ON|OFF option to select one or the
  702. other, which is now used instead. There's now a single "tiff"
  703. target to build either shared or static as required, and all the
  704. tests and tools are linked with this. Note: the Windows tests fail
  705. when linked with a static libtiff (says: libtiff.dll not found).
  706. Not really a regression since this was not tested up to this
  707. point, and it's likely the unit tests haven't (ever?) been run on
  708. Windows with a static libtiff, so there's some additional
  709. portability issue here to address. Works fine on UNIX systems,
  710. and fine on Windows with the default to build a DLL.
  711. Add a missing file which wasn't being distributed, causing unit
  712. tests to fail. Note that "find . -name '*.cmake'" lists all the
  713. CMake files which need distributing in addition to all the
  714. CMakeLists.txt files (which now are distributed).
  715. 2015-08-31 Even Rouault <even.rouault at spatialys.com>
  716. * libtiff/tif_predict.c: pedantic change to add explicit masking
  717. with 0xff before casting to uchar in floating-point horizontal
  718. differencing and accumulation routines.
  719. 2015-08-31 Even Rouault <even.rouault at spatialys.com>
  720. * libtiff/tif_predict.c: fix generation of output with 16 bit
  721. or 32 bit integer, when byte swapping is needed, in
  722. horizontal predictor (#2521). Also fixes decoding when there is
  723. a single pixel to code (unlikely case...) and byte swapping is
  724. involved.
  725. 2015-08-30 Even Rouault <even.rouault at spatialys.com>
  726. * libtiff/tif_lzw.c: make nextdata a unsigned type to avoid
  727. undefined behaviour with shifts (gcc -fsanitize=shift)
  728. 2015-08-30 Even Rouault <even.rouault at spatialys.com>
  729. * libtiff/tif_fax3.c, libtiff/tif_lzw.c, libtiff/tif_predict.c:
  730. add explicit masking with 0xff before casting
  731. to unsigned char (make icc -check=conversions happy)
  732. * libtiff/tif_predict.c: operate on unsigned datatypes when
  733. computing/applying differences to avoid undefined behaviour of
  734. signed types (C standard compliance)
  735. 2015-08-30 Bob Friesenhahn <[email protected]>
  736. * configure.ac: libtiff 4.0.5 released.
  737. 2015-08-29 Bob Friesenhahn <[email protected]>
  738. * CMakeLists.txt: Applied patch by Roger Leigh (via tiff mailing
  739. list on 2015-08-29) to add ld-version-script option to cmake build
  740. to match autoconf. Note: defaults to 'on' to be ABI-compatible by
  741. default with common Linux distribution builds. Note that the
  742. autoconf configure script defaults to 'off'.
  743. * html/build.html: Applied patch by Roger Leigh (via tiff mailing
  744. list on 2015-08-29) to describe how to use CMake to build libtiff.
  745. 2015-08-28 Bob Friesenhahn <[email protected]>
  746. * html/v4.0.5.html: Added HTML file describing the changes which
  747. will appear in the 4.0.5 release.
  748. 2015-08-23 Bob Friesenhahn <[email protected]>
  749. * libtiff/tiffiop.h: For MinGW comiles, make sure that build
  750. supports necessary __MSVCRT_VERSION__ (at least at least 0x800).
  751. Otherwise large files can not be supported for POSIX-style I/O.
  752. * tools/fax2tiff.c (main): Eliminate a compiler warning in 64-bit
  753. builds about cast to thandle_t.
  754. * test/rewrite_tag.c (main): Does not require any arguments.
  755. 2015-08-20 Bob Friesenhahn <[email protected]>
  756. * tools/CMakeLists.txt, port/snprintf.c: Patch by Roger Leigh to
  757. fix build issues when using Cmake due to Windows large file
  758. changes.
  759. 2015-08-18 Bob Friesenhahn <[email protected]>
  760. * libtiff/tiffiop.h: First cut at supporting large files under
  761. Microsoft Windows using tif_unix.c and the libtiff tools. This
  762. only works if the Windows CDK is new enough to support the APIs
  763. used (Visual C++ 2005 or later). Support for large files is not
  764. actually tested yet.
  765. 2015-08-15 Bob Friesenhahn <[email protected]>
  766. * libtiff/tif_jpeg.c: Applied patch by Räisä Olli to assure that
  767. client_data is initialized to a known value, and to report an
  768. error on two memory allocation failures.
  769. 2015-08-13 Bob Friesenhahn <[email protected]>
  770. * CMakeLists.txt: Applied patch by Roger Leigh to fix libtiffxx
  771. symbol versioning. Patch was mailed to libtiff list on Thu, 13
  772. Aug 2015.
  773. 2015-07-04 Bob Friesenhahn <[email protected]>
  774. * cmake: Add d suffix to debug libraries with MSVC. Patch #3 of 3
  775. by Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20
  776. +0100.
  777. * cmake: Add extra warning flags. Patch #2 of 3 by Roger Leigh
  778. posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100.
  779. * cmake: Correct snprintf fallback for VS2015. Patch #1 of 3 by
  780. Roger Leigh posted to tiff list on Wed, 1 Jul 2015 15:58:20 +0100.
  781. 2015-06-24 Bob Friesenhahn <[email protected]>
  782. * CMakeLists.txt: Add CMake patchset by Roger Leigh as posted to
  783. libtiff mailing list on Mon, 22 Jun 2015 21:21:01 +0100. Several
  784. corrections to ensure that the autotools build still works were
  785. added by me. I have not yet tested the build using 'cmake' or
  786. MSVC with 'nmake'.
  787. 2015-06-21 Bob Friesenhahn <[email protected]>
  788. * test/Makefile.am: tiff2rgba-quad-tile.jpg.sh depends on the JPEG
  789. library so only execute if JPEG is available.
  790. * libtiff 4.0.4 released.
  791. * configure.ac: Add a HAVE_FOO Automake conditional for each
  792. add-on library.
  793. * test/Makefile.am (JPEG_DEPENDENT_CHECK_PROG): raw_decode
  794. requires JPEG support to compile. Use Automake conditional to
  795. only include it when JPEG support is available.
  796. * html/build.html: Try to improve the nmake-based VC++ build
  797. description.
  798. * libtiff/tiffconf.vc.h: Build fixes based on testing.
  799. * libtiff/tif_config.vc.h: Build fixes based on testing.
  800. * libtiff/libtiff.def: TIFFRasterScanline does not exist so remove
  801. export for it.
  802. 2015-06-20 Bob Friesenhahn <[email protected]>
  803. * libtiff/tif_config.vc.h: Make adjustments to match the new
  804. definitions that configure produces, including for WIN64. Still
  805. needs to be tested.
  806. * configure.ac: For 64-bit MinGW, fix SSIZE_FORMAT formatting
  807. specifier. 64-bit MinGW supports 'long long' but support for
  808. 'lld' is not assured by the run-time DLLs and so GCC warns.
  809. Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
  810. and printf format specifier to deal with printing values of
  811. 'size_t' type. In particular, this was necessary for WIN64.
  812. Added a configure test for if the system headers provide 'optarg'
  813. (normal case) and block out the many explicit 'extern' statements
  814. in the utilities. This was found to be necessary under Windows
  815. when getopt is in a DLL and the symbols are already imported with
  816. dllimport via standard header files.
  817. * test/raw_decode.c (XMD_H): Avoid conflicting typedefs for INT32
  818. and boolean in MinGW build due to including jpeglib.h.
  819. * test/rewrite_tag.c (main): Fix problem with location of variable
  820. declaration.
  821. * libtiff/libtiff.def: Added exports for TIFFGetConfiguredCODECs,
  822. TIFFReadRGBAImageOriented, TIFFSetCompressionScheme,
  823. TIFFSwabArrayOfTriples, TIFFVGetFieldDefaulted, _TIFFCheckRealloc,
  824. TIFFRasterScanline, TIFFSetErrorHandlerExt,
  825. TIFFSetWarningHandlerExt, TIFFNumberOfDirectories,
  826. TIFFCreateCustomDirectory, TIFFCreateEXIFDirectory,
  827. TIFFWriteCustomDirectory, _TIFFRewriteField as recommended by
  828. Roger Leigh and justified by use in libtiff tests, documentation,
  829. and changelog notes. Also sorted symbol list and removed
  830. duplicate entries.
  831. 2015-06-16 Bob Friesenhahn <[email protected]>
  832. * libtiff/tif_getimage.c: Fix four Coverity issues related to
  833. unintended sign extension.
  834. 2015-06-16 Even Rouault <even.rouault at spatialys.com>
  835. * libtiff/tif_unix.c: fix compilation with MSVC (fix by Jeff McKenna)
  836. 2015-06-14 Lee Howard <[email protected]>
  837. * libtiff/tif_unix.c: contribution from Vadim Zeitlin on
  838. Bugzilla Bug #2510 fixes several harmless but still annoying
  839. warnings
  840. * configure: contribution from Ludolf Holzheid on Bugzilla
  841. Bug #2498. Adds an option to select the file I/O style on
  842. Windows hosts.
  843. * libtiff/tif_getimage.c: contribution from Gary Cramblitt
  844. on Bugzilla Bug #2409. Correct reading of certain tiled TIFFs.
  845. * configure, configure.ac: contribution from Marcos H. Woehrmann
  846. on Bugzilla Bug #2405. Correct shell equality operator.
  847. * tools/tiffgt.c (raster_draw): contribution from Jay Berkenbilt
  848. on Bugzilla Bug #2401. Appropriately call glFlush().
  849. * tools/tiff2pdf.c: change ColorTransform from "0" to "1"
  850. following Bugzilla Bug #2150.
  851. 2015-06-13 Lee Howard <[email protected]>
  852. * libtiff/tif_lzw.c: contribution from Andy Cave - decode
  853. files that contain consecutive CODE_CLEAR codes.
  854. * tools/tiff2pdf.c: contribution from Antti S. Lankila on
  855. Bugzilla Bug #2078. Suppress initial output of the header.
  856. * tools/tiff2pdf.c: contribution from Yuriy M. Kaminskiy -
  857. Take care in using the return value from snprintf().
  858. * tools/tiffcrop.c: contribution from Eduardo Robles Elvira -
  859. correctly copy the compression tag from the source TIFF.
  860. * tools/tiff2ps.c: contribution from Eduardo Robles Elvira -
  861. correct sizing and scaling problems with output document.
  862. 2015-06-10 Bob Friesenhahn <[email protected]>
  863. * libtiff/tif_jpeg.c (JPEGDecode): Split JPEGDecode() into two
  864. clean implementations in order to avoid pre-processor hell. Only
  865. one of the implementations is used in a given build.
  866. 2015-06-08 Even Rouault <even.rouault at spatialys.com>
  867. * libtiff/tif_jpeg.c: Fix compilation in BITS_IN_JSAMPLE == 12
  868. case
  869. 2015-06-07 Bob Friesenhahn <[email protected]>
  870. * libtiff/tif_write.c (TIFFWriteEncodedStrip): Fix Coverity 715975
  871. "Division or modulo by zero".
  872. (TIFFWriteEncodedTile): Fix Coverity 715976 and 715977 "Division
  873. or modulo by zero".
  874. (TIFFWriteRawStrip): Fix Coverity 715978 "Division or modulo by
  875. zero".
  876. (TIFFWriteScanline): Fix Coverity 715979 "Division or modulo by
  877. zero".
  878. * libtiff/tif_read.c (TIFFStartTile): Fix Coverity 715973 and
  879. 715974 "Division or modulo by zero".
  880. 2015-05-31 Bob Friesenhahn <[email protected]>
  881. * libtiff/tif_dir.c (TIFFNumberOfDirectories): Quiet Coverity
  882. 1134470 "Logically dead code" by making the roll-over check
  883. explicit.
  884. * libtiff/tif_luv.c (LogLuvDecodeTile): Fix Coverity 991227
  885. "Division or modulo by zero".
  886. (LogLuvDecodeStrip): Fix Coverity 991239 "Division or modulo by
  887. zero".
  888. (LogLuvEncodeStrip): Fix Coverity 991240 "Division or modulo by
  889. zero".
  890. (LogLuvEncodeTile): Fix Coverity 991241 "Division or modulo by
  891. zero".
  892. * libtiff/tif_dirread.c (TIFFReadDirEntryDoubleArray): Fix
  893. Coverity 298626 "Logically dead code".
  894. (TIFFReadDirEntryFloatArray): Fix Coverity 298627 "Logically dead
  895. code".
  896. (TIFFReadDirEntryIfd8Array): Fix Coverity 298628 "Logically dead
  897. code".
  898. (TIFFReadDirEntrySlong8Array): Fix Coverity 298629 "Logically dead
  899. code"
  900. * libtiff/tif_dir.c (TIFFNumberOfDirectories): Don't depend on ++
  901. operator precedenc in evaluation. Might quench Coverity 1134470
  902. "Logically dead code".
  903. * libtiff/tif_jpeg.c (JPEGDecode): Fix Coverity 602597 "Operands
  904. don't affect result". This change uses ifdefs to include
  905. applicable code based on properties of libjpeg. Still needs to be
  906. re-tested with 12-bit "6b" and "MK1".
  907. 2015-05-30 Bob Friesenhahn <[email protected]>
  908. * libtiff/tif_dirwrite.c (_TIFFRewriteField): Fix Coverity 1024310
  909. "Resource leak".
  910. * libtiff/tif_ojpeg.c (OJPEGReadHeaderInfoSecStreamDht): Fix
  911. Coverity 601720 "Resource leak".
  912. * libtiff/tif_jpeg.c (JPEGCleanup): Fix Coverity 298624
  913. "Dereference before null check".
  914. * libtiff/tif_ojpeg.c (OJPEGReadBufferFill): Fix Coverity 603400
  915. "Missing break in switch".
  916. * contrib/addtiffo/tif_overview.c (TIFF_DownSample): Check buffer
  917. size calculation for overflow.
  918. * contrib/addtiffo/addtiffo.c (main): Possibly address Coverity
  919. 1024226 "Untrusted value as argument".
  920. * tools/gif2tiff.c (readgifimage): Fix Coverity 1024222 "Untrusted
  921. value as argument".
  922. (checksignature): Fix Coverity 1024894 "Ignoring number of bytes
  923. read".
  924. (readextension): Fix Coverity 1024893 "Ignoring number of bytes
  925. read".
  926. (readgifimage): Fix Coverity 1024890 "Ignoring number of bytes
  927. read".
  928. (readraster): Fix Coverity 1024891 "Ignoring number of bytes
  929. read".
  930. (readgifimage): Fix Coverity 1024892 "Ignoring number of bytes
  931. read".
  932. * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 1024181
  933. "Structurally dead code".
  934. * tools/raw2tiff.c (main): Fix Coverity 1024887 "Unchecked return
  935. value from library".
  936. (guessSize): Fix Coverity 1024888 "Unchecked return value from
  937. library".
  938. (guessSize): Fix Coverity 1214162 "Ignoring number of bytes read".
  939. (guessSize): Fix Coverity 1024889 "Unchecked return value from
  940. library".
  941. * tools/tiff2pdf.c (t2p_readwrite_pdf_image): Fix Coverity 298621
  942. "Resource leak".
  943. (t2p_readwrite_pdf_image): Fix Coverity 1024181 "Structurally dead
  944. code".
  945. (t2p_write_pdf): Fix Coverity 1227690 "Unused value".
  946. 2015-05-29 Bob Friesenhahn <[email protected]>
  947. * contrib/iptcutil/iptcutil.c (formatIPTC): Fix Coverity 1024468
  948. "Infinite loop".
  949. (formatIPTC): Fix Coverity 1024727 "Truncated stdio return value".
  950. (formatIPTC): Fix Coverity 1214240 "Untrusted loop bound".
  951. 2015-05-28 Bob Friesenhahn <[email protected]>
  952. * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
  953. Coverity 298615 "Resource leak".
  954. (TIFFGetOvrBlock): Fix Coverity 1024649 "Unintended sign
  955. extension".
  956. * tools/bmp2tiff.c (main): Fix Coverity 1024225 "Untrusted value
  957. as argument".
  958. (main): Fix Coverity 1024678 "Unchecked return value from
  959. library".
  960. (main): Fix Coverity 1024679 "Unchecked return value from
  961. library".
  962. (main): Fix Coverity 1214160 "Ignoring number of bytes read".
  963. * contrib/addtiffo/tif_ovrcache.c (TIFFCreateOvrCache): Fix
  964. Coverity 298615 "Resource leak".
  965. * tools/tiffcp.c: Fix Coverity 1024306, 1024307, 1024308, 1024309
  966. "Resource leak".
  967. * tools/tiffsplit.c (cpTiles): Fix Coverity 1024304 "Resource
  968. leak".
  969. (cpStrips): Fix Coverity 1024305 "Resource leak".
  970. 2015-05-27 Bob Friesenhahn <[email protected]>
  971. * tools/ras2tiff.c: Fix Sun Raster header definition to be safe
  972. for 64-bit systems. Add some header validations. Should fix many
  973. Coverity issues.
  974. (main): Fix Coverity 1301206: "Integer handling issues (BAD_SHIFT)".
  975. (main): Quiet Coverity 1024223 "Untrusted value as argument".
  976. * tools/tiffmedian.c (GetInputLine): Fix Coverity 1024795 "Nesting
  977. level does not match indentation".
  978. (get_histogram): Quiet Coverity 1024386 "Out-of-bounds read".
  979. This was a benign mis-diagnosis but added code to enforce against
  980. buffer overflow.
  981. * tools/tiffcrop.c (ROTATE_ANY): Fix Coverity 1294542 "Logical
  982. vs. bitwise operator".
  983. (readContigStripsIntoBuffer): Fix Coverity 1024545 "Division or
  984. modulo by zero".
  985. (readContigTilesIntoBuffer): Fix Coverity 1024586 "Logically dead
  986. code".
  987. (writeSingleSection): Fix Coverity 1024796 "Nesting level does not
  988. match indentation".
  989. (writeCroppedImage): Fix Coverity 1024797 "Nesting level does not
  990. match indentation".
  991. (loadImage): Fix Coverity 1299741 "Dereference before null check".
  992. (loadImage): Fix Coverity 1299740 "Out-of-bounds write".
  993. 2015-03-02 Even Rouault <[email protected]>
  994. * tools/tiffdither.c: check memory allocations to avoid writing to
  995. NULL pointer. Also check multiplication overflow. Fixes #2501,
  996. CVE-2014-8128. Derived from patch by Petr Gajdos.
  997. 2015-01-26 Even Rouault <[email protected]>
  998. * add html/v4.0.4beta.html under version control
  999. * HOWTO-RELEASE: write that cvs add html/vX.X.html must be used
  1000. 2015-01-26 Even Rouault <[email protected]>
  1001. * libtiff 4.0.4beta released
  1002. 2015-01-26 Even Rouault <[email protected]>
  1003. * automake: updated to 1.15
  1004. * libtool: updated to 2.4.5
  1005. 2015-01-22 Even Rouault <[email protected]>
  1006. * tools/tiff2pdf.c: Fix two crashes (oCERT-2014-013)
  1007. 2015-01-05 Frank Warmerdam <[email protected]>
  1008. * html/bugs.html: remove note about needing to email the tiff mailing
  1009. list administrator about being approved for membership, this appears
  1010. not to be true.
  1011. 2015-01-05 Olivier Paquet <[email protected]>
  1012. * tools/tiff2pdf.c: Fixed unsigned integer addition overflow detection.
  1013. 2015-01-03 Even Rouault <[email protected]>
  1014. * libtiff/tif_dirread.c: in TIFFCheckDirOffset(), avoid uint16 overflow
  1015. when reading more than 65535 directories, and effectively error out when
  1016. reaching that limit.
  1017. 2014-12-29 Even Rouault <[email protected]>
  1018. * libtiff/tif_jpeg.c: in JPEGFixupTags(), recognize SOF2, SOF9 and SOF10
  1019. markers to avoid emitting a warning (even if, according to the TechNote,
  1020. there are admitedly unusual/not recommended or even forbidden variants, but
  1021. they do work well with libjpeg for SOF2, and with libjpeg-turbo for SOF2,
  1022. SOF9 and SOF10).
  1023. Define in_color_space and input_components to the right values in
  1024. JPEGSetupEncode(), before calling jpeg_set_defaults(), as specified by
  1025. libjpeg API documentation, so as to be compatible with mozjpeg library.
  1026. Note: the default settings of mozjpeg will produce progressive scans, which
  1027. is forbidden by the TechNote.
  1028. 2014-12-29 Even Rouault <[email protected]>
  1029. * libtiff/tif_getimage.c: move test on vertical value of YCbCr subsampling.
  1030. to avoid buffer leak (fix previous fix, found by Coverity scan)
  1031. 2014-12-29 Even Rouault <[email protected]>
  1032. * libtiff/tif_next.c: add new tests to check that we don't read outside of
  1033. the compressed input stream buffer.
  1034. * libtiff/tif_getimage.c: in OJPEG case, fix checks on strile width/height
  1035. in the putcontig8bitYCbCr42tile, putcontig8bitYCbCr41tile and
  1036. putcontig8bitYCbCr21tile cases.
  1037. 2014-12-27 Even Rouault <[email protected]>
  1038. * libtiff/tif_dir.c: in TIFFDefaultDirectory(), reset any already existing
  1039. extented tags installed by user code through the extender mechaninm before
  1040. calling the extender callback (GDAL #5054)
  1041. 2014-12-26 Bob Friesenhahn <[email protected]>
  1042. * tools/tiffcrop.c: Fix warnings about variables set but not used.
  1043. * contrib/iptcutil/iptcutil.c: Fix warnings about variables set
  1044. but not used.
  1045. * tools/tiffgt.c: Fix warnings about unused parameters.
  1046. * libtiff/tif_stream.cxx: Fix warnings about unused parameters.
  1047. 2014-12-25 Even Rouault <[email protected]>
  1048. * libtiff/tif_getimage.c, libtiff/tif_ojpeg.c, libtiff/tif_zip.c: fix
  1049. various typos found by Debian lintian tool (GDAL #5756)
  1050. 2014-12-24 Even Rouault <[email protected]>
  1051. * libtiff/tif_getimage.c: avoid divide by zero on invalid YCbCr subsampling.
  1052. http://bugzilla.maptools.org/show_bug.cgi?id=2235
  1053. 2014-12-24 Even Rouault <[email protected]>
  1054. * tools/tiff2pdf.c: fix buffer overflow on some YCbCr JPEG compressed images.
  1055. http://bugzilla.maptools.org/show_bug.cgi?id=2445
  1056. 2014-12-24 Even Rouault <[email protected]>
  1057. * tools/tiff2pdf.c: fix buffer overflow on YCbCr JPEG compressed image.
  1058. Derived from patch by Petr Gajdos,
  1059. http://bugzilla.maptools.org/show_bug.cgi?id=2443
  1060. 2014-12-23 Even Rouault <[email protected]>
  1061. * libtiff/tif_dirread.c: In EstimateStripByteCounts(), check return code
  1062. of _TIFFFillStriles(). This solves crashing bug on corrupted
  1063. images generated by afl.
  1064. 2014-12-23 Even Rouault <[email protected]>
  1065. * libtiff/tif_read.c: fix several invalid comparisons of a uint64 value with
  1066. <= 0 by casting it to int64 first. This solves crashing bug on corrupted
  1067. images generated by afl.
  1068. 2014-12-21 Bob Friesenhahn <[email protected]>
  1069. * tools/tiffdump.c: Guard against arithmetic overflow when
  1070. calculating allocation buffer sizes.
  1071. 2014-12-21 Even Rouault <[email protected]>
  1072. * tools/tiff2bw.c: when Photometric=RGB, the utility only works if
  1073. SamplesPerPixel = 3. Enforce that
  1074. http://bugzilla.maptools.org/show_bug.cgi?id=2485 (CVE-2014-8127)
  1075. 2014-12-21 Even Rouault <[email protected]>
  1076. * tools/pal2rgb.c, tools/thumbnail.c: fix crash by disabling TIFFTAG_INKNAMES
  1077. copying. The right fix would be to properly copy it, but not worth the burden
  1078. for those esoteric utilities.
  1079. http://bugzilla.maptools.org/show_bug.cgi?id=2484 (CVE-2014-8127)
  1080. 2014-12-21 Even Rouault <[email protected]>
  1081. * tools/thumbnail.c: fix out-of-buffer write
  1082. http://bugzilla.maptools.org/show_bug.cgi?id=2489 (CVE-2014-8128)
  1083. 2014-12-21 Even Rouault <[email protected]>
  1084. * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS
  1085. or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or
  1086. COMPRESSION_CCITTFAX4
  1087. http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128)
  1088. 2014-12-21 Even Rouault <[email protected]>
  1089. * libtiff/tif_next.c: check that BitsPerSample = 2. Fixes
  1090. http://bugzilla.maptools.org/show_bug.cgi?id=2487 (CVE-2014-8129)
  1091. 2014-12-21 Even Rouault <[email protected]>
  1092. * tools/tiff2pdf.c: check return code of TIFFGetField() when reading
  1093. TIFFTAG_SAMPLESPERPIXEL
  1094. 2014-12-21 Even Rouault <[email protected]>
  1095. * tools/tiffcp.c: fix crash when converting YCbCr JPEG-compressed to none.
  1096. Based on patch by Tomasz Buchert (http://bugzilla.maptools.org/show_bug.cgi?id=2480)
  1097. Description: fix for Debian bug #741451
  1098. tiffcp crashes when converting JPEG-encoded TIFF to a different
  1099. encoding (like none or lzw). For example this will probably fail:
  1100. tiffcp -c none jpeg_encoded_file.tif output.tif
  1101. The reason is that when the input file contains JPEG data,
  1102. the tiffcp code forces conversion to RGB space. However,
  1103. the output normally inherits YCbCr subsampling parameters
  1104. from the input, which leads to a smaller working buffer
  1105. than necessary. The buffer is subsequently overrun inside
  1106. cpStripToTile() (called from writeBufferToContigTiles).
  1107. Note that the resulting TIFF file would be scrambled even
  1108. if tiffcp wouldn't crash, since the output file would contain
  1109. RGB data intepreted as subsampled YCbCr values.
  1110. This patch fixes the problem by forcing RGB space on the output
  1111. TIF if the input is JPEG-encoded and output is *not* JPEG-encoded.
  1112. Author: Tomasz Buchert <[email protected]>
  1113. 2014-12-21 Even Rouault <[email protected]>
  1114. Fix various crasher bugs on fuzzed images.
  1115. * libtiff/tif_dir.c: TIFFSetField(): refuse to set negative values for
  1116. TIFFTAG_XRESOLUTION and TIFFTAG_YRESOLUTION that cause asserts when writing
  1117. the directory
  1118. * libtiff/tif_dirread.c: TIFFReadDirectory(): refuse to read ColorMap or
  1119. TransferFunction if BitsPerSample has not yet been read, otherwise reading
  1120. it later will cause user code to crash if BitsPerSample > 1
  1121. * libtiff/tif_getimage.c: TIFFRGBAImageOK(): return FALSE if LOGLUV with
  1122. SamplesPerPixel != 3, or if CIELAB with SamplesPerPixel != 3 or BitsPerSample != 8
  1123. * libtiff/tif_next.c: in the "run mode", use tilewidth for tiled images
  1124. instead of imagewidth to avoid crash
  1125. * tools/bmp2tiff.c: fix crash due to int overflow related to input BMP dimensions
  1126. * tools/tiff2pdf.c: fix crash due to invalid tile count (should likely be checked by
  1127. libtiff too). Detect invalid settings of BitsPerSample/SamplesPerPixel for CIELAB / ITULAB
  1128. * tools/tiffcrop.c: fix crash due to invalid TileWidth/TileHeight
  1129. * tools/tiffdump.c: fix crash due to overflow of entry count.
  1130. 2014-12-15 Even Rouault <[email protected]>
  1131. * libtiff/tif_jpeg.c: Fix regression introduced on 2010-05-07 that caused
  1132. all tiles/strips to include quantization tables even when the jpegtablesmode
  1133. had the JPEGTABLESMODE_QUANT bit set.
  1134. Also add explicit removal of Huffman tables when jpegtablesmode has the
  1135. JPEGTABLESMODE_HUFF bit set, which avoids Huffman tables to be emitted in the
  1136. first tile/strip (only useful in update scenarios. create-only was
  1137. fine)
  1138. 2014-12-09 Bob Friesenhahn <[email protected]>
  1139. * tools/tiff2pdf.c: Assure that memory size calculations for
  1140. _TIFFmalloc() do not overflow the range of tmsize_t.
  1141. 2014-12-07 Even Rouault <[email protected]>
  1142. * tools/thumbnail.c, tools/tiffcrop.c: "fix" heap read over-run found with
  1143. Valgrind and Address Sanitizer on test suite
  1144. 2014-12-07 Bob Friesenhahn <[email protected]>
  1145. * tools/tiff2pdf.c (t2p_read_tiff_init): TIFFTAG_TRANSFERFUNCTION
  1146. tag can return one channel, with the other two channels set to
  1147. NULL. The tiff2pdf code was expecting that other two channels
  1148. were duplicate pointers in the case where there is only one
  1149. channel. Detect this condition in order to avoid a crash, and
  1150. presumably perform correctly with just one channel.
  1151. 2014-12-06 Bob Friesenhahn <[email protected]>
  1152. * tools/tiffdump.c: Fix double-free bug.
  1153. 2014-11-27 Even Rouault <[email protected]>
  1154. * libtiff/tif_config.vc.h: no longer use "#define snprintf _snprintf" with
  1155. Visual Studio 2015 aka VC 14 aka MSVC 1900
  1156. 2014-11-20 Even Rouault <[email protected]>
  1157. * libtiff/tif_lzw.c: prevent potential null dereference of
  1158. sp->dec_codetab in LZWPreDecode (bug #2459)
  1159. * libtiff/tif_read.c: in TIFFReadBufferSetup(), avoid passing -1 size
  1160. to TIFFmalloc() if passed user buffer size is 0 (bug #2459)
  1161. * libtiff/tif_ojpeg.c: make Coverity happier (not a bug, #2459)
  1162. * libtiff/tif_dir.c: in _TIFFVGetField() and _TIFFVSetField(), make
  1163. Coverity happier (not a bug, #2459)
  1164. * libtiff/tif_dirread.c: in TIFFFetchNormalTag(), make Coverity happier
  1165. (not a bug, #2459)
  1166. * tools/tiff2pdf.c: close PDF file (bug #2479)
  1167. * tools/fax2ps.c: check malloc()/realloc() result (bug #2470)
  1168. * tools/tiffdump.c: detect cycle in TIFF directory chaining (bug #2463)
  1169. and avoid passing a NULL pointer to read() if seek() failed before (bug #2459)
  1170. * tools/tiffcrop.c: fix segfault if bad value passed to -Z option
  1171. (bug #2459) and add missing va_end in dump_info (#2459)
  1172. * tools/gif2tif.c: apply patch for CVE-2013-4243 (#2451)
  1173. 2014-11-20 Even Rouault <[email protected]>
  1174. * libtiff/tif_jpeg.c: fix segfault in JPEGFixupTagsSubsampling() on
  1175. corrupted image where tif->tif_dir.td_stripoffset == NULL (bug #2471)
  1176. 2014-11-20 Even Rouault <[email protected]>
  1177. * automake: updated to 1.14.1
  1178. * libtool: updated to 2.4.3
  1179. * HOWTO-RELEASE: small update about autotools building order
  1180. 2014-10-20 Olivier Paquet <[email protected]>
  1181. * tools/tiff2pdf.c: Preserve input file directory order when pages
  1182. are tagged with the same page number.
  1183. 2014-08-31 Bob Friesenhahn <[email protected]>
  1184. * libtiff/tif_dirread.c (TIFFReadDirEntryOutputErr): Incorrect
  1185. count for tag should be a warning rather than an error since
  1186. errors terminate processing.
  1187. 2014-06-07 Bob Friesenhahn <[email protected]>
  1188. * tools/tiff2rgba.c (]): Fixed tiff2rgba usage message in that zip
  1189. was wrongly described. Fix suggested by Miguel Medalha.
  1190. 2014-05-06 Bob Friesenhahn <[email protected]>
  1191. * libtiff/tif_dirinfo.c (TIFFField) : Fix data type for
  1192. TIFFTAG_GLOBALPARAMETERSIFD tag. Patch by Steve Underwood.
  1193. Reviewed and forwarded by Lee Howard.
  1194. 2013-11-30 Frank Warmerdam <[email protected]>
  1195. * libtiff/tif_dir.c: fix last fix for TIFFNumberOfDirectories()
  1196. 2013-10-21 Frank Warmerdam <[email protected]>
  1197. * libtiff/tif_dir.c: generate error in case of directory count
  1198. overflow.
  1199. 2013-10-01 Frank Warmerdam <[email protected]>
  1200. * libtiff/tiff.h, libtiff/tif_dirinfo.c: add definitions for
  1201. TIFF/EP CFARepeatPatternDim and CFAPattern tags (bug #2457)
  1202. 2013-09-12 Bob Friesenhahn <[email protected]>
  1203. * libtiff/tif_dir.c (TIFFAdvanceDirectory): If nextdir is found to
  1204. be defective, then set it to zero before returning error in order
  1205. to terminate processing of truncated TIFF. Issue found and fix
  1206. suggested by Richard Nolde.
  1207. 2013-08-14 Frank Warmerdam <[email protected]>
  1208. * tools/gif2tiff.c: fix possible OOB write (#2452, CVE-2013-4244)
  1209. 2013-08-13 Frank Warmerdam <[email protected]>
  1210. * tools/gif2tiff.c: Be more careful about corrupt or
  1211. hostile input files (#2450, CVE-2013-4231)
  1212. * tools/tiff2pdf.c: terminate after failure of allocating
  1213. ycbcr buffer (bug #2449, CVE-2013-4232)
  1214. 2013-07-09 Frank Warmerdam <[email protected]>
  1215. * tools/tiffinfo.c: Default various values fetched with
  1216. TIFFGetField() to avoid being uninitialized.
  1217. 2013-05-02 Tom Lane <[email protected]>
  1218. * tools/tiff2pdf.c: Rewrite JPEG marker parsing in
  1219. t2p_process_jpeg_strip to be at least marginally competent. The
  1220. approach is still fundamentally flawed, but at least now it won't
  1221. stomp all over memory when given bogus input. Fixes CVE-2013-1960.
  1222. 2013-05-02 Tom Lane <[email protected]>
  1223. * contrib/dbs/xtiff/xtiff.c, libtiff/tif_codec.c,
  1224. libtiff/tif_dirinfo.c, tools/rgb2ycbcr.c, tools/tiff2bw.c,
  1225. tools/tiff2pdf.c, tools/tiff2ps.c, tools/tiffcrop.c,
  1226. tools/tiffdither.c: Enlarge some fixed-size buffers that weren't
  1227. large enough, and eliminate substantially all uses of sprintf(buf,
  1228. ...) in favor of using snprintf(buf, sizeof(buf), ...), so as to
  1229. protect against overflow of fixed-size buffers. This responds in
  1230. particular to CVE-2013-1961 concerning overflow in tiff2pdf.c's
  1231. t2p_write_pdf_page(), but in general it seems like a good idea to
  1232. deprecate use of sprintf().
  1233. 2013-03-29 Bob Friesenhahn <[email protected]>
  1234. * configure.ac: Applied patch by Brad Smith to improve pkg-config
  1235. static linking by adding -lm to Libs.private when needed.
  1236. 2013-03-05 Tom Lane <[email protected]>
  1237. * html/man/tiff2ps.1.html, html/man/tiffcp.1.html,
  1238. html/man/tiffdither.1.html, man/tiff2ps.1, man/tiffcp.1,
  1239. man/tiffdither.1, tools/tiff2ps.c, tools/tiffcp.c,
  1240. tools/tiffdither.c: Sync tool usage printouts and man pages with
  1241. reality (quite a few options had escaped being documented in one
  1242. or both places). Per an old report from Miroslav Vadkerti.
  1243. 2013-01-25 Bob Friesenhahn <[email protected]>
  1244. * tools/tiff2ps.c:Fix bug in auto rotate option code. Once a
  1245. rotation angle was set by the auto rotate check, it was retained
  1246. for all pages that followed instead ofa being retested for each
  1247. page. Patch by Richard Nolde.
  1248. 2013-01-18 Frank Warmerdam <[email protected]>
  1249. * libtiff/tif_write.c: tmsize_t related casting warning fixed for
  1250. 64bit linux.
  1251. * libtiff/tif_read.c: uint64/tmsize_t change for MSVC warnings.
  1252. http://bugzilla.maptools.org/show_bug.cgi?id=2427
  1253. 2012-12-20 Tom Lane <[email protected]>
  1254. * test/raw_decode.c: Relax raw_decode's pixel-value checks so that
  1255. it will pass with more versions of libjpeg. (There are at least
  1256. three in active use now, and JPEG_LIB_VERSION doesn't tell us
  1257. enough to uniquely identify expected results.)
  1258. 2012-12-12 Tom Lane <[email protected]>
  1259. * libtiff/tif_print.c: Fix TIFFPrintDirectory's handling of
  1260. field_passcount fields: it had the TIFF_VARIABLE and
  1261. TIFF_VARIABLE2 cases backwards.
  1262. 2012-12-10 Tom Lane <[email protected]>
  1263. * tools/ppm2tiff.c: Improve previous patch for CVE-2012-4564:
  1264. check the linebytes calculation too, get the max() calculation
  1265. straight, avoid redundant error messages, check for malloc
  1266. failure.
  1267. 2012-12-10 Tom Lane <[email protected]>
  1268. * libtiff/tif_pixarlog.c: Improve previous patch for CVE-2012-4447
  1269. (to enlarge tbuf for possible partial stride at end) so that
  1270. overflow in the integer addition is detected. Per gripe from
  1271. Huzaifa Sidhpurwala.
  1272. 2012-12-03 Bob Friesenhahn <[email protected]>
  1273. * tools/tiffset.c: tiffset now supports a -u option to unset a
  1274. tag. Patch by Zach Baker. See
  1275. http://bugzilla.maptools.org/show_bug.cgi?id=2419
  1276. 2012-11-18 Bob Friesenhahn <[email protected]>
  1277. * automake: Update Automake to 1.12.5 release.
  1278. * libtiff/tif_{unix,vms,win32}.c (_TIFFmalloc): ANSI C does not
  1279. require malloc() to return NULL pointer if requested allocation
  1280. size is zero. Assure that _TIFFmalloc does.
  1281. 2012-11-01 Frank Warmerdam <[email protected]>
  1282. * tools/ppm2tiff.c: avoid zero size buffer vulnerability.
  1283. CVE-2012-4564 - Thanks to Huzaifa Sidhpurwala of the
  1284. Red Hat Security Response team for the fix.
  1285. 2012-10-18 Frank Warmerdam <[email protected]>
  1286. * tif_zip.c: Avoid crash on NULL error messages.
  1287. 2012-09-22 Bob Friesenhahn <[email protected]>
  1288. * libtiff 4.0.3 released.
  1289. 2012-09-20 Bob Friesenhahn <[email protected]>
  1290. * Makefile.am: Update to Automake 1.12.4
  1291. 2012-08-19 Bob Friesenhahn <[email protected]>
  1292. * Makefile.in: Update to Automake 1.12.3
  1293. * libtiff{tiff.h, tif_print.c, tif_dirinfo.c, tif_dirread.c}: Add
  1294. some TIFF/FX support in libtiff. Add the tag definitions to
  1295. tiff.h. Add the related TIFF field definitions to tif_dirinfo.c,
  1296. and also fixes an error in a comment. Adds the photometric values
  1297. to tif_print.c, and fixes a bug. These changes are by Steve
  1298. Underwood.
  1299. 2012-08-13 Frank Warmerdam <[email protected]>
  1300. * libtiff/tif_write.c: Fix bug rewriting image tiles in a
  1301. compressed file: http://trac.osgeo.org/gdal/ticket/4771
  1302. 2012-08-02 Frank Warmerdam <[email protected]>
  1303. * libtiff/tif_dirread.c: report error in case of mismatch value
  1304. counts for tags (ie. DotRange).
  1305. 2012-07-26 Tom Lane <[email protected]>
  1306. * libtiff/{tiffio.h, tif_dirinfo.c, libtiff.def}: Add six new
  1307. functions TIFFFieldTag(), TIFFFieldName(), TIFFFieldDataType(),
  1308. TIFFFieldPassCount(), TIFFFieldReadCount(), TIFFFieldWriteCount()
  1309. as external accessors for the opaque type TIFFField.
  1310. * tools/tiffset.c: Make tiffset use the above functions instead of
  1311. relying on library private headers.
  1312. 2012-07-19 Tom Lane <[email protected]>
  1313. * tools/tiff2pdf.c: Fix two places where t2p_error didn't get set
  1314. after a malloc failure. No crash risk AFAICS, but the program
  1315. might not report exit code 1 as desired. h/t [email protected]
  1316. 2012-07-18 Tom Lane <[email protected]>
  1317. * tools/tiff2pdf.c: Fail when TIFFSetDirectory() fails. This
  1318. prevents core dumps or perhaps even arbitrary code execution when
  1319. processing a corrupt input file (CVE-2012-3401).
  1320. 2012-07-06 Bob Friesenhahn <[email protected]>
  1321. * test/raw_decode.c (main): Test fixes to work with IJG JPEG 7+.
  1322. IJG JPEG 7+ uses a different upsampling algorithm which produces
  1323. different numeric results.
  1324. * libtiff/tif_jpeg.c (JPEGPreDecode): Patch from Even Rouault to
  1325. work with IJG JPEG 7+.
  1326. 2012-07-04 Bob Friesenhahn <[email protected]>
  1327. * test/raw_decode.c: Add changes so that test can run with build
  1328. directory outside of source directory.
  1329. 2012-07-02 Frank Warmerdam <[email protected]>
  1330. * libtiff/tif_jpeg.c: Fix handling when writing RGBA jpeg compressed
  1331. imagery (http://trac.osgeo.org/gdal/ticket/4732)
  1332. 2012-06-20 Frank Warmerdam <[email protected]>
  1333. * libtiff/tif_fax3.c: fix memory initialization of runs, only
  1334. partly done.
  1335. * libtiff/tif_pixarlog.c: Make sure tbuf is large enough for one
  1336. full "stride" past the end.
  1337. 2012-06-19 Frank Warmerdam <[email protected]>
  1338. * libtiff/tif_packbits.c: fix read past end of data buffer.
  1339. 2012-06-15 Frank Warmerdam <[email protected]>
  1340. * libtiff 4.0.2 released.
  1341. * tools/tif2pdf.c, tools/tifdump.c: avoid unitialized variable
  1342. warnings with clang.
  1343. 2012-06-15 Tom Lane <[email protected]>
  1344. * tools/tiff2pdf.c: Defend against integer overflows while
  1345. calculating required buffer sizes (CVE-2012-2113).
  1346. 2012-06-12 Frank Warmerdam <[email protected]>
  1347. * libtiff/tif_print.c: Be careful about printing corrupt inknames.
  1348. * libtiff/tif_fax3.c: Ensure runs array is initialized to zeros.
  1349. 2012-06-07 Frank Warmerdam <[email protected]>
  1350. * libtiff/tif_print.c: avoid pretty printing other fields when
  1351. we don't have the proper amount and type of data or if the field
  1352. is actually autodefined.
  1353. 2012-06-05 Frank Warmerdam <[email protected]>
  1354. * libtiff/tif_tile.c, libtiff/tif_strip.c: Ensure that illegal
  1355. ycbcrsubsampling values result in a runtime error, not just an
  1356. assertion.
  1357. * tests/custom_dir.c: Add testing of EXIF and custom directory
  1358. reading and writing.
  1359. * libtiff/tif_dir.c, libtiff/tiffio.h: Add TIFFCreateCustomDirectory()
  1360. and TIFFCreateEXIFDirectory() functions.
  1361. * libtiff/tif_dir.c, tif_print.c : Remove FIELD_CUSTOM handling for
  1362. PAGENUMBER, HALFTONEHINTS, and YCBCRSUBSAMPLING. Implement DOTRANGE
  1363. differently. This is to avoid using special TIFFGetField/TIFFSetField
  1364. rules for these fields in non-image directories (like EXIF).
  1365. 2012-06-04 Frank Warmerdam <[email protected]>
  1366. * libtiff/tif_jpeg.c: Remove code for fixing up h_sampling and v_sampling
  1367. in JPEGPreDecode(). If a fixup will be done it needs to be done sooner
  1368. in JPEGFixupTagsSubsampling() or else buffer sized may be wrong.
  1369. 2012-06-01 Frank Warmerdam <[email protected]>
  1370. * tools/tiffinfo.c: Do not try to read image data in EXIF directories.
  1371. * libtiff/tif_getimage.c: added support for _SEPARATED CMYK images.
  1372. http://bugzilla.maptools.org/show_bug.cgi?id=2379
  1373. * libtiff/tif_unix.c: use strerror() to return a more specific error message
  1374. on failed open.
  1375. http://bugzilla.maptools.org/show_bug.cgi?id=2341
  1376. * libtiff/tif_jpeg.c: Fix JPEGDecodeRaw() bugs.
  1377. http://bugzilla.maptools.org/show_bug.cgi?id=2386
  1378. * tests/decode_raw.c, tests/images/quad-tile.jpg.tiff: add limited support
  1379. for testing jpeg in tiff image decoding including the "raw" decode interface.
  1380. 2012-05-31 Frank Warmerdam <[email protected]>
  1381. * libtiff/tif_jpeg.c: avoid overrunning the end of the output buffer in
  1382. JPEGDecodeRaw() - mostly likely to occur when there is confusion about
  1383. sampling values.
  1384. * libtiff/tif_read.c: Make sure tif_rawdatasize is cleared when tif_rawdata is freed.
  1385. * libtiff/tif_getimage.c: Add support for greyscale+alpha c/o Jérémie Laval.
  1386. http://bugzilla.maptools.org/show_bug.cgi?id=2398
  1387. 2012-05-29 Frank Warmerdam <[email protected]>
  1388. * libtiff/tif_dir.c: avoid using specific set/get logic to process fields in custom directories,
  1389. like EXIF directories. This fixes problems like a tag "320" existing in a custom directory getting
  1390. processed as if it were a colormap when it isn't really. Damn the wide variety of argument formulations
  1391. to get/set functions for different tags!
  1392. * libtiff/tif_dir.c: Ensure that we keep track of when tif_rawdata
  1393. is a pointer into an mmap()ed file via TIFF_BUFFERMMAP flag.
  1394. 2012-05-24 Frank Warmerdam <[email protected]>
  1395. * libtiff/tif_pixarlog.c: Allocate working buffer one word larger since we "forward
  1396. accumulate" and overwrite the end by one word in at least some cases.
  1397. 2012-05-23 Frank Warmerdam <[email protected]>
  1398. * libtiff/tif_pixarlog.c: avoid accessing out of the lookup arrays for out of range inputs.
  1399. * tools/tiffinfo.c: initialize h=0 to avoid undefined variable for degenerate files.
  1400. * libtiff/tif_ojpeg.c: if OJPEGWriteHeader() fails once do not bother trying again on
  1401. the same image.
  1402. * libtiff/tif_ojpeg.c: make things more resilient in the face of files without
  1403. stripbytecounts or stripoffsets or where loading these fails.
  1404. * libtiff/tif_print.c: be careful about whether min/max values are singular
  1405. or one per sample.
  1406. * libtiff/tif_print.c: Avoid confusion about count size when printing custom fields.
  1407. May affect things like ISOSpeedRatings.
  1408. * libtiff/tif_dir.c: avoid one byte past end of ink names reading
  1409. in some cases.
  1410. 2012-05-19 Bob Friesenhahn <[email protected]>
  1411. * man/TIFFGetField.3tiff: Correct the 'count' field type in the
  1412. example for how to retreive the value of unsupported tags.
  1413. 2012-03-30 Frank Warmerdam <[email protected]>
  1414. * tif_getimage.c: Fix size overflow (zdi-can-1221,CVE-2012-1173)
  1415. care of Tom Lane @ Red Hat.
  1416. 2012-02-18 Bob Friesenhahn <[email protected]>
  1417. * libtiff 4.0.1 released.
  1418. * Update automake used to 1.11.3.
  1419. * libtiff/tiffio.h: Use double-underbar syntax in GCC printf
  1420. attribute specification to lessen the risk of accidental macro
  1421. substitution. Patch from Vincent Torri.
  1422. 2012-01-31 Frank Warmerdam <[email protected]>
  1423. * libtiff/tif_dir.c, libtiff/tif_dirread.c: Extra caution around
  1424. assumption tag fetching is always successful.
  1425. * libtiff/tif_jpeg.c: Extra caution for case where sp is NULL.
  1426. 2012-01-22 Bob Friesenhahn <[email protected]>
  1427. * configure.ac: Add support for using library symbol versioning on
  1428. ELF systems with the GNU linker. Support is enabled via
  1429. --enable-ld-version-script. Disabled by default for now until
  1430. there is a decision for how to deploy a libtiff with versioned
  1431. symbols after libtiff 4.0.0 was already released.
  1432. 2011-12-22 Bob Friesenhahn <[email protected]>
  1433. * libtiff/tif_win32.c: Eliminate some minor 64-bit warnings in
  1434. tif_win32.c. Patch by Edward Lam.
  1435. * configure.ac: Add libtiff private dependency on -llzma for
  1436. pkg-config. Patch by Mark Brand.
  1437. Updated Automake to 1.11.2.
  1438. 2011-12-21 Bob Friesenhahn <[email protected]>
  1439. * libtiff 4.0.0 released.
  1440. 2011-12-08 Frank Warmerdam <[email protected]>
  1441. * libtiff/tif_dirread.c, libtiff/tif_read.c: more cautious checking
  1442. of _TIFFFillStriles() results (#gdal 4372)
  1443. 2011-12-07 Frank Warmerdam <[email protected]>
  1444. * libtiff/tif_dirread.c: fixes to deal with invalid files where
  1445. _TIFFFillStriles() fails, and we try to chop up strips (gdal #4372)
  1446. * libtiff/tif_dirread.c: fix error reporting when there is no
  1447. tag information struct and name (gdal #4373)
  1448. 2011-10-22 Bob Friesenhahn <[email protected]>
  1449. * Update GNU libtool to 2.4.2.
  1450. * tools/tiffsplit.c (tiffcp): TIFFGetField count field should be
  1451. uint32 type for TIFFTAG_JPEGTABLES. Patch by Christophe
  1452. Deroulers.
  1453. 2011-06-21 Frank Warmerdam <[email protected]>
  1454. * libtiff/libtiff.def: Restore TIFFMergeFieldInfo.
  1455. 2011-05-31 Jim Meyering <[email protected]>
  1456. * libtiff/tif_dirread.c (TIFFFetchStripThing): Free "data" also
  1457. upon failure to allocate "resizeddata".
  1458. * tools/tiff2ps.c (PSDataBW): Zero buffer *after* checking for
  1459. allocation failure, not before.
  1460. * libtiff/tif_ojpeg.c: plug leaks on OJPEG read failure path
  1461. * tools/rgb2ycbcr.c (cvtRaster): unchecked malloc
  1462. * libtiff/tif_jpeg.c, tools/tiff2pdf.c, tools/tiff2ps.c: mark
  1463. NULL-deref and possible overflow
  1464. * tools/tiff2pdf.c: remove decl+set of set-but-not-used local, "written"
  1465. * libtiff/tif_jpeg.c (JPEGInitializeLibJPEG): Remove declaration
  1466. and set of otherwise unused local, data_is_empty.
  1467. * libtiff/tif_jpeg.c (JPEGDecodeRaw) [JPEG_LIB_MK1_OR_12BIT]:
  1468. Diagnose out-of-memory failure and return 0 rather than
  1469. dereferencing NULL.
  1470. 2011-05-24 Frank Warmerdam <[email protected]>
  1471. * libtiff/tif_dirread.c: produce special error message for zero tag
  1472. directories instead of error out on the malloc(0) failure.
  1473. 2011-05-16 Frank Warmerdam <[email protected]>
  1474. * libtiff/tif_dirinfo.c: Restore TIFFMergeFieldInfo() and
  1475. related declarations as they are in active use by libraries
  1476. such as libgeotiff, and work just fine. (#2315)
  1477. 2011-04-20 Frank Warmerdam <[email protected]>
  1478. * libtiff/tif_dirinfo.c,tiffio.h: Remove the obsolete
  1479. TIFFMergeFieldInfo/TIFFFindFieldInfo/TIFFFindFieldInfoByName API.
  1480. http://bugzilla.maptools.org/show_bug.cgi?id=2315
  1481. * libtiff/libtiff.def: add some missing (64bit) APIs.
  1482. http://bugzilla.maptools.org/show_bug.cgi?id=2316
  1483. 2011-04-09 Bob Friesenhahn <[email protected]>
  1484. * libtiff 4.0.0beta7 released.
  1485. 2011-04-09 Bob Friesenhahn <[email protected]>
  1486. * configure.ac: Should use AC_CANONICAL_HOST since host specifies
  1487. the run-time target whereas target is used to specify the final
  1488. output target if the package is a build tool (like a compiler),
  1489. which libtiff is not. Resolves libtiff bug 2307 "Use
  1490. AC_CANONICAL_HOST macro".
  1491. 2011-04-02 Bob Friesenhahn <[email protected]>
  1492. * configure.ac: Support configuring TIFF_INT64_FORMAT and
  1493. TIFF_UINT64_FORMAT appropriately for MinGW32.
  1494. * tools/tiffdump.c (ReadDirectory): MinGW32 needs to use WIN32
  1495. printf conventions for 64-bit types because it uses the WIN32 CRT.
  1496. * libtiff/{tif_dumpmode.c,tif_luv.c,tif_lzw.c,tif_print.c,
  1497. tif_read.c,tif_strip.c,tif_thunder.c}: MinGW32 needs to use WIN32
  1498. printf conventions for 64-bit types because it uses the WIN32 CRT.
  1499. * tools/tiff2pdf.c (t2p_write_pdf_string): Fix printf syntax not
  1500. understood by WIN32 CRT.
  1501. * libtiff/tif_ojpeg.c: Fixes to compile with MinGW32 GCC.
  1502. * tools/fax2ps.c (main): Use tmpfile() rather than mkstemp() since
  1503. it is much more portable. Tmpfile is included in ISO/IEC
  1504. 9899:1990 and the WIN32 CRT.
  1505. 2011-03-26 Frank Warmerdam <[email protected]>
  1506. * tools/tiffset.c: add -d and -sd switches to allow operation on
  1507. a particular directory, not just the first (jef).
  1508. 2011-03-21 Frank Warmerdam <[email protected]>
  1509. * libtiff/tif_thunder.c: Correct potential buffer overflow with
  1510. thunder encoded files with wrong bitspersample set. The libtiff
  1511. development team would like to thank Marin Barbella and TippingPoint's
  1512. Zero Day Initiative for reporting this vulnerability (ZDI-CAN-1004,
  1513. CVE-2011-1167).
  1514. http://bugzilla.maptools.org/show_bug.cgi?id=2300
  1515. 2011-03-10 Frank Warmerdam <[email protected]>
  1516. * libtiff/tif_fax3.h: Fix to last change allowing zero length
  1517. runs at the start of a scanline - needed for legal cases.
  1518. 2011-03-02 Frank Warmerdam <[email protected]>
  1519. * libtiff/tif_fax3.h: Protect against a fax VL(n) codeword commanding
  1520. a move left. Without this, a malicious input file can generate an
  1521. indefinitely large series of runs without a0 ever reaching the right
  1522. margin, thus overrunning our buffer of run lengths. Per CVE-2011-0192.
  1523. This is a modified version of a patch proposed by Drew Yao of Apple
  1524. Product Security. It adds an unexpected() report, and disallows the
  1525. equality case, since emitting a run without increasing a0 still allows
  1526. buffer overrun.
  1527. 2011-02-23 Frank Warmerdam <[email protected]>
  1528. * libtiff/tif_jpeg.c: avoid divide by zero in degenerate case (#2296)
  1529. * tools/tiff2rgba.c: close source file on error to make leak
  1530. detection easier.
  1531. * libtiff/tif_getimage.c: avoid leaks if TIFFRGBAImageBegin() fails.
  1532. http://bugzilla.maptools.org/show_bug.cgi?id=2295
  1533. 2011-02-22 Frank Warmerdam <[email protected]>
  1534. * libtiff/tif_lzma.c: Maintain tif_rawcc/tif_rawcp (CHUNKY_STRING_READ
  1535. _SUPPORT)
  1536. 2011-02-18 Frank Warmerdam <[email protected]>
  1537. * configure.ac, configure: Added support for --enable-chunky-strip-read
  1538. configure option to enable the experimental feature from a couple
  1539. months ago for reading big strips in chunks.
  1540. * configure.ac, tif_read.c, tif_readdir.c, tif_dir.h, tiffiop.h,
  1541. tif_write.c, tif_print.c, tif_jpeg.c, tif_dirwrite.c, tif_write.c:
  1542. Implement optional support for deferring the load of strip/tile
  1543. offset and size tags for optimized scanning of directories. Enabled
  1544. with the --enable-defer-strile-load configure option (DEFER_STRILE_LOAD
  1545. #define in tif_config.h).
  1546. 2011-02-11 Frank Warmerdam <[email protected]>
  1547. * libtiff/tif_print.c: remove unused variable.
  1548. 2011-02-09 Frank Warmerdam <[email protected]>
  1549. * libtiff/tif_win32.c: avoid error/warning buffer overrun problem
  1550. with non-console (popup message) builds on win32.
  1551. http://bugzilla.maptools.org/show_bug.cgi?id=2293
  1552. 2011-01-24 Olivier Paquet <[email protected]>
  1553. * libtiff/{tif_dir.{h,c}, tif_dirinfo.c, tif_dirread.c, tif_dirwrite.c,
  1554. tif_print.c, tiff.h, tiffiop.h} : Added support for
  1555. TIFFTAG_SMINSAMPLEVALUE and TIFFTAG_SMAXSAMPLEVALUE to have different
  1556. values for each sample. Presents the min/max of all samples by default for
  1557. compatibility. TIFFSetField/TIFFGetField can be made to handle those tags
  1558. as arrays by changing the new TIFFTAG_PERSAMPLE pseudo tag.
  1559. http://www.asmail.be/msg0055458208.html
  1560. 2011-01-06 Frank Warmerdam <[email protected]>
  1561. * libtiff/tif_pixarlog.c: Note that tif_rawcc/tif_rawcp are not
  1562. maintained.
  1563. * libtiff/tif_zip.c: Maintain tif_rawcc/tif_rawcp when decoding
  1564. for CHUNKY_STRIP_READ_SUPPORT.
  1565. * libtiff/tif_jpeg.c: ensure that rawcc and rawcp are maintained
  1566. during JPEGPreDecode and JPEGDecode calls.
  1567. * libtiff/tif_read.c: larger read ahead for CHUNKY_STRIP_READ_SUPPORT,
  1568. as compression formats like JPEG keep 16 lines interleaved in a sense
  1569. and might need to touch quite a bit of data.
  1570. http://trac.osgeo.org/gdal/ticket/3894
  1571. 2011-01-03 Lee Howard <[email protected]>
  1572. * libtiff/tif_jpeg.c: Fix regressions with 2 and 3 band images
  1573. caused by commit on 2010-12-14. Submitted by e-mail from
  1574. Even Rouault <[email protected]>
  1575. 2010-12-31 Olivier Paquet <[email protected]>
  1576. * libtiff/tif_dirwrite.c: Fixed writing of TIFFTAG_REFERENCEBLACKWHITE.
  1577. http://bugzilla.maptools.org/show_bug.cgi?id=2266
  1578. 2010-12-23 Andrey Kiselev <[email protected]>
  1579. * tools/tiffcp.c, man/tiffcp.1: Added support for specifying the
  1580. compression level parameter (preset) for Deflate and LZMA encoders,
  1581. e.g "-c lzma:p1" or "-c zip:p9".
  1582. * libtiff/tif_lzma.c: Properly set the LZMA2 compression level
  1583. (preset) in LZMAVSetField().
  1584. 2010-12-18 Bob Friesenhahn <[email protected]>
  1585. * libtiff/Makefile.am (libtiff_la_SOURCES): Added tif_lzma.c to
  1586. Makefile.
  1587. 2010-12-14 Andrey Kiselev <[email protected]>
  1588. * configure.ac, libtiff/{tif_codec.c, tif_config.h.in, tiff.h,
  1589. tiffiop.h, tif_lzma.c}, tools/tiffcp.c, man/tiffcp.1: Implement a new
  1590. TIFF compression scheme LZMA reserving a new value 34925 for
  1591. Compression tag. As per
  1592. bug http://bugzilla.maptools.org/show_bug.cgi?id=2221
  1593. 2010-12-14 Lee Howard <[email protected]>
  1594. * libtiff/tif_dirread.c: tolerate some cases where
  1595. FIELD_COLORMAP is missing
  1596. http://bugzilla.maptools.org/show_bug.cgi?id=2189
  1597. 2010-12-14 Lee Howard <[email protected]>
  1598. * libtiff/tif_read.c: change read_ahead to tmsize_t
  1599. http://bugzilla.maptools.org/show_bug.cgi?id=2222
  1600. 2010-12-14 Lee Howard <[email protected]>
  1601. * configure.ac, libtiff/Makefile.am: Build tif_win32.c on
  1602. Windows except on Cygwin
  1603. http://bugzilla.maptools.org/show_bug.cgi?id=2224
  1604. 2010-12-14 Lee Howard <[email protected]>
  1605. * tools/gif2tiff.c: fix buffer overrun
  1606. http://bugzilla.maptools.org/show_bug.cgi?id=2270
  1607. 2010-12-14 Lee Howard <[email protected]>
  1608. * libtiff/tif_jpeg.c: reduce usage of JCS_UNKNOWN in order
  1609. to improve compatibility with various viewers
  1610. submitted by e-mail from Dwight Kelly <[email protected]>
  1611. 2010-12-13 Lee Howard <[email protected]>
  1612. * tools/fax2ps.c: be consistent with page-numbering
  1613. http://bugzilla.maptools.org/show_bug.cgi?id=2225
  1614. 2010-12-13 Lee Howard <[email protected]>
  1615. * libtiff/tif_color.c: prevent crash in handling bad TIFFs
  1616. resolves CVE-2010-2595
  1617. http://bugzilla.maptools.org/show_bug.cgi?id=2208
  1618. 2010-12-13 Lee Howard <[email protected]>
  1619. * tools/tiffcrop.c: new release by Richard Nolde
  1620. http://bugzilla.maptools.org/show_bug.cgi?id=2004
  1621. 2010-12-12 Lee Howard <[email protected]>
  1622. * tools/tiff2pdf.c: fix colors for images with RGBA
  1623. interleaved data
  1624. http://bugzilla.maptools.org/show_bug.cgi?id=2250
  1625. 2010-12-12 Lee Howard <[email protected]>
  1626. * libtiff/tif_dirread.c: fix for Zeiss LSM and Canon CR2 files
  1627. http://bugzilla.maptools.org/show_bug.cgi?id=2164
  1628. 2010-12-11 Lee Howard <[email protected]>
  1629. * tools/tiff2pdf.c: remove invalid duplication for Lab
  1630. http://bugzilla.maptools.org/show_bug.cgi?id=2162
  1631. 2010-12-11 Lee Howard <[email protected]>
  1632. * libtiff/tif_jpeg.c: fix use of clumplines calculation
  1633. http://bugzilla.maptools.org/show_bug.cgi?id=2149
  1634. 2010-12-11 Lee Howard <[email protected]>
  1635. * tools/fax2ps.c: replace unsafe tmpfile() with mkstemp()
  1636. http://bugzilla.maptools.org/show_bug.cgi?id=2118
  1637. 2010-12-11 Lee Howard <[email protected]>
  1638. * libtiff/tif_ojpeg.c, libtiff/tif_pixarlog.c,
  1639. libtiff/tif_zip.c: fix build errors for VC6
  1640. http://bugzilla.maptools.org/show_bug.cgi?id=2105
  1641. 2010-12-11 Lee Howard <[email protected]>
  1642. * libtiff/tif_stream.cxx: warnings cleanup
  1643. http://bugzilla.maptools.org/show_bug.cgi?id=2091
  1644. * libtiff/tif_dirread.c: warnings cleanup
  1645. http://bugzilla.maptools.org/show_bug.cgi?id=2092
  1646. 2010-12-11 Lee Howard <[email protected]>
  1647. * tools/tiff2pdf.c: add fill-page option
  1648. http://bugzilla.maptools.org/show_bug.cgi?id=2051
  1649. 2010-12-11 Lee Howard <[email protected]>
  1650. * libtiff/tif_dirread.c: modify warnings
  1651. http://bugzilla.maptools.org/show_bug.cgi?id=2016
  1652. 2010-12-11 Lee Howard <[email protected]>
  1653. * libtiff/tif_ojpeg.c: fix buffer overflow on problem data
  1654. http://bugzilla.maptools.org/show_bug.cgi?id=1999
  1655. 2010-12-11 Lee Howard <[email protected]>
  1656. * tools/tiffinfoce.c: strip byte counts are uint64* now
  1657. 2010-12-11 Lee Howard <[email protected]>
  1658. * libtiff/tif_ojpeg.c: fix crash when reading a TIFF with a zero
  1659. or missing byte-count tag
  1660. * tools/tiffsplit.c: abort when reading a TIFF without a byte-count
  1661. per http://bugzilla.maptools.org/show_bug.cgi?id=1996
  1662. 2010-12-08 Lee Howard <[email protected]>
  1663. * libtiff/tif_dirread.c: fix crash when reading a badly-constructed
  1664. TIFF per http://bugzilla.maptools.org/show_bug.cgi?id=1994
  1665. 2010-12-06 Lee Howard <[email protected]>
  1666. * libtiff/tif_open.c: Fix mode check before opening a file.
  1667. http://bugzilla.maptools.org/show_bug.cgi?id=1906
  1668. 2010-11-27 Bob Friesenhahn <[email protected]>
  1669. * libtiff-4.pc.in: Added libtiff pkg-config .pc file support.
  1670. Patch by Vincent Torri.
  1671. 2010-10-21 Frank Warmerdam <[email protected]>
  1672. * tools/tiffinfo.c: avoid direct reference to _TIFFerrorHandler.
  1673. * libtiff/tif_config.vc.h: define snprintf to _snprintf for tiff2pdf.
  1674. * libtiff/libtiff.def: export _TIFFCheckMalloc for tools.
  1675. 2010-09-25 Lee Howard <[email protected]>
  1676. * tools/tiff2ps.c: improvements and enhancements from Richard Nolde
  1677. with additional command line options for Document Title,
  1678. Document Creator, and Page Orientation
  1679. 2010-07-13 Bob Friesenhahn <[email protected]>
  1680. * tools/tiffcrop.c: Patch from Richard Nolde to avoid a
  1681. potentially unterminated buffer due to using an exceptionally long
  1682. file name.
  1683. 2010-07-08 Andrey Kiselev <[email protected]>
  1684. * tools/tiff2pdf.c: Fixed ID buffer filling in
  1685. t2p_write_pdf_trailer(), thanks to Dmitry V. Levin.
  1686. 2010-07-07 Andrey Kiselev <[email protected]>
  1687. * libtiff/tif_dirread.c: Really reset the tag count in CheckDirCount()
  1688. to expected value as the warning message suggests. As per bug
  1689. http://bugzilla.maptools.org/show_bug.cgi?id=1963
  1690. 2010-07-06 Andrey Kiselev <[email protected]>
  1691. * tools/tiffset.c: Properly handle TIFFTAG_PAGENUMBER,
  1692. TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING, TIFFTAG_DOTRANGE
  1693. which should be set by value.
  1694. * libtiff/tif_dirinfo.c: Don't use assertions in _TIFFFieldWithTag()
  1695. and _TIFFFieldWithName() if the tag is not found in the tag table.
  1696. This should be normal situation and returned NULL value should be
  1697. properly handled by the caller.
  1698. 2010-07-02 Andrey Kiselev <[email protected]>
  1699. * libtiff/tif_getimage.c: Avoid wrong math du to the signed/unsigned
  1700. integer type conversions. As per bug
  1701. http://bugzilla.maptools.org/show_bug.cgi?id=2207
  1702. * tools/{tiff2bw.c, thumbnail.c, pal2rgb.c}: Fix the count for
  1703. WhitePoint tag as per bug
  1704. http://bugzilla.maptools.org/show_bug.cgi?id=2042
  1705. * libtiff/tif_getimage.c: Check the number of samples per pixel when
  1706. working with YCbCr image in PickContigCase(). As per bug
  1707. http://bugzilla.maptools.org/show_bug.cgi?id=2216
  1708. * libtiff/tif_dir.c: Set the bogus post-decoding hook when processing
  1709. TIFFTAG_BITSPERSAMPLE in _TIFFVSetField() for the case of 8 bit when
  1710. we don't need any post-processing. That helps to reset the hook if we
  1711. previously set this field to some other value and the hook was
  1712. initialized accordingly. As per bug
  1713. http://bugzilla.maptools.org/show_bug.cgi?id=2035
  1714. 2010-07-01 Andrey Kiselev <[email protected]>
  1715. * tools/tiffgt.c: Properly check the raster buffer allocations for
  1716. integer overflows. As per bug
  1717. http://bugzilla.maptools.org/show_bug.cgi?id=2108
  1718. * m4/acinclude.m4: Update GL/GLU/GLUt/Pthread macros from the
  1719. upstream.
  1720. * libtiff/{tif_aux.c, tif_strip.c, tif_tile.c, tiffiop.h}: Move
  1721. multiply_32() and multiply_64() functions into tif_aux.c file and
  1722. rename them into _TIFFMultiply32() and _TIFFMultiply64() respectively.
  1723. 2010-06-30 Andrey Kiselev <[email protected]>
  1724. * tools/tiff2pdf.c: Better generation of ID field in
  1725. t2p_write_pdf_trailer(). Get rid of GCC aliasing warnings.
  1726. * tools/tiff2pdf.c: Fixed computation of the tile buffer size when
  1727. converting JPEG encoded tiles.
  1728. * tools/tiff2pdf.c: Better handling of string fields, use static
  1729. string buffers instead of dynamically allocated, use strncpy() instead
  1730. of strcpy(), control the string lengths.
  1731. 2010-06-25 Andrey Kiselev <[email protected]>
  1732. * tools/tiffcp.c: Initialize buffer arrays with zero to avoid
  1733. referencing to uninitialized memory in some cases (e.g. when tile size
  1734. set bigger than the image size).
  1735. 2010-06-15 Bob Friesenhahn <[email protected]>
  1736. * tools/tiffcrop.c: Patch from Richard Nolde. Reject YCbCr
  1737. subsampled data since tiffcrop currently doesn't support it. Fix
  1738. JPEG support.
  1739. 2010-06-13 Frank Warmerdam <[email protected]>
  1740. * libtiff/tif_dirinfo.c: Fix invocation of tag compare function (#2201)
  1741. * tools/tiff2pdf.c: Fix assorted bugs in tiff2pdf: missing "return"
  1742. in t2p_read_tiff_size() causes t2p->tiff_datasize to be set entirely
  1743. wrong for COMPRESSION_JPEG case, resulting in memory stomp if actual
  1744. size is larger. Also, there are a bunch of places that try to
  1745. memset() a malloc'd buffer before checking for malloc failure, which
  1746. would result in core dump if there actually were a failure. (#2211)
  1747. 2010-06-11 Bob Friesenhahn <[email protected]>
  1748. * libtiff/tiffiop.h (TIFFSafeMultiply): Need more castings to
  1749. avoid compiler warnings if parameter types are not sign
  1750. consistent.
  1751. * libtiff 4.0.0alpha6 released.
  1752. * tools/tiffcrop.c: Applied patch from Richard Nolde: Corrected
  1753. European page size dimensions. Added an option to allow the user
  1754. to specify a custom page size on the command line. Fix the case
  1755. where a page size specified with a fractional part was being
  1756. coerced to an integer by retyping the variables that define the
  1757. paper size.
  1758. * html/index.html: Update for the 3.9.3 release.
  1759. * tools/tiffcp.c (tiffcp): Applied Tom Lane's patch to reject
  1760. YCbCr subsampled data since tiffcp currently doesn't support it.
  1761. http://bugzilla.maptools.org/show_bug.cgi?id=2097
  1762. * Update libtool to version 2.2.10.
  1763. 2010-06-10 Bob Friesenhahn <[email protected]>
  1764. * libtiff/tiffiop.h (TIFFSafeMultiply): Work properly if
  1765. multiplier is zero.
  1766. 2010-06-09 Bob Friesenhahn <[email protected]>
  1767. * libtiff/tif_fax3.c (Fax3SetupState): Yesterday's fix for
  1768. CVE-2010-1411 was not complete.
  1769. * libtiff/tiffiop.h (TIFFSafeMultiply): New macro to safely
  1770. multiply two integers. Returns zero if there is an integer
  1771. overflow.
  1772. * tools/tiffcp.c (main): tiffcp should not leak memory if an error
  1773. is reported when reading the input file.
  1774. 2010-06-08 Bob Friesenhahn <[email protected]>
  1775. * Update libtool to version 2.2.8.
  1776. * libtiff/tif_fax3.c (Fax3SetupState): Avoid under-allocation of
  1777. buffer due to integer overflow in TIFFroundup() and several other
  1778. potential overflows. In conjunction with the fix to TIFFhowmany(),
  1779. fixes CVE-2010-1411.
  1780. * libtiff/tiffiop.h (TIFFhowmany): Return zero if parameters would
  1781. result in an integer overflow. This causes TIFFroundup() to also
  1782. return zero if there would be an integer overflow.
  1783. * contrib: Add an emacs formatting mode footer to all source files
  1784. so that emacs can be effectively used.
  1785. 2010-06-03 Oliver Chen Feng <[email protected]>
  1786. * libtiff/tools/tiffcp.c: add a new option -x to force merged tiff
  1787. file PAGENUMBER value in sequence for users who care the page
  1788. sequence, this will also prevent tiff2pdf from creating pdf file from
  1789. the merged tiff file with wrong page sequence.
  1790. 2010-05-08 Olivier Paquet <[email protected]>
  1791. * libtiff/tif_dirread.c: Restored TIFFReadDirEntryFloat function in order
  1792. to add missing TIFF_SETGET_FLOAT case to TIFFFetchNormalTag.
  1793. * libtiff/tif_dirinfo.c: Use correct set_field_type for
  1794. TIFFTAG_PIXAR_FOVCOT so it is readable again (regression from 3.9.2).
  1795. http://bugzilla.maptools.org/show_bug.cgi?id=2192
  1796. 2010-05-07 Frank Warmerdam <[email protected]>
  1797. * libtiff/tif_jpeg.c: Ensure that quality is always set in
  1798. JPEGPreEncode(), not just when we want to output local tables.
  1799. Otherwise the quality used during compression may not be right and
  1800. might not match the tables in the tables tag. This bug only occurs
  1801. when seeking between directories in the midst of writing blocks.
  1802. http://trac.osgeo.org/gdal/ticket/3539
  1803. 2010-05-06 Andrey Kiselev <[email protected]>
  1804. * html/man/TIFFGetField.3tiff.html, html/man/TIFFSetField.3tiff.html:
  1805. Regenerated from the source.
  1806. 2010-05-05 Olivier Paquet <[email protected]>
  1807. * libtiff/tif_print.c: Fixed printing of TIFFTAG_REFERENCEBLACKWHITE which
  1808. had stopped working. Also made it always print 6 floats instead of
  1809. 2*SamplesPerPixel.
  1810. http://bugzilla.maptools.org/show_bug.cgi?id=2191
  1811. http://bugzilla.maptools.org/show_bug.cgi?id=2186
  1812. * man/TIFFGetField.3tiff, man/TIFFSetField.3tiff: Fixed doc to reflect the
  1813. fact that libtiff considers TIFFTAG_REFERENCEBLACKWHITE to be 6 floats.
  1814. 2010-05-05 Frank Warmerdam <[email protected]>
  1815. * libtiff/tif_jpeg.c: Fix to use memcmp(), not memcpy() when checking
  1816. if the jpeg table was written. This is a fix for the last fix on 04-21.
  1817. 2010-04-21 Frank Warmerdam <[email protected]>
  1818. * libtiff/tif_jpeg.c: avoid preparing jpeg tables everytime
  1819. JPEGSetupEncode() is called if the tables already seem to be
  1820. established. This prevents spurious updates and rewriting of
  1821. directories with jpegtables when doing updates to existing images.
  1822. http://trac.osgeo.org/gdal/ticket/3539
  1823. 2010-04-20 Olivier Paquet <[email protected]>
  1824. * libtiff/tif_dirinfo.c: Use correct set_field_type for
  1825. TIFFTAG_PIXAR_IMAGEFULLWIDTH, TIFFTAG_PIXAR_IMAGEFULLLENGTH,
  1826. TIFFTAG_PIXAR_MATRIX_WORLDTOSCREEN and TIFFTAG_PIXAR_MATRIX_WORLDTOCAMERA.
  1827. They were unreadable with TIFF_SETGET_UNDEFINED, a regression from 3.9.2.
  1828. http://bugzilla.maptools.org/show_bug.cgi?id=2139
  1829. 2010-04-10 Bob Friesenhahn <[email protected]>
  1830. * libtiff/tif_dir.c (_TIFFVSetField): Add a special error case for
  1831. when the tag count value is zero. Error handling is still a
  1832. regression since in 3.9.2, empty tags are skipped (with a warning)
  1833. rather than returning a hard error and refusing to read the file.
  1834. * tools/ppm2tiff.c (main): While case for parsing comment line
  1835. requires extra parenthesis to work as expected. Reported by
  1836. Thomas Sinclair.
  1837. 2010-04-02 Frank Warmerdam <[email protected]>
  1838. * libtiff/tif_read.c (primarily): Add support for
  1839. CHUNKY_STRIP_READ_SUPPORT where large strips are
  1840. read in chunks for applications using TIFFReadScanline().
  1841. This is intended to make it more practical work with very
  1842. large compressed one-strip files. Feature is off by default.
  1843. Enable by defining CHUNK_STRIP_READ_SUPPORT as a macro.
  1844. http://trac.osgeo.org/gdal/ticket/3514
  1845. 2010-03-31 Frank Warmerdam <[email protected]>
  1846. * libtiff/tif_flush.c: Use TIFFRewriteDirectory() when flushing
  1847. directories so previously placed directories will be migrated to
  1848. the end of file if needed.
  1849. 2010-03-30 Frank Warmerdam <[email protected]>
  1850. * libtiff/tif_lzw.c: change type of dec_bitsleft field to uint64
  1851. to support operating on strips/tiles of more than 256MB.
  1852. http://trac.osgeo.org/gdal/ticket/3512
  1853. 2010-03-10 Bob Friesenhahn <[email protected]>
  1854. * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
  1855. that it is clearly a memory allocation error message, and also
  1856. includes the size of the allocation request.
  1857. 2010-02-22 Lee Howard <[email protected]>
  1858. * libtiff/tif_jpeg.c: Do not generate a JPEGTables tag when creating
  1859. the JPEG TIFF as is is not required in order to prevent it from
  1860. being unused and filled with invalid data. (Leave it to be
  1861. generated by later activity.)
  1862. http://bugzilla.maptools.org/show_bug.cgi?id=2135
  1863. * tools/tiff2pdf.c: Write the JPEG SOI headers into the TIFF strip
  1864. data rather than skipping them. This fixes the ability to view in
  1865. Acrobat Reader, Evince, and Ghostscript.
  1866. http://bugzilla.maptools.org/show_bug.cgi?id=2135
  1867. * libtiff/tif_fax3.c: Don't return error on badly-terminated MMR
  1868. strips.
  1869. http://bugzilla.maptools.org/show_bug.cgi?id=2029
  1870. 2009-12-03 Frank Warmerdam <[email protected]>
  1871. * libtiff/tif_jpeg.c: Made JPEGDecodeRaw() check for buffer overruns.
  1872. Made so that when working with downsampled images a stub function
  1873. reporting an error is used for tif_decoderow. We cannot meaningfully
  1874. support reading scanlines in this situation. (#1936)
  1875. * libtiff/tif_jpeg.c: Ensure that tif_scanlinesize is computed after
  1876. resetting of the upsampling values (gdal:#3259).
  1877. http://bugzilla.maptools.org/show_bug.cgi?id=1936
  1878. 2009-11-30 Frank Warmerdam <[email protected]>
  1879. * contrib/dbs/tiff-grayscale.c, contrib/tif-palette.c,
  1880. tools/ras2tiff.c: Fix resource leaks on error.
  1881. http://bugzilla.maptools.org/show_bug.cgi?id=2121
  1882. * libtiff/tif_{aux.c,dir.c,dir.h,dirinfo.c}: Return to handling
  1883. TIFFTAG_REFERENCEBLACKWHITE as a field in the TIFF directory instead
  1884. of as a custom(generic) field to avoid a potential reentrancy problem.
  1885. http://bugzilla.maptools.org/show_bug.cgi?id=2125
  1886. * libtiff/tif_color.c, libtiff/tif_getimage.c, libtiff/tiffio.h,
  1887. man/TIFFcolor.3tiff: Make TIFFDisplay argument in TIFFCIELabToRGBInit
  1888. const, and display_sRGB static and const.
  1889. http://bugzilla.maptools.org/show_bug.cgi?id=2124
  1890. 2009-11-04 Bob Friesenhahn <[email protected]>
  1891. * libtiff 4.0.0alpha5 released.
  1892. 2009-11-03 Bob Friesenhahn <[email protected]>
  1893. * tools/tiffcrop.c: Updated tiffcrop from Richard Nolde. This
  1894. version has undergone substantial testing with arbitrary sample
  1895. bit depths. Also eliminates GCC compilation warnings.
  1896. 2009-11-02 Bob Friesenhahn <[email protected]>
  1897. * port/libport.h: Add extern declarations for getopt standard
  1898. globals.
  1899. 2009-10-31 Bob Friesenhahn <[email protected]>
  1900. * libtiff/tif_lzw.c (LZWDecode, LZWDecodeCompat): Fix warnings
  1901. noticed in 64-bit build of libtiff with Visual Studio 2005.
  1902. Resolves "Bug 2067 - Visual Studio 2005 64-bit warnings in
  1903. tif_lzw.c", http://bugzilla.maptools.org/show_bug.cgi?id=2067
  1904. * libtiff/tif_pixarlog.c (PixarLogEncode): Fix non-important
  1905. warning noticed in Visual Studio 2005 build. Resolves "Bug 2068 -
  1906. Visual Studio 2005 64-bit warning in tif_pixarlog.c",
  1907. http://bugzilla.maptools.org/show_bug.cgi?id=2068
  1908. 2009-10-29 Bob Friesenhahn <[email protected]>
  1909. * libtiff/tif_dirread.c: Eliminate GCC "dereferencing type-punned
  1910. pointer" warnings.
  1911. 2009-10-28 Bob Friesenhahn <[email protected]>
  1912. * html/tools.html: Add manual page links, and a summary
  1913. description of tiffcrop.
  1914. 2009-10-07 Bob Friesenhahn <[email protected]>
  1915. * configure.ac: x86_64 should use the same fill order as i386.
  1916. 2009-09-24 Bob Friesenhahn <[email protected]>
  1917. * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop from Richard
  1918. Nolde. Major updates to add significant functionality for reading
  1919. and writing tile based images with bit depths not a multiple of 8
  1920. which cannot be handled by tiffcp.
  1921. 2009-09-03 Bob Friesenhahn <[email protected]>
  1922. * libtiff/tif_ojpeg.c (OJPEGWriteHeaderInfo): IJG JPEG 7 needs
  1923. do_fancy_upsampling=FALSE in order to read raw data. Resolves
  1924. "Bug 2090 - OJPEG crash with libjpeg v7".
  1925. http://bugzilla.maptools.org/show_bug.cgi?id=2090
  1926. 2009-09-03 Frank Warmerdam <[email protected]>
  1927. * libtiff/tif_getimage.c: Fixed error recognition handling in RGBA
  1928. interface when stoponerror is set.
  1929. http://bugzilla.maptools.org/show_bug.cgi?id=2071
  1930. 2009-08-30 Bob Friesenhahn <[email protected]>
  1931. * tools/{tiffcrop.c,tiffgt.c}: Applied patch from Oden Eriksson to
  1932. fix build with gcc when using the "-Wformat
  1933. -Werror=format-security" flags.
  1934. 2009-08-29 Bob Friesenhahn <[email protected]>
  1935. * test/{bmp2tiff_palette.sh, bmp2tiff_rgb.sh, gif2tiff.sh,
  1936. ppm2tiff_pbm.sh, ppm2tiff_pgm.sh, ppm2tiff_ppm.sh}: Additional
  1937. utilities tests.
  1938. 2009-08-28 Bob Friesenhahn <[email protected]>
  1939. * tools/tiffinfo.c: tiffinfo should return error status to the
  1940. caller. Register a private error callback to accomplish that.
  1941. * test/Makefile.am (TIFFIMAGES): Add test images in BMP, GIF, and
  1942. PNM formats so that we will be able to test more of the tools.
  1943. While adding these test images I notice that bmp2tiff and gif2tiff
  1944. only support ancient versions of their respective formats.
  1945. 2009-08-27 Bob Friesenhahn <[email protected]>
  1946. * libtiff 4.0.0alpha4 released.
  1947. * HOWTO-RELEASE: Improved release instructions.
  1948. 2009-08-24 Bob Friesenhahn <[email protected]>
  1949. * man/{TIFFClose.3tiff,raw2tiff.1,tiffcmp.1,tiffsplit.1}: Applied
  1950. fixes for "Bug 2023 - nroff errors in manual pages".
  1951. http://bugzilla.maptools.org/show_bug.cgi?id=2023
  1952. * tools/{rgb2ycbcr.c, tiff2rgba.c}: Applied fixes for "Bug 2079 -
  1953. CVE-2009-2347 libtiff: integer overflows in various inter-color
  1954. space conversion tools".
  1955. http://bugzilla.maptools.org/show_bug.cgi?id=2079
  1956. * libtiff/tif_print.c (TIFFPrintDirectory): Apply fix from Jay
  1957. Berkenbilt for "Bug 2024 - possible null pointer dereference with
  1958. one-line fix".
  1959. http://bugzilla.maptools.org/show_bug.cgi?id=2024
  1960. * libtiff/tif_dirread.c (TIFFReadCustomDirectory): Apply patch
  1961. from Jay Berkenbilt for "Bug 1895 - logic error in tif_dirread.c:
  1962. segfault after setting tdir_tag = IGNORE".
  1963. http://bugzilla.maptools.org/show_bug.cgi?id=1895
  1964. 2009-08-23 Bob Friesenhahn <[email protected]>
  1965. * test/Makefile.am, test/tiffcrop*.sh: Split previously existing
  1966. tiffcrop.sh into a collection of many specific tests. Re-wrote
  1967. all of the existing tests to be based on some simple shell
  1968. functions. Make distcheck works again.
  1969. Export certain variables (MAKE, MAKEFLAGS, MEMCHECK) to tests and
  1970. added 'memcheck' and 'ptrcheck' targets to make it easy to run the
  1971. tests under valgrind.
  1972. 2009-08-21 Bob Friesenhahn <[email protected]>
  1973. * test/tiffcp-logluv.sh: Fix test so that it works with a VPATH
  1974. build.
  1975. * test/Makefile.am (AUTOMAKE_OPTIONS): Colorized tests was not
  1976. actually activated since it needed to be enabled in this
  1977. Makefile.am. Also activated parallel-tests mode since it offers
  1978. useful features such as per-test .log files and a summary test
  1979. report .log file.
  1980. 2009-08-20 Bob Friesenhahn <[email protected]>
  1981. * configure.ac: Updated autotools. Autoconf 2.64, Automake 1.11,
  1982. libtool 2.2.6. Enabled support for silent build rules
  1983. (--enable-silent-rules or 'make V=0') and colorized tests.
  1984. * html/{index.html, v3.9.0.html}: Update for 3.9.0 release.
  1985. 2009-06-30 Frank Warmerdam <[email protected]>
  1986. * tests/tiffcp-logluv.sh: minimal testing of sgilog compression.
  1987. * tools/tiffcp.c: add -c sgilog support.
  1988. * libtiff/tif_luv.c: correct return codes from encoderow to be
  1989. 1 on success instead of zero.
  1990. http://bugzilla.maptools.org/show_bug.cgi?id=2069
  1991. * libtiff/tif_lzw.c: back out patch from #2065 and apply patch from
  1992. #1085 for a better underflow fix that errors properly.
  1993. http://bugzilla.maptools.org/show_bug.cgi?id=2065
  1994. http://bugzilla.maptools.org/show_bug.cgi?id=1985
  1995. 2009-06-26 Frank Warmerdam <[email protected]>
  1996. * libtiff/tif_strip.c: Remove an inappropriate assertion that often
  1997. fails on oddly sized 12bit jpeg compressed ycbcr images.
  1998. 2009-06-22 Frank Warmerdam <[email protected]>
  1999. * libtiff/tif_lzw.c: Fix buffer underflow bug.
  2000. http://bugzilla.maptools.org/show_bug.cgi?id=2065
  2001. 2009-06-21 Frank Warmerdam <[email protected]>
  2002. * configure.ac, libtiff/tif_jpeg.c, libtiff/tif_jpeg_12.c: add support
  2003. for dual mode 8/12 bit jpeg support.
  2004. 2009-06-03 Frank Warmerdam <[email protected]>
  2005. * libtiff/tif_write.c: do not override the planar configuration to be
  2006. contig for one sample files if planar configuration is already set.
  2007. http://bugzilla.maptools.org/show_bug.cgi?id=2057
  2008. 2009-06-02 Frank Warmerdam <[email protected]>
  2009. * libtiff/libtiff.def: Add TIFFUnsetField.
  2010. 2009-05-03 Frank Warmerdam <[email protected]>
  2011. * libtiff/{tif_jpeg.c,tif_ojpeg.c,tif_getimage.c}: Fixed various
  2012. error reports to use "%s" as format string.
  2013. http://trac.osgeo.org/gdal/ticket/2976
  2014. 2009-03-12 Frank Warmerdam <[email protected]>
  2015. * libtiff/{tif_fax3.c,tif_jpeg.c,tif_ojpeg.c}: Fix printdir chaining
  2016. for some codecs (#2020).
  2017. 2009-02-12 Frank Warmerdam <[email protected]>
  2018. * libtiff/tif_luv.c: Fix handling of tiled logluv images.
  2019. http://bugzilla.maptools.org/show_bug.cgi?id=2005
  2020. 2009-02-09 Frank Warmerdam <[email protected]>
  2021. * libtiff/tif_dirread.c: Improve allocation safety when allocated
  2022. buffer for large tags. (#1998) Related to (#1993)
  2023. 2009-02-06 Frank Warmerdam <[email protected]>
  2024. * tools/tiffcrop.c: Don't default image->res_unit to INCH. Now the
  2025. test suite should pass.
  2026. 2009-02-05 Frank Warmerdam <[email protected]>
  2027. * libtiff/tif_dirread.c: Re-incorporated a sanity check on tag size,
  2028. but at the 2GB boundary to avoid overflow on 32bit systems.
  2029. http://bugzilla.maptools.org/show_bug.cgi?id=1993
  2030. * libtiff/tif_dirread.c: Remove some assertions that blow due to
  2031. corrupt files rather than in response to library internal
  2032. inconsistencies.
  2033. http://bugzilla.maptools.org/show_bug.cgi?id=1995
  2034. http://bugzilla.maptools.org/show_bug.cgi?id=1991
  2035. * libtiff/tif_dirread.c: Fixed testing for failed result from
  2036. TIFFReadDirectoryFindFieldInfo().
  2037. http://bugzilla.maptools.org/show_bug.cgi?id=1992
  2038. 2009-01-23 Frank Warmerdam <[email protected]>
  2039. * libtiff/tif_predict.c: Add support for 32bit integer horz. predictors.
  2040. http://bugzilla.maptools.org/show_bug.cgi?id=1911
  2041. * libtiff/tif_dirwrite.c: Fix byte swapping of next directory offset.
  2042. http://bugzilla.maptools.org/show_bug.cgi?id=1924
  2043. * tools/tiffcrop.c: initialize xres/yres values.
  2044. * test/*.sh - default ${srcdir} to local directory.
  2045. * test/common.sh - start verbose mode after common settings.
  2046. * libtiff/tif_dirinfo.c: Replace lfind() with local equivelent to
  2047. avoid type mismatches on different platforms.
  2048. http://bugzilla.maptools.org/show_bug.cgi?id=1889
  2049. 2009-01-22 Frank Warmerdam <[email protected]>
  2050. * tools/{fax2tiff.c,thumbnail.c,tiff2pdf.c,tiff2ps.c,tiffdump.c,
  2051. tiffsplit.c}: avoid warnings, mostly 32bit/64bit casting issues.
  2052. * port,tools: Introduce libport.h, and include in tools if NEED_LIBPORT
  2053. defined, primarily to reduce prototype warnings on windows.
  2054. * libtiff/tif_dirinfo.c,tif_dirread.c: Avoid warnings
  2055. about unused parameters, and uninitialized variables.
  2056. 2009-01-21 Bob Friesenhahn <[email protected]>
  2057. * test/common.sh: Execute tests like 'make VERBOSE=TRUE check' in
  2058. order to trace full execution detail while executing the test suite.
  2059. 2009-01-20 Frank Warmerdam <[email protected]>
  2060. * tools/tiffsplit.c: fix sampleformat to be shortv instead of longv.
  2061. 2009-01-20 Bob Friesenhahn <[email protected]>
  2062. * test/Makefile.am (CLEANFILES): Make sure that test output files
  2063. are removed by 'make clean'
  2064. * Update autotools for 4.0.0 beta3
  2065. * 4.0.0 beta3 produced.
  2066. 2009-01-12 Bob Friesenhahn <[email protected]>
  2067. * test/tiffcrop.sh: New test script for tiffcrop from Richard
  2068. Nolde.
  2069. * tools/tiff2ps.c: Remove spurious message to stderr.
  2070. 2009-01-11 Bob Friesenhahn <[email protected]>
  2071. * tools/tiff2ps.c: Incorporated significant functionality update
  2072. from Richard Nolde. In particular, support for rotating the image
  2073. by 90, 180, 270, and 'auto' has been added.
  2074. * man/tiffcrop.1: Incorporated documentation updates from Richard
  2075. Nolde.
  2076. * tools/tiffcrop.c: Incorporated significant functionality update
  2077. from Richard Nolde.
  2078. 2008-12-31 Bob Friesenhahn <[email protected]>
  2079. * libtiff/tiffio.h: GCC will now validate format specifications
  2080. for TIFFError(), TIFFErrorExt(), TIFFWarning(), and
  2081. TIFFWarningExt() in order to reveal bugs.
  2082. * Many fixes throughout to work better as a 64-bit build.
  2083. 2008-12-30 Bob Friesenhahn <[email protected]>
  2084. * tools/{tiff2pdf.c, tiff2ps.c, tiffinfo.c}: Offset and length
  2085. tags now require 64-bit parameter rather than 32-bit.
  2086. * libtiff/tif_dirread.c: Fixed issues with unaligned access to
  2087. 64-bit values.
  2088. * tools/thumbnail.c: Eliminate crash noticed while running test
  2089. suite.
  2090. 2008-12-29 Bob Friesenhahn <[email protected]>
  2091. * libtiff/tif_ojpeg.c (OJPEGLibjpegJpegSourceMgrFillInputBuffer):
  2092. Initialize stack variables to avoid compiler warning.
  2093. * tools/tiffinfoce.c (main): Use toff_t for offset type when
  2094. retrieving offset of EXIF IFD.
  2095. * libtiff/tiffio.h: Undeprecate toff_t and restore its use in the
  2096. TIFFClientOpen() callback and other external function definitions.
  2097. * tools/tiffinfo.c (main): Offset to EXIF IFD requires a 64-bit
  2098. type now. Fixes crash when dumping files containing an EXIF IFD.
  2099. * m4/libtool.m4: Update to libtool 2.2.6.
  2100. 2008-12-21 Frank Warmerdam <[email protected]>
  2101. * libtiff/tif_dir.c, tiffio.h: Introduce TIFFUnsetField() function.
  2102. * libtiff/tif_jpeg.c: Avoid errors if the application writes a full
  2103. strip for the last partial strip in a jpeg compressed file.
  2104. http://bugzilla.maptools.org/show_bug.cgi?id=1981
  2105. 2008-10-29 Frank Warmerdam <[email protected]>
  2106. * libtiff/tif_flush.c: Make sure that BEENWRITING is cleared when
  2107. we take the shortcut to only update the strip/tile offsets in place.
  2108. http://trac.osgeo.org/gdal/ticket/2621
  2109. 2008-10-21 Andrey Kiselev <[email protected]>
  2110. * libtiff/tif_jbig.c: Support the JBIG-KIT 2.0 (compatibility with
  2111. the older versions retained).
  2112. 2008-10-09 Frank Warmerdam <[email protected]>
  2113. * libtiff/tif_jpeg.c: Add #ifdefs for changes needed if using
  2114. IPP enabled version of libjpeg from Intel.
  2115. http://bugzilla.maptools.org/show_bug.cgi?id=1951
  2116. 2008-09-05 Andrey Kiselev <[email protected]>
  2117. * tools/tiffsplit.c: Use byte counts of proper size (uint64).
  2118. Required for libtiff 4.0.
  2119. * tools/tiffsplit.c: Use dynamically allocated array instead of static
  2120. when constructing output file names.
  2121. 2008-09-03 Andrey Kiselev <[email protected]>
  2122. * tools/tiffsplit.c: Get rid of unsafe strcpy()/strcat() calls when
  2123. doing the filename/path construction.
  2124. * tools/tiff2pdf.c: More appropriate format string in
  2125. t2p_write_pdf_string(); avoid signed/unsigned mismatch.
  2126. * libtiff/tif_lzw.c: Properly zero out the codetable. As per bug
  2127. http://bugzilla.maptools.org/show_bug.cgi?id=1929
  2128. * libtiff/tif_lzw.c: Properly zero out the string table. Fixes
  2129. CVE-2008-2327 security issue.
  2130. 2008-09-01 Frank Warmerdam <[email protected]>
  2131. * libtiff/tif_dirread.c: Avoid unused TIFFReadDirEntryFloat() function.
  2132. * libtiff/tif_dirwrite.c: modified to write IFDs as either IFD8 or IFD
  2133. depending on whether the file is bigtiff or classic tiff.
  2134. http://bugzilla.maptools.org/show_bug.cgi?id=1917
  2135. 2008-08-12 Edward Lam <[email protected]>
  2136. * tools/tiffdump.c: When compiling for Microsoft Windows, apply
  2137. consistent (__int64) casting when testing if _lseeki64 has
  2138. successfully seeked as requested. This is necessary for large
  2139. file support to work since off_t is only 32-bit.
  2140. 2008-07-29 Frank Warmerdam <[email protected]>
  2141. * tif_strip.c: Replace assertions related to samplesperpixel != 3 or
  2142. the subsampling values not being 1, 2 or 4 (for jpeg compressed images)
  2143. with control logic to return runtime errors (c/o Even Rouault) (#1927).
  2144. 2008-06-17 Frank Warmerdam <[email protected]>
  2145. * tools/tiffcrop.c: Fix some portability problems.
  2146. * libtiff/tif_ojpeg.c: Use same jpeg/win32 boolean/FAR hacks as are
  2147. used in tif_jpeg.c.
  2148. * libtiff/tif_win32.c: Ensure TIFFOpenW() uses same FILE_SHARE flags
  2149. as TIFFOpen().
  2150. 2008-06-01 Frank Warmerdam <[email protected]>
  2151. * libtiff/tif_dirwrite.c: Fix alignment problems affecting architectures
  2152. like Sparc/Solaris.
  2153. http://bugzilla.maptools.org/show_bug.cgi?id=1892
  2154. 2008-05-27 Frank Warmerdam <[email protected]>
  2155. * libtiff.def: Add TIFFFindField
  2156. http://bugzilla.maptools.org/show_bug.cgi?id=1891
  2157. 2008-05-26 Frank Warmerdam <[email protected]>
  2158. * tif_config.*.h, tiffconf.*.h: Remove SIZEOF_LONG definition, unused.
  2159. * li2008-04-15 Andrey Kiselev <[email protected]>
  2160. btiff/tif_win32.c: Replace custom Win32 memory api with generic
  2161. POSIX one. No apparent value to use of GlobalAlloc() in the modern
  2162. age. http://bugzilla.maptools.org/show_bug.cgi?id=1885
  2163. * libtiff/tiffconf.vc.h: Added JBIG_SUPPORT and MDI_SUPPORT items
  2164. in windows version (care of Edward Lam).
  2165. 2008-05-24 Frank Warmerdam <[email protected]>
  2166. * tif_codec.c: Avoid NULL pointer dereferencing for exotic
  2167. compression codec codes.
  2168. * tif_dirwrite.c: fix potential memory leak.
  2169. * tif_dirread.c: Fix unchecked malloc result.
  2170. 2008-05-24 Bob Friesenhahn <[email protected]>
  2171. * test {tiff2pdf.sh tiff2ps-EPS1.sh tiff2ps-PS1.sh tiff2ps-PS2.sh
  2172. tiff2ps-PS3.sh tiffcp-g3-1d-fill.sh tiffcp-g3-1d.sh
  2173. tiffcp-g3-2d-fill.sh tiffcp-g3-2d.sh tiffcp-g3.sh tiffcp-g4.sh
  2174. tiffcp-split-join.sh tiffcp-split.sh tiffcp-thumbnail.sh
  2175. tiffdump.sh tiffinfo.sh}: Added more test scripts based on
  2176. suggestions from Lee Howard posted to the tiff list on 13 Sep
  2177. 2007.
  2178. 2008-05-23 Frank Warmerdam <[email protected]>
  2179. * libtiff/tif_fax3.c: Add an assert in an effort to detect a
  2180. possible runtime problem reported by coverity.
  2181. * contrib/iptcutil/iptcutil.c: Fixed memory leak of str.
  2182. * tools/tiffcrop.c, man/tiffcrop.1: Major update from Richard Nolde.
  2183. http://bugzilla.maptools.org/show_bug.cgi?id=1888
  2184. * tools/tiffdither.c: remove dead onestrip code. avoid memory leak.
  2185. * tools/rgb2ycbcr.c: fix memory leak of raster buffer.
  2186. * tools/tiffcp.c: Simplify inknames code to avoid pointless test.
  2187. Cleanup scanline allocation to avoid coverity warning.
  2188. * tools/thumbnail.c: Check for TIFFOpen() failure.
  2189. 2008-05-18 Frank Warmerdam <[email protected]>
  2190. * libtiff/tif_dirinfo.c: Use TIFF_SETGET_ASCII for PIXAR_TEXTUREFORMAT
  2191. and PIXAR_WRAPMODES instead of TIFF_SETGET_UNDEFINED. Not exactly clear
  2192. why this is needed.
  2193. 2008-05-09 Bob Friesenhahn <[email protected]>
  2194. * Makefile.am (ACLOCAL_AMFLAGS): Libtool 2.2.4 does not like
  2195. "ACLOCAL_AMFLAGS=-I ./m4". It wants "ACLOCAL_AMFLAGS=-I m4".
  2196. 2008-04-15 Andrey Kiselev <[email protected]>
  2197. * test/: Test suite updated. Everything is passed now.
  2198. * libtiff/tif_dirinfo.c: Fixed description of the
  2199. TIFFTAG_NUMBEROFINKS tag.
  2200. 2008-04-14 Andrey Kiselev <[email protected]>
  2201. * libtiff/{tif_dirread.c, tif_dirwrite.c, tiffiop.h}:
  2202. Get rid of some of "dereferencing type-punned" warnings by converting
  2203. tdir_offset field of TIFFDirEntry structure into union.
  2204. 2008-04-10 Andrey Kiselev <[email protected]>
  2205. * libtiff/{tif_flush.c, tif_dirwrite.c, tiffio.h, tiffiop.h}:
  2206. TIFFRewriteField() renamed into _TIFFRewriteField() and moved out
  2207. from the public interface. Type of its 'count' parameter changed
  2208. from uint32 to tmsize_t.
  2209. * /libtiff/tiffiop.h: Make tif_nfields and tif_nfieldscompat fields
  2210. of the tiff structure have the size_t type instead of uint32.
  2211. 2008-04-09 Andrey Kiselev <[email protected]>
  2212. * tools/tiffdump.c: Added support for MSVS 6.0.
  2213. * libtiff/tif_dirread.c: Use custom functions _TIFFUInt64ToFloat()
  2214. and _TIFFUInt64ToDouble() to convert 64-bit integers into floating
  2215. point values on MSVS 6.0 platform.
  2216. 2008-03-14 Frank Warmerdam <[email protected]>
  2217. * tif_dirread.c: Removed sanity checks on tags larger than 4MB in
  2218. TIFFReadDirEntryArray() since they are interfering with seemingly
  2219. legitimate files. http://trac.osgeo.org/gdal/ticket/2005
  2220. 2008-02-09 Joris Van Damme <[email protected]>
  2221. * tif_dirread.c: Added handling for the case of number of values for
  2222. PageNumber tag different from 2 (previously resulted in an assert
  2223. indicating lack of handling and was forgotten about)
  2224. 2008-02-01 Frank Warmerdam <[email protected]>
  2225. * libtiff/tif_jpeg.c: Do not try to fixup subsampling tags based on
  2226. the actual jpeg data stream if the first strip/tile has zero size.
  2227. This is the case when GDAL creates a new file with zero sizes, closes
  2228. and reopens it.
  2229. 2008-01-07 Frank Warmerdam <[email protected]>
  2230. * tools/tiff2ps.c: fix up 64bit issues (from Edward Lam).
  2231. 2008-01-01 Frank Warmerdam <[email protected]>
  2232. * libtiff/tif_dirwrite.c: #ifdef out lots of unused functions.
  2233. * Makefile.vc, libtiff/Makefile.vc, tools/Makefile.vc: Improve clean
  2234. targets.
  2235. * tools/tiffinfo.c, tools/tiffcmp.c, tools/gif2tiff.c, tools/bmp2tiff.c
  2236. tools/tiff2pdf.c: Fix 64-bit warnings when compiling under MSVC 2005
  2237. (x64).
  2238. * tools/tiffset.c: Changes to reflect the fact that TIFFFieldWithTag()
  2239. and TIFFFieldWithName() now return TIFFField pointers instead of
  2240. TIFFFieldInfo pointers.
  2241. * tools/tiffdump.c: Added ssize_t typedef on Windows since it doesn't
  2242. exist. This makes it compile again on Windows
  2243. * tif_aux.c, tif_getimage.c, tif_next.c, tif_predict.c, tif_win32.c,
  2244. tiffconf.vc.h: Various 64bit fixes from Edward Lam identified on win64.
  2245. * test/rewrite_tag.c: New test for TIFFRewriteField().
  2246. 2007-12-31 Frank Warmerdam <[email protected]>
  2247. * tif_dirwrite.c: Added TIFFRewriteField(). This new function
  2248. rewrites one field "on disk" updating an existing directory
  2249. entry. Lots of limitations still...
  2250. * tiffiop.h, tif_write.c, tif_dirread.c, tif_flush.c: Keep track of
  2251. TIFF_DIRTYSTRIP separately from TIFF_DIRTYDIRECT to indicate that
  2252. the strip offset/size values are dirty but nothing else about the
  2253. directory is dirty. In flush handle "just stripmaps dirty" as a
  2254. special case that just rewrites these values without otherwise
  2255. modifying the directory on disk using TIFFRewriteField().
  2256. We also modify logic so that in update mode the directory is not
  2257. marked dirty on read, but only when something is changed. This
  2258. means we need to keep track of updates to the stripmap stuff in
  2259. TIFFAppendToStrip().
  2260. 2007-12-10 Frank Warmerdam <[email protected]>
  2261. * tif_jpeg.c: Improve ability to switch between encoding and decoding
  2262. in the jpeg code (gdal bug #2033).
  2263. 2007-11-23 Frank Warmerdam <[email protected]>
  2264. * tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_read.c, tif_write.c,
  2265. tiffiop.h: Added TIFF_BUF4WRITE flag to indicate if contents of the
  2266. rawcp/rawcc buffer are for writing and thus may require flushing.
  2267. Necessary to distinguish whether they need to be written to disk when
  2268. in mixed read/write mode and doing a mixture of writing followed by
  2269. reading. http://trac.osgeo.org/gdal/ticket/1758
  2270. 2007-11-23 Andrey Kiselev <[email protected]>
  2271. * configure.com, libtiff/tif_vms.c: Better OpenVMS support. Patches
  2272. from Alexey Chupahin.
  2273. 2007-11-02 Frank Warmerdam <[email protected]>
  2274. * tif_write.c: Rip out the fancy logic in TIFFAppendToStrip() for
  2275. establishing if an existing tile can be rewritten to the same location
  2276. by comparing the current size to all the other blocks in the same
  2277. directory. This is dangerous in many situations and can easily
  2278. corrupt a file. (observed in esoteric GDAL situation that's hard to
  2279. document). This change involves leaving the stripbytecount[] values
  2280. unaltered till TIFFAppendToStrip(). Now we only write a block back
  2281. to the same location it used to be at if the new data is the same
  2282. size or smaller - otherwise we move it to the end of file.
  2283. * tif_dirwrite.c: Try to avoid writing out a full readbuffer of tile
  2284. data when writing the directory just because we have BEENWRITING at
  2285. some point in the past. This was causing odd junk to be written out
  2286. in a tile of data when a single tile had an interleaving of reading
  2287. and writing with reading last. (highlighted by gdal
  2288. autotest/gcore/tif_write.py test 7.
  2289. * tif_predict.c: use working buffer in PredictorEncodeTile to avoid
  2290. modifying callers buffer.
  2291. http://trac.osgeo.org/gdal/ticket/1965
  2292. * tif_predict.c/h: more fixes related to last item, keeping a
  2293. distinct pfunc for encode and decode cases as these were getting
  2294. mixed up sometimes.
  2295. http://trac.osgeo.org/gdal/ticket/1948
  2296. 2007-11-01 Frank Warmerdam <[email protected]>
  2297. * tif_predict.c/h, tif_lzw.c, tif_zip.c: Improvements so that
  2298. predictor based encoding and decoding works in read-write update
  2299. mode properly.
  2300. http://trac.osgeo.org/gdal/ticket/1948
  2301. 2007-10-24 Joris Van Damme <[email protected]>
  2302. * tif_dirread.c: Fixed problem with bogus file triggering
  2303. assert(td->td_planarconfig == PLANARCONFIG_CONTIG) in
  2304. ChopUpSingleUncompressedStrip
  2305. 2007-10-22 Joris Van Damme <[email protected]>
  2306. * tif_jpeg.c: Resolved buffer incrementation bug that lead to faulty images
  2307. at best, access violation at worst, when subsampled JPEG compressed imagery
  2308. is decoded without the JPEG_COLORMODE feature
  2309. 2007-10-11 Frank Warmerdam <[email protected]>
  2310. * html/index.html: Update "people responsible" section.
  2311. 2007-10-05 Frank Warmerdam <[email protected]>
  2312. * tools/tiff2pdf.c: Fix problem with alpha setting in some cases
  2313. as reported on the mailing list.
  2314. 2007-10-01 Joris Van Damme <[email protected]>
  2315. * changed some more incorrect %lud printf flags to %lu
  2316. 2007-09-29 Joris Van Damme <[email protected]>
  2317. * tif_dirread.c: Strip chopping interfered badly with uncompressed
  2318. subsampled images because it tried to divide subsampled rowblocks,
  2319. leading to all sorts of errors throughout the library for these
  2320. images. Fixed by making strip chopping divide in row counts that
  2321. are a multiple of vertical subsampling value.
  2322. 2007-09-28 Joris Van Damme <[email protected]>
  2323. * tif_dirread.c: Logical cast working around compiler warning
  2324. * tif_read.c: Correction of some error flags and parameter lists
  2325. 2007-09-27 Joris Van Damme <[email protected]>
  2326. * tif_dirread.c: Made calculation of td_maxsamplevalue more robust
  2327. when dealing with large bitspersample values, shutting up purification
  2328. tools that warn about truncation, though it remains incorrect and
  2329. indicates a conceptual problem there.
  2330. * tif_open.c: Moved early exit in case of 'h' flag (to disable reading
  2331. of first IFD) to proper place because it badly interfered with memory
  2332. mapping, resulting in mapping flag even with dummy mapping functions
  2333. that returned 0 whilst at the same time the mapping tif_size wasn't
  2334. set, thus resulting in continuous incorrect beyond-eof errors.
  2335. 2007-09-24 Joris Van Damme <[email protected]>
  2336. * tif_dirinfo.c: Fixed (MSVC) compiler reports about
  2337. inconsistent use of const in tiffFields and exifFields definition
  2338. 2007-09-20 Frank Warmerdam <[email protected]>
  2339. * tif_dirwrite.c: Always write tile/strip offsets and sizes
  2340. using LONG8 type when output format is BigTIFF. The
  2341. TIFFWriteDirectoryTagLongLong8Array() function was restructured
  2342. accordingly.
  2343. * tif_dirread.c: Improvements to error reporting text in
  2344. TIFFFetchDirectory().
  2345. 2007-09-19 Bob Friesenhahn <[email protected]>
  2346. * test/images: Added a small collection of test images for use by
  2347. test programs and scripts.
  2348. * test/tiffinfo.sh: A trivial example test script.
  2349. * test/common.sh: Added small script for setting the environment
  2350. used by script-based tests.
  2351. 2007-08-24 Frank Warmerdam <[email protected]>
  2352. * tif_dirwrite.c: Write the tif_nextdiroff value instead of a fixed
  2353. zero when writing directory contents to preserve the ability to
  2354. rewrite directories in place, even in the middle of a directory
  2355. chain.
  2356. * tif_dirinfo.c: _TIFFMergeFields() now only merges in field
  2357. definitions that are missing. Existing definitions are silently
  2358. ignored.
  2359. * tif_dirread.c: Add runtime error for fields for which no definition
  2360. is found (in addition to an assert for developers) in
  2361. TIFFFetchNormalTag(). Not sure if this is needed, but it seems
  2362. prudent.
  2363. 2007-08-10 Joris Van Damme <[email protected]>
  2364. * libtiff/tif_getimage.c: removed SubsamplingHor and SubsamplingVer
  2365. from _TIFFRGBAImage structure to revert unwanted ABI change.
  2366. 2007-08-10 Joris Van Damme <[email protected]>
  2367. * libtiff/tif_win32.c: use SetFilePointer instead of
  2368. SetFilePointerEx, as per bug
  2369. http://bugzilla.remotesensing.org/show_bug.cgi?id=1580
  2370. 2007-07-19 Andrey Kiselev <[email protected]>
  2371. * libtiff/tif_stream.cxx: Put all callback functions declarations
  2372. inside extern "C" block.
  2373. * libtiff/{tif_lzw.c, tif_luv.c, tif_dumpmode.c, tif_print.c,
  2374. tif_read.c, tif_strip.c, tif_thunder.c}: Use "%I64d" printf()
  2375. formatter instead of "%lld" with MSVC compiler.
  2376. * libtiff/{tiffiop.h, tif_aux.c}: Added _TIFFUInt64ToFloat() and
  2377. _TIFFUInt64ToDouble() functions.
  2378. 2007-07-18 Andrey Kiselev <[email protected]>
  2379. * libtiff/tif_dirread.c: Handle the case of MSVC 6 when using 64-bit
  2380. integer constants.
  2381. * libtiff/{Makefile.am, Makefile.v}: Do not distribute tiffconf.h,
  2382. remove tif_config.h/tiffconf.h during cleaning. As per bug
  2383. http://bugzilla.remotesensing.org/show_bug.cgi?id=1573
  2384. * libtiff/tif_unix.c: Do not use O_LARGEFILE. As per bug
  2385. http://bugzilla.remotesensing.org/show_bug.cgi?id=1577
  2386. 2007-07-13 Andrey Kiselev <[email protected]>
  2387. * libtiff 4.0.0alpha released.
  2388. 2007-07-12 Andrey Kiselev <[email protected]>
  2389. * tools/tiff2pdf.c: Added missed extern optind as per bug
  2390. http://bugzilla.remotesensing.org/show_bug.cgi?id=1567
  2391. * libtiff/{tif_close.c, tif_dirinfo.c, tiffiop.c, tif_dirread.c,
  2392. tif_dir.h, tif_dir.c, tiffio.h}: Transition to the new-style tag
  2393. extending scheme completed.
  2394. 2007-07-11 Bob Friesenhahn <[email protected]>
  2395. * libtiff/tif_stream.cxx: Adapt to use toff_t again. Update to
  2396. use standard C++ library size types and attempt to detect overflow
  2397. cases.
  2398. 2007-07-08 Andrey Kiselev <[email protected]>
  2399. * libtiff/{tif_jpeg.c, tif_dir.h, tif_dir.c, tif_dirinfo.c, tiffio.h,
  2400. tif_ojpeg.c, tif_print.c, tif_fax3.c, tif_dirread.c}: More work on new
  2401. tag extending scheme. Use the new scheme everywhere.
  2402. * libtiff/{tif_zip.c, tif_predict.c, tif_pixarlog.c, tif_luv.c,
  2403. tif_fax3.c, tif_dirread.c, tif_dirwrite.c, tif_close.c, tif_ojpeg.c,
  2404. tif_jpeg.c, tif_dirinfo.c, tif_dir.h, tiffio.h, tiffiop.h}:
  2405. TIFFFIeldInfo structure replaced with TIFFField structure.
  2406. TIFFFieldInfo retained for the backward compatibility.
  2407. 2007-07-05 Bob Friesenhahn <[email protected]>
  2408. * tools/tiff2pdf.c: Fix a compile problem when JPEG_SUPPORT is not
  2409. defined.
  2410. 2007-07-04 Andrey Kiselev <[email protected]>
  2411. * libtiff/{tif_dir.c, tiff.h, tiffio.h, libtiff.def}: Unused
  2412. TIFFReassignTagToIgnore() function and TIFFIgnoreSense enumeration
  2413. removed.
  2414. * libtiff/{tif_dirinfo.c, tif_fax3.c, tif_jbig.c, tif_jpeg.c}: Move
  2415. tags TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS,
  2416. TIFFTAG_FAXRECVTIME and TIFFTAG_FAXDCS to the common tag directory.
  2417. These tags are not codec-specific and relate to image content, so
  2418. process them as other normal tags.
  2419. * libtiff/{tiffio.h, tif_dir.h}: TIFFTagValue structure moved from the
  2420. public tiffio.h to private tif_dir.h.
  2421. * contrib/{acorn, mac-cw, mac-mpw}: Removed as unmaintained and
  2422. outdated.
  2423. 2007-07-03 Andrey Kiselev <[email protected]>
  2424. * libtiff{tif_acorn.c, tif_apple.c, tif_atari.c, tif_msdos.c,
  2425. tif_win3.c}: Obsoleted portability stuff removed.
  2426. * tools/tiff2ps.c: Added support 16-bit images as per bug
  2427. http://bugzilla.remotesensing.org/show_bug.cgi?id=1566
  2428. Patch from William Bader.
  2429. * tools/tiff2pdf.c: Fix for TIFFTAG_JPEGTABLES tag fetching and
  2430. significant upgrade of the whole utility as per bug
  2431. http://bugzilla.remotesensing.org/show_bug.cgi?id=1560
  2432. Now we don't need tiffiop.h in tiff2pdf anymore and will open output
  2433. PDF file using TIFFClientOpen() machinery as it is implemented
  2434. by Leon Bottou.
  2435. 2007-06-26 Bob Friesenhahn <[email protected]>
  2436. * configure.ac: Fix typo when substituting value for unsigned 8 bit type.
  2437. Added support for a TIFF_PTRDIFF_T type to use when doing pointer arithmetic.
  2438. Added support for a TIFF_SSIZE_T in order to return memory sizes but still
  2439. allow returning -1 for errors.
  2440. * libtiff/tiffconf.vc.h: Add porting type defintions for WIN32.
  2441. 2007-06-25 Bob Friesenhahn <[email protected]>
  2442. * port/strtoull.c: New porting function in case strtoull() is not
  2443. available on the target system.
  2444. * configure.ac: Add configure support for determining sized types
  2445. in a portable way and performing necessary substitutions in
  2446. tif_config.h and tiffconf.h. Updated tiff.h to use the new
  2447. definitions.
  2448. 2007-04-27 Andrey Kiselev <[email protected]>
  2449. * tools/tiff2pdf.c: Check the tmpfile() return status as per bug
  2450. http://bugzilla.remotesensing.org/show_bug.cgi?id=154
  2451. 2007-04-07 Andrey Kiselev <[email protected]>
  2452. * libtiff/{tif_dir.h, tif_dirread.c, tif_dirinfo.c, tif_jpeg.c,
  2453. tif_fax3.c, tif_jbig.c, tif_luv.c, tif_ojpeg.c, tif_pixarlog.c,
  2454. tif_predict.c, tif_zip.c}: Finally fix bug
  2455. http://bugzilla.remotesensing.org/show_bug.cgi?id=1274
  2456. by introducing _TIFFMergeFieldInfo() returning integer error status
  2457. instead of void in case of problems with field merging (e.g., if the
  2458. field with such a tag already registered). TIFFMergeFieldInfo() in
  2459. public API remains void. Use _TIFFMergeFieldInfo() everywhere and
  2460. check returned value.
  2461. 2007-04-07 Frank Warmerdam <[email protected]>
  2462. * contrib/addtiffo/tif_overview.c: Fix problems with odd sized output
  2463. blocks in TIFF_DownSample_Subsampled() (bug 1542).
  2464. 2007-04-06 Frank Warmerdam <[email protected]>
  2465. * libtiff/tif_jpeg.c: Changed JPEGInitializeLibJPEG() so that it
  2466. will convert from decompressor to compressor or compress to decompress
  2467. if required by the force arguments. This works around a problem in
  2468. where the JPEGFixupTestSubsampling() may cause a decompressor to
  2469. be setup on a directory when later a compressor is required with the
  2470. force flag set. Occurs with the addtiffo program for instance.
  2471. 2007-04-06 Andrey Kiselev <[email protected]>
  2472. * tools/tiffcrop.c, man/tiffcrop.1: Significant update in
  2473. functionality from Richard Nolde. As per bug
  2474. http://bugzilla.remotesensing.org/show_bug.cgi?id=1525
  2475. 2007-03-28 Frank Warmerdam <[email protected]>
  2476. * libtiff/tif_fax3.c: "inline static" -> "static inline" for IRIC CC.
  2477. 2007-03-17 Joris Van Damme <[email protected]>
  2478. * start of BigTIFF upgrade - CVS HEAD unstable until further notice
  2479. 2007-03-07 Joris Van Damme <[email protected]>
  2480. * libtiff/tif_getimage.c: workaround for 'Fractional scanline' error reading
  2481. OJPEG images with rowsperstrip that is not a multiple of vertical subsampling
  2482. factor. This bug is mentioned in:
  2483. http://bugzilla.remotesensing.org/show_bug.cgi?id=1390
  2484. http://www.asmail.be/msg0054766825.html
  2485. 2007-03-07 Joris Van Damme <[email protected]>
  2486. * libtiff/tif_win32.c: made inclusion of windows.h unconditional
  2487. * libtiff/tif_win32.c: replaced preprocessor indication for consiously
  2488. unused arguments by standard C indication for the same
  2489. 2007-02-27 Andrey Kiselev <[email protected]>
  2490. * libtiff/tif_dirread.c: Use uint32 type instead of tsize_t in byte
  2491. counters in TIFFFetchData(). Should finally fix the issue
  2492. http://bugzilla.remotesensing.org/show_bug.cgi?id=890
  2493. 2007-02-24 Andrey Kiselev <[email protected]>
  2494. * tools/tiffset.c: Properly handle tags with TIFF_VARIABLE writecount.
  2495. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1350
  2496. * libtiff/tif_dirread.c: Added special function to handle
  2497. SubjectDistance EXIF tag as per bug
  2498. http://bugzilla.remotesensing.org/show_bug.cgi?id=1362
  2499. * tools/tiff2pdf.c: Do not assume inches when the resolution units
  2500. do not specified. As per bug
  2501. http://bugzilla.remotesensing.org/show_bug.cgi?id=1366
  2502. * tools/{tiffcp.c, tiffcrop.c}: Do not change RowsPerStrip value if
  2503. it was set as infinite. As per bug
  2504. http://bugzilla.remotesensing.org/show_bug.cgi?id=1368
  2505. * tools/tiffcrop.c, man/tiffcrop.1: New tiffcrop utility contributed
  2506. by Richard Nolde. As per bug
  2507. http://bugzilla.remotesensing.org/show_bug.cgi?id=1383
  2508. 2007-02-22 Andrey Kiselev <[email protected]>
  2509. * libtiff/tif_dir.c: Workaround for incorrect TIFFs with
  2510. ExtraSamples == 999 produced by Corel Draw. As per bug
  2511. http://bugzilla.remotesensing.org/show_bug.cgi?id=1490
  2512. * libtiff/{tif_dirread.c, tif_read.c}: Type of the byte counters
  2513. changed from tsize_t to uint32 to be able to work with data arrays
  2514. larger than 2GB. Fixes bug
  2515. http://bugzilla.remotesensing.org/show_bug.cgi?id=890
  2516. Idea submitted by Matt Hancher.
  2517. 2007-01-31 Andrey Kiselev <[email protected]>
  2518. * tools/tif2rgba.c: This utility does not work properly on big-endian
  2519. architectures. It was fixed including the bug
  2520. http://bugzilla.remotesensing.org/show_bug.cgi?id=1149
  2521. 2007-01-15 Mateusz Loskot <[email protected]>
  2522. * Submitted libtiff port for Windows CE platform
  2523. * libtiff/tif_config.wince.h: Added configuration header for WinCE.
  2524. * libtiff/tiffconf.wince.h: Ported old configuration header for WinCE.
  2525. * libtiff/tif_wince.c: Added WinCE-specific implementation of some
  2526. functons from tif_win32.c.
  2527. * libtiff/tif_win32.c: Disabled some functions already reimplemented in tif_wince.c.
  2528. * libtiff/tiffiop.h, port/lfind.c: Added conditional include of some
  2529. standard header files for Windows CE build.
  2530. * tools/tiffinfoce.c: Ported tiffinfo utility for Windows CE.
  2531. 2006-11-19 Frank Warmerdam <[email protected]>
  2532. * libtiff/tif_write.c: TIFFAppendToStrip() - clear sorted flag if
  2533. we move a strip.
  2534. http://bugzilla.remotesensing.org/show_bug.cgi?id=1359
  2535. 2006-10-13 Andrey Kiselev <[email protected]>
  2536. * libtiff/tif_dir.c: More fixes for vulnerabilities, reported
  2537. in Gentoo bug ():
  2538. http://bugs.gentoo.org/show_bug.cgi?id=142383
  2539. * libtiff/contrib/dbs/xtiff/xtiff.c: Make xtiff utility compilable.
  2540. Though it is still far from the state of being working and useful.
  2541. 2006-10-12 Andrey Kiselev <[email protected]>
  2542. * libtiff/tif_fax3.c: Save the state of printdir codec dependent
  2543. method.
  2544. * libtiff/tif_jpeg.c: Save the state of printdir codec dependent method
  2545. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1273
  2546. * libtiff/tif_win32.c: Fixed problem with offset value manipulation
  2547. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1322
  2548. * libtiff/{tif_read.c, tif_jpeg.c, tif_dir.c}: More fixes for
  2549. vulnerabilities, reported in Gentoo bug ():
  2550. http://bugs.gentoo.org/show_bug.cgi?id=142383
  2551. 2006-09-28 Andrey Kiselev <[email protected]>
  2552. * libtiff/{tif_fax3.c, tif_next.c, tif_pixarlog.c}: Fixed multiple
  2553. vulnerabilities, as per Gentoo bug ():
  2554. http://bugs.gentoo.org/show_bug.cgi?id=142383
  2555. 2006-09-27 Frank Warmerdam <[email protected]>
  2556. * libtiff/tif_lzw.c, libtiff/tif_zip.c: Fixed problems with mixing
  2557. encoding and decoding on the same read-write TIFF handle. The LZW
  2558. code can now maintain encode and decode state at the same time. The
  2559. ZIP code will switch back and forth as needed.
  2560. http://bugzilla.remotesensing.org/show_bug.cgi?id=757
  2561. 2006-09-20 Frank Warmerdam <[email protected]>
  2562. * libtiff: Rename config.h.vc and tif_config.h.vc to config.vc.h and
  2563. tif_config.vc.h for easier identification by folks using an IDE.
  2564. 2006-07-25 Frank Warmerdam <[email protected]>
  2565. * tif_msdos.c: Avoid handle leak for failed opens. c/o Thierry Pierron
  2566. 2006-07-19 Frank Warmerdam <[email protected]>
  2567. * tif_dirwrite.c: take care not to flush out buffer of strip/tile
  2568. data in _TIFFWriteDirectory if TIFF_BEENWRITING not set. Relates
  2569. to bug report by Peng Gao with black strip at bottom of images.
  2570. 2006-07-12 Frank Warmerdam <[email protected]>
  2571. * tif_dirwrite.c: make sure to use uint32 for wordcount in
  2572. TIFFWriteNormanTag if writecount is VARIABLE2 for ASCII fields.
  2573. It already seems to have been done for other field types. Needed
  2574. for "tiffset" on files with geotiff ascii text.
  2575. 2006-07-04 Bob Friesenhahn <[email protected]>
  2576. * {configure.ac, libtiff/tif_config.h.vc, libtiff/tif_jbig.c}
  2577. (JBIGDecode): jbg_newlen is not available in older JBIG-KIT and
  2578. its use does not appear to be required, so use it only when it is
  2579. available.
  2580. 2006-06-24 Andrey Kiselev <[email protected]>
  2581. * libtiff/tif_dirinfo.c: Added missed EXIF tag ColorSpace (40961).
  2582. * libtiff/tif_dirread.c: Move IFD fetching code in the separate
  2583. function TIFFFetchDirectory() avoiding code duplication in
  2584. TIFFReadDirectory() and TIFFReadCustomDirectory().
  2585. 2006-06-19 Frank Warmerdam <[email protected]>
  2586. * tools/tiff2pdf.c: Fix handling of -q values.
  2587. http://bugzilla.remotesensing.org/show_bug.cgi?id=587
  2588. 2006-06-17 Frank Warmerdam <[email protected]>
  2589. * tif_readdir.c: Added case in EstimateStripByteCounts() for tiled
  2590. files. Modified TIFFReadDirectory() to not invoke
  2591. EstimateStripByteCounts() for case where entry 0 and 1 are unequal
  2592. but one of them is zero.
  2593. http://bugzilla.remotesensing.org/show_bug.cgi?id=1204
  2594. 2006-06-08 Andrey Kiselev <[email protected]>
  2595. * libtiff/{tif_open.c, tif_dirread.c, tiffiop.h}: Move IFD looping
  2596. checking code in the separate function TIFFCheckDirOffset().
  2597. * libtiff/tif_aux.c: Added _TIFFCheckRealloc() function.
  2598. * tools/tiffcmp.c: Fixed floating point comparison logic as per bug
  2599. http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
  2600. * libtiff/tif_fax3.c: Fixed problems in fax decoder as per bug
  2601. http://bugzilla.remotesensing.org/show_bug.cgi?id=1194
  2602. * tools/tiff2pdf.c: Fixed buffer overflow condition in
  2603. t2p_write_pdf_string() as per bug
  2604. http://bugzilla.remotesensing.org/show_bug.cgi?id=1196
  2605. 2006-06-07 Andrey Kiselev <[email protected]>
  2606. * {configure, configure.ac, libtiff/tif_jbig.c, tools/tiffcp.c}: Added
  2607. support for JBIG compression scheme (34661 code) contributed by Lee
  2608. Howard. As per bug
  2609. http://bugzilla.remotesensing.org/show_bug.cgi?id=896
  2610. * configure, configure.ac: OJPEG support enabled by default.
  2611. * contrib/ojpeg/: Removed. New OJPEG support does not need this patch.
  2612. 2006-06-03 Bob Friesenhahn <[email protected]>
  2613. * libtiff/{tif_dirinfo.c, tif_print.c} : Fix crash in
  2614. TIFFPrintDirectory(). Joris Van Damme authored the fix.
  2615. 2006-04-21 Andrey Kiselev <[email protected]>
  2616. * tools/tiff2pdf.c: Unified line ending characters (always use '\n')
  2617. as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1163
  2618. * README.vms, Makefile.am, configure.com, libtiff/{Makefile.am,
  2619. tif_config.h-vms, tif_stream.cxx, tif_vms.c, tiffconf.h-vms}:
  2620. Added support for OpenVMS by Alexey Chupahin, [email protected].
  2621. 2006-04-20 Andrey Kiselev <[email protected]>
  2622. * tools/{fax2ps.c, fax2tiff.c, ppm2tiff.c, ras2tiff.c, tiff2pdf.c}:
  2623. Properly set the binary mode for stdin stream as per bug
  2624. http://bugzilla.remotesensing.org/show_bug.cgi?id=1141
  2625. * man/{bmp2tiff.1, fax2ps.1, fax2tiff.1, gif2tiff.1, ras2tiff.1,
  2626. raw2tiff.1, rgb2ycbcr.1, sgi2tiff.1, tiff2bw.1, tiff2pdf.1, tiff2ps.1,
  2627. tiff2rgba.1, tiffcmp.1, tiffcp.1, tiffdither.1, tiffdump.1, tiffgt.1,
  2628. tiffset.1}: Improvements in page formatting as per bug
  2629. http://bugzilla.remotesensing.org/show_bug.cgi?id=1140
  2630. * html/tools.html, html/man/Makefile.am, tools/tiff2pdf.c: Fixed
  2631. typos as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1139
  2632. 2006-04-18 Frank Warmerdam <[email protected]>
  2633. * nmake.opt: use /EHsc for VS2005 compatibility. Also define
  2634. _CRT_SECURE_NO_DEPRECATE to avoid noise on VS2005.
  2635. 2006-04-12 Joris Van Damme <[email protected]>
  2636. * libtiff/tif_getimage.c: Added support for planarconfig separate
  2637. non-subsampled YCbCr (i.e. separate YCbCr with subsampling [1,1])
  2638. 2006-04-11 Joris Van Damme <[email protected]>
  2639. * libtiff/tif_getimage.c: Revision of all RGB(A) put routines
  2640. - Conversion of unassociated alpha to associated alpha now done with
  2641. more performant LUT, and calculation more correct
  2642. - Conversion of 16bit data to 8bit data now done with
  2643. more performant LUT, and calculation more correct
  2644. - Bugfix of handling of 16bit RGB with unassociated alpha
  2645. 2006-04-11 Joris Van Damme <[email protected]>
  2646. * libtiff/tif_getimage.c:
  2647. - When there is no alpha, gtTileSeparate and gtStripSeparate allocated
  2648. buffer for alpha strile and filled it, only to never read it back.
  2649. Removed allocation and fill.
  2650. - Minor rename of vars in gtTileSeparate and gtStripSeparate
  2651. anticipating planned functionality extension
  2652. 2006-04-08 Joris Van Damme <[email protected]>
  2653. * libtiff/tif_getimage.c: renamed pickTileContigCase to PickContigCase
  2654. and pickTileSeparateCase to PickSeparateCase as both work on strips as
  2655. well
  2656. * libtiff/tif_getimage.c: moved img->get selection from
  2657. TIFFRGBAImageBegin into PickContigCase and PickSeparateCase to create
  2658. logical hook for planned functionality extension
  2659. 2006-04-08 Joris Van Damme <[email protected]>
  2660. * libtiff/tif_ojpeg.c: resolved memory leak that was a consequence
  2661. of inappropriate use of jpeg_abort instead of jpeg_destroy
  2662. 2006-04-07 Joris Van Damme <[email protected]>
  2663. * libtiff/tif_getimage.c: replaced usage of TIFFScanlineSize in
  2664. gtStripContig with TIFFNewScanlineSize so as to fix buggy behaviour
  2665. on subsampled images - this ought to get sorted when we feel brave
  2666. enough to replace TIFFScanlineSize alltogether
  2667. * libtiff/tif_ojpeg.c: fixed bug in OJPEGReadSkip
  2668. 2006-04-04 Joris Van Damme <[email protected]>
  2669. * libtiff/tiffio.h: added new type tstrile_t
  2670. * libtiff/tif_dir.h: changed types of td_stripsperimage and td_nstrips
  2671. to new tstrile_t, types of td_stripoffset and td_stripbytecount to
  2672. toff_t*
  2673. * libtiff/tif_ojpeg.c: totally new implementation
  2674. * libtiff/tif_dirread.c: added several hacks to suit new support of
  2675. OJPEG
  2676. * libtiff/tif_getimage.c: removed TIFFTAG_JPEGCOLORMODE handling
  2677. of OJPEG images in favor of tif_getimage.c native handling of
  2678. YCbCr and desubsampling
  2679. 2006-03-29 Frank Warmerdam <[email protected]>
  2680. * libtiff/tif_jpeg.c: JPEGVSetField() so that altering the photometric
  2681. interpretation causes the "upsampled" flag to be recomputed. Fixes
  2682. peculiar bug where photometric flag had to be set before jpegcolormode
  2683. flag.
  2684. 2006-03-25 Joris Van Damme <[email protected]>
  2685. * libtiff/tif_jpeg.c: strip size related bugfix in encode raw
  2686. * libtiff/tif_strip.c: temporarilly added two new versions of
  2687. TIFFScanlineSize
  2688. - TIFFNewScanlineSize: proposed new version, after all related
  2689. issues and side-effects are sorted out
  2690. - TIFFOldScanlineSize: old version, from prior to 2006-03-21 change
  2691. This needs further sorting out.
  2692. 2006-03-25 Joris Van Damme <[email protected]>
  2693. * contrib/addtiffo/tif_ovrcache.c: bugfix to correctly pass size
  2694. of last truncated strip data to TIFFWriteEncodedStrip
  2695. 2006-03-25 Joris Van Damme <[email protected]>
  2696. * libtiff/{tif_jpeg.c, tif_strip.c}: bugfix of tif_jpeg decode raw
  2697. 2006-03-25 Joris Van Damme <[email protected]>
  2698. * libtiff/tif_getimage.c: bugfix/rewrite of putcontig8bitYCbCr22tile
  2699. * libtiff/tif_getimage.c: added putcontig8bitYCbCr12tile
  2700. * libtiff/tif_read.c: added support for new TIFF_NOREADRAW flag to
  2701. prepare the path for new tif_ojpeg.c
  2702. 2006-03-23 Andrey Kiselev <[email protected]>
  2703. * libtiff 3.8.2 released.
  2704. * tools/Makefile.am: Use runtime paths linker flags when rpath
  2705. option enabled.
  2706. 2006-03-21 Andrey Kiselev <[email protected]>
  2707. * libtiff/libtiff.def: Added missed exports as per bug
  2708. http://bugzilla.remotesensing.org/attachment.cgi?id=337
  2709. * contrib/addtiffo/Makefile.vc, libtiff/Makefile.vc, port/Makefile.vc,
  2710. tools/Makefile.vc: Makefiles improvements as per bug
  2711. http://bugzilla.remotesensing.org/show_bug.cgi?id=1128
  2712. * nmake.opt libtiff/{tif_config.h.vc, tif_unix.c, tiffio.h},
  2713. tools/{fax2ps.c, fax2tiff.c, tiff2pdf.c}: Fixed win32 I/O functions
  2714. usage as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1127
  2715. * libtiff/tif_strip.c: Take subsampling in account when calculating
  2716. TIFFScanlineSize().
  2717. * tools/tiffcp.c: Do not set RowsPerStrip bigger than image length.
  2718. 2006-03-17 Andrey Kiselev <[email protected]>
  2719. * tools/fax2tiff.c: Fixed wrong TIFFerror() invocations as per bug
  2720. http://bugzilla.remotesensing.org/show_bug.cgi?id=1125
  2721. * tools/fax2ps.c: Fixed reading the input stream from stdin as per bug
  2722. http://bugzilla.remotesensing.org/show_bug.cgi?id=1124
  2723. 2006-03-16 Andrey Kiselev <[email protected]>
  2724. * libtiff/tiffiop.h: Added decalration for
  2725. _TIFFSetDefaultCompressionState().
  2726. * libtiff/{tif_jpeg.c, tif_fax3.c, tif_zip.c, tif_pixarlog.c,
  2727. tif_lzw.c, tif_luv.c}: Use _TIFFSetDefaultCompressionState() in all
  2728. codec cleanup methods. As per bug
  2729. http://bugzilla.remotesensing.org/show_bug.cgi?id=1120
  2730. 2006-03-15 Andrey Kiselev <[email protected]>
  2731. * libtiff/tif_jpeg.c: Do not cleanup codec state in TIFFInitJPEG(). As
  2732. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1119
  2733. * tools/raw2tiff.c: Do not set RowsPerStrip larger than ImageLength.
  2734. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1110
  2735. * libtiff/tiffiop.h: dblparam_t typedef removed; GLOBALDATA macro
  2736. removed; move here the STRIP_SIZE_DEFAULT macro definition.
  2737. * libtiff/{tif_dirread.c, tif_strip.c}: Removed STRIP_SIZE_DEFAULT
  2738. macro definition.
  2739. * libtiff/tif_dir.c: Use double type instead of dblparam_t.
  2740. 2006-03-14 Andrey Kiselev <[email protected]>
  2741. * libtiff/tif_dirread.c: Do not check the PlanarConfig tag presence
  2742. in TIFFReadDirectory, because it is always set at the start of
  2743. function and we allow TIFFs without that tag set.
  2744. 2005-03-13 Andrey Kiselev <[email protected]>
  2745. * libtiff 3.8.1 released.
  2746. 2006-03-07 Andrey Kiselev <[email protected]>
  2747. * libtiff/tif_dirread.c: Fixed error reporting in TIFFFetchAnyArray()
  2748. function as per bug
  2749. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  2750. * libtiff/tif_dirread.c: More wise check for integer overflow
  2751. condition as per bug
  2752. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  2753. * libtiff/{tif_jpeg.c, tif_pixarlog.c, tif_fax3.c, tif_zip.c}:
  2754. Properly restore setfield/getfield methods in cleanup functions. As
  2755. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  2756. 2006-03-03 Andrey Kiselev <[email protected]>
  2757. * libtiff/{tif_predict.c, tif_predict.h}: Added new function
  2758. TIFFPredictorCleanup() to restore parent decode/encode/field methods.
  2759. * libtiff/{tif_lzw.c, tif_pixarlog.c, tif_zip.c}: Use
  2760. TIFFPredictorCleanup() in codec cleanup methods. As per bug
  2761. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  2762. * libtiff/tif_dirread.c: Fixed integer overflow condition in
  2763. TIFFFetchData() function. As per bug
  2764. http://bugzilla.remotesensing.org/show_bug.cgi?id=1102
  2765. 2006-03-01 Andrey Kiselev <[email protected]>
  2766. * libtiff/tif_ojpeg.c: Set the ReferenceBlackWhite with the
  2767. TIFFSetField() method, not directly. As per bug
  2768. http://bugzilla.remotesensing.org/show_bug.cgi?id=1043
  2769. * tools/ppm2tiff.c: Added support for PBM files as per bug
  2770. http://bugzilla.remotesensing.org/show_bug.cgi?id=1044
  2771. 2006-02-27 Andrey Kiselev <[email protected]>
  2772. * libtiff/tif_write.c: Small code rearrangement in TIFFWriteScanline()
  2773. to avoid crash as per bug
  2774. http://bugzilla.remotesensing.org/show_bug.cgi?id=1081.
  2775. 2006-02-26 Andrey Kiselev <[email protected]>
  2776. * tools/tiff2pdf.c: Functions t2p_sample_rgbaa_to_rgb() and
  2777. t2p_sample_rgba_to_rgb() was used in place of each other, that was
  2778. resulted in problems with RGBA images with associated alpha.
  2779. As per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1097
  2780. 2006-02-23 Andrey Kiselev <[email protected]>
  2781. * libtiff/tif_dirwrite.c: Properly write TIFFTAG_DOTRANGE tag as per
  2782. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
  2783. * libtiff/tif_print.c: Properly read TIFFTAG_PAGENUMBER,
  2784. TIFFTAG_HALFTONEHINTS, TIFFTAG_YCBCRSUBSAMPLING and TIFFTAG_DOTRANGE
  2785. tags as per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1088.
  2786. * tools/tiff2ps.c: Properly scale all the pages when converting
  2787. multipage TIFF with /width/height/center options set. As per bug
  2788. http://bugzilla.remotesensing.org/show_bug.cgi?id=1080
  2789. 2006-02-15 Andrey Kiselev <[email protected]>
  2790. * tools/tiff2pdf.c: Do not create output file until all option checks
  2791. will be done. As per bug
  2792. http://bugzilla.remotesensing.org/show_bug.cgi?id=1072
  2793. * tools/bmp2tiff.c: Added ability to create multipage TIFFs from the
  2794. list of input files as per bug:
  2795. http://bugzilla.remotesensing.org/show_bug.cgi?id=1077
  2796. 2006-02-09 Andrey Kiselev <[email protected]>
  2797. * libtiff/tif_tile.c: Fix error reporting in TIFFCheckTile() as per
  2798. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1063.
  2799. * tools/tiffgt.c: Avoid crashing in case of image unsupported by
  2800. TIFFRGBAImage interface.
  2801. * libtiff/tif_color.c: Avoid overflow in case of wrong input as per
  2802. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=1065.
  2803. 2006-02-07 Frank Warmerdam <[email protected]>
  2804. * tools/tiff2pdf.c: Fixed support for non-YCbCr encoded JPEG
  2805. compressed TIFF files, per submission from Dan Cobra.
  2806. 2006-02-07 Andrey Kiselev <[email protected]>
  2807. * libtiff/{tif_dirread.c, tif_packbits.c, tif_win32.c}: Properly
  2808. cast values to avoid warnings. As per bug
  2809. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  2810. * libtiff/tif_dirinfo.c: Use TIFF_NOTYPE instead of 0 when
  2811. appropriate. As per bug
  2812. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  2813. * libtiff/tif_aux.c: Fixed type of temporary variable in
  2814. _TIFFCheckMalloc() as per bug
  2815. http://bugzilla.remotesensing.org/show_bug.cgi?id=1033.
  2816. 2006-02-06 Andrey Kiselev <[email protected]>
  2817. * libtiff/tif_aux.c: Return static array when fetching default
  2818. YCbCrCoefficients (another problem, reported a the
  2819. http://bugzilla.remotesensing.org/show_bug.cgi?id=1029 entry).
  2820. 2006-02-03 Andrey Kiselev <[email protected]>
  2821. * libtiff/tif_dir.c: Special handling for PageNumber, HalftoneHints,
  2822. YCbCrSubsampling and DotRange tags as per bugs
  2823. http://bugzilla.remotesensing.org/show_bug.cgi?id=1029
  2824. http://bugzilla.remotesensing.org/show_bug.cgi?id=1034
  2825. * libtiff/tif_dirread.c: Use _TIFFGetExifFieldInfo() instead of
  2826. _TIFFGetFieldInfo() in TIFFReadEXIFDirectory() call as per bug
  2827. http://bugzilla.remotesensing.org/show_bug.cgi?id=1026.
  2828. 2006-01-23 Andrey Kiselev <[email protected]>
  2829. * libtool related stuff updated from the 2.1a branch.
  2830. 2006-01-11 Frank Warmerdam <[email protected]>
  2831. * tools/bmp2tiff,pal2rgb,ppm2tiff,ras2tiff,raw2tiff,sgi2tiff,
  2832. tiff2bw,tiffcp: Fixed jpeg option processing so -c jpeg:r:50 works
  2833. properly as per bug:
  2834. http://bugzilla.remotesensing.org/show_bug.cgi?id=1025
  2835. 2006-01-09 Bob Friesenhahn <[email protected]>
  2836. * configure.ac: Fix with_default_strip_size comparison as reported
  2837. by Norihiko Murase.
  2838. 2006-01-08 Bob Friesenhahn <[email protected]>
  2839. * test/Makefile.am (LIBTIFF): Due to linking against libtiff
  2840. incorrectly, tests were not actually testing the uninstalled
  2841. libtiff. Now they are.
  2842. 2006-01-04 Andrey Kiselev <[email protected]>
  2843. * libtiff/tif_dirinfo.c: Change definitions for TIFFTAG_ICCPROFILE,
  2844. TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, TIFFTAG_XMLPACKET: readcount
  2845. should be uint32 value.
  2846. 2006-01-02 Bob Friesenhahn <[email protected]>
  2847. * html/man/Makefile.am (htmldoc): Fix htmldoc rule so that it can
  2848. be used if build directory is not the same as source directory.
  2849. * man/{TIFFGetField.3tiff, TIFFSetField.3tiff}: Documented
  2850. TIFFTAG_PHOTOSHOP, TIFFTAG_RICHTIFFIPTC, and TIFFTAG_XMLPACKET,
  2851. and re-sorted tag names in alphabetical order.
  2852. 2005-12-29 Andrey Kiselev <[email protected]>
  2853. * libtiff 3.8.0 released.
  2854. 2005-12-28 Bob Friesenhahn <[email protected]>
  2855. * tools/bmp2tiff.c (main): Fixed warning regarding returning
  2856. inconsistent types from a condition.
  2857. * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
  2858. format.
  2859. * tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
  2860. 2005-12-28 Joris Van Damme <[email protected]>
  2861. * html/{index.html, support.hml, libtiff.html}: Cleaned up HTML
  2862. 2005-12-27 Andrey Kiselev <[email protected]>
  2863. * libtiff/tiffio.h: Added VC_EXTRALEAN definition before including
  2864. windows.h, to reduce the compile time.
  2865. 2005-12-26 Bob Friesenhahn <[email protected]>
  2866. * libtiff/tif_jpeg.c: Improve compilation under MinGW.
  2867. 2005-12-26 Andrey Kiselev <[email protected]>
  2868. * libtiff/{tif_dir.c, tif_dir.h, tif_dirread.c, tif_dirinfo.c}:
  2869. tiffFieldInfo and exifFieldInfo arrays definitions moved back to
  2870. tif_dirinfo.c; added _TIFFGetFieldInfo() and _TIFFGetExifFieldInfo()
  2871. private functions to retrieve FieldInfo arrays.
  2872. 2005-12-24 Bob Friesenhahn <[email protected]>
  2873. * html/build.html: Added some additional instructions for when
  2874. building using MSVC under Windows. Also fixed two HTML syntax
  2875. errors and used HTML Tidy to tidy up the HTML syntax and
  2876. formatting.
  2877. 2005-12-24 Andrey Kiselev <[email protected]>
  2878. * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_dirwrite.c,
  2879. tif_print.c, tif_getimage.c}: Make InkSet, NumberOfInks, DotRange and
  2880. StoNits tags custom.
  2881. 2005-12-23 Andrey Kiselev <[email protected]>
  2882. * libtiff/{tif_aux.c, tif_dir.c, tif_dir.h, tif_print.c}: Make
  2883. WhitePoint tag custom.
  2884. * libtiff/{tif_dir.h, tiff.h}: More EXIF tags added.
  2885. 2005-12-23 Joris Van Damme <[email protected]>
  2886. * libtiff/tiffio.h: fixed typo that potentially resulted in
  2887. redefininition of USE_WIN32_FILEIO
  2888. * libtiff/*: Added more 'dual-mode' error handling: Done TIFFWarning
  2889. calls in core LibTiff.
  2890. 2005-12-21 Andrey Kiselev <[email protected]>
  2891. * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make RichTIFFIPTC,
  2892. Photoshop and ICCProfile tags custom.
  2893. 2005-12-21 Joris Van Damme <[email protected]>
  2894. * libtiff/*, contrib/*: Added 'dual-mode' error handling, enabling
  2895. newer code to get context indicator in error handler and still
  2896. remain compatible with older code: Done TIFFError calls everywhere
  2897. except in tools
  2898. 2005-12-20 Andrey Kiselev <[email protected]>
  2899. * tools/tiffcp.c: Added many error reporting messages; fixed integer
  2900. overflow as per bug
  2901. http://bugzilla.remotesensing.org/show_bug.cgi?id=789
  2902. 2005-12-16 Frank Warmerdam <[email protected]>
  2903. * contrib/addtiffo/*: Major upgrade by Joris to support subsampled
  2904. YCbCr images in jpeg compressed TIFF files.
  2905. 2005-12-14 Andrey Kiselev <[email protected]>
  2906. * tools/tiffcp.c: Return non-zero status when reading fails (again).
  2907. 2005-12-13 Andrey Kiselev <[email protected]>
  2908. * tools/tiffcp.c: Return non-zero status when reading fails.
  2909. 2005-12-12 Andrey Kiselev <[email protected]>
  2910. * libtiff/{tif_dir.h, tiff.h}: Added more EXIF tags.
  2911. 2005-12-09 Andrey Kiselev <[email protected]>
  2912. * libtiff/{tif_dir.c, tif_dir.h, tif_print.c}: Make XMLPacket tag
  2913. custom.
  2914. * tools/tiffinfo.c: Print EXIF directory contents if exist.
  2915. * libtiff/tiff.h: Few EXIF tag numbers added.
  2916. * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c,
  2917. tiffio.h}: Preliminary support to read custom directories. New
  2918. functions: TIFFReadCustomDirectory() and TIFFReadEXIFDirectory().
  2919. 2005-12-07 Andrey Kiselev <[email protected]>
  2920. * libtiff/{tif_dirinfo.c, tif_dirread.c, tif_dir.h, tif_dir.c}:
  2921. More work to implement custom directory read support.
  2922. * libtiff/{tif_aux.c, tif_dirinfo.c, tif_dirread.c, tif_dir.h,
  2923. tif_dir.c, tif_print.c}: Make YCbCrCoefficients and ReferenceBlackWhite
  2924. tags custom.
  2925. 2005-12-05 Andrey Kiselev <[email protected]>
  2926. * libtiff/tif_dirread.c: One more workaround for broken
  2927. StripByteCounts tag. Handle the case when StripByteCounts array filled
  2928. with completely wrong values.
  2929. 2005-11-30 Andrey Kiselev <[email protected]>
  2930. * libtiff/tif_dirinfo.c: Release file descriptor in case of failure
  2931. in the TIFFOpenW() function as per bug
  2932. http://bugzilla.remotesensing.org/show_bug.cgi?id=1003
  2933. * libtiff/tif_dirinfo.c: Correctly yse bsearch() and lfind()
  2934. functions as per bug
  2935. http://bugzilla.remotesensing.org/show_bug.cgi?id=1008
  2936. 2005-11-20 Frank Warmerdam <[email protected]>
  2937. * tif_open.c, tiff.h, tiffdump.c: Incorporate preliminary support
  2938. for MS MDI format.
  2939. http://bugzilla.remotesensing.org/show_bug.cgi?id=1002
  2940. * .cvsignore: many files added, and a few update according
  2941. to suggestion of Brad HArds on tiff mailing list.
  2942. 2005-11-03 Frank Warmerdam <[email protected]>
  2943. * libtiff/libtiff.def, tiffiop.h, tiffio.h: Made TIFFFreeDirectory
  2944. public.
  2945. 2005-10-31 Andrey Kiselev <[email protected]>
  2946. * tools/fax2tiff.c: Properly calculate sizes of temporary arrays
  2947. as per bug
  2948. http://bugzilla.remotesensing.org/show_bug.cgi?id=943
  2949. * tools/fax2tiff.c: Added option '-r' to set RowsPerStrip parameter
  2950. as per bug
  2951. http://bugzilla.remotesensing.org/show_bug.cgi?id=944
  2952. * tools/tiffdump.c: Fixed typeshift and typemask arrays initialization
  2953. problem as per bug
  2954. http://bugzilla.remotesensing.org/show_bug.cgi?id=946
  2955. * tools/bmp2tiff.c: Fixed possible integer overflow error as per bug
  2956. http://bugzilla.remotesensing.org/show_bug.cgi?id=965
  2957. * libtiff/tif_dirinfo.c: Make XResolution, YResolution and
  2958. ResolutionUnit tags modifiable during write process. As per bug
  2959. http://bugzilla.remotesensing.org/show_bug.cgi?id=977
  2960. * tools/tiffsplit.c: Copy fax related fields over splitted parts
  2961. as per bug
  2962. http://bugzilla.remotesensing.org/show_bug.cgi?id=983
  2963. 2005-10-21 Frank Warmerdam <[email protected]>
  2964. * tif_dirread.c: Don't try and split single strips into "0" strips
  2965. in ChopUpSingleUncompressedStrip. This happens in some degenerate
  2966. cases (like 1x1 files with stripbytecounts==0 (gtsmall.jp2 embed tiff)
  2967. 2005-10-20 Joris Van Damme <[email protected]>
  2968. * tif_fax3.c: changed 'at scanline ...' style warning/errors
  2969. with incorrect use of tif_row, to 'at line ... of
  2970. strip/tile ...' style
  2971. 2005-10-15 Frank Warmerdam <[email protected]>
  2972. * tif_write.c: fixed setting of planarconfig as per bug report
  2973. on the mailing list from Joris.
  2974. 2005-10-07 Andrey Kiselev <[email protected]>
  2975. * configure.ac, configure, nmake.opt, libtiff/{tif_config.h,
  2976. tif_dirread.c}: Make the default strip size configurable via the
  2977. --with-default-strip-size and STRIP_SIZE_DEFAULT options.
  2978. 2005-09-30 Bob Friesenhahn <[email protected]>
  2979. * html/support.html: Fixed link to documentation on Greg Ward's
  2980. LogLuv TIFF format.
  2981. 2005-09-28 Andrey Kiselev <[email protected]>
  2982. * tools/tiffdump.c: Fixed crash when reading malformed tags.
  2983. 2005-09-20 Andrey Kiselev <[email protected]>
  2984. * tools/tiff2pdf.c: Added missed 'break' statement as per bug
  2985. http://bugzilla.remotesensing.org/show_bug.cgi?id=932
  2986. 2005-09-12 Andrey Kiselev <[email protected]>
  2987. * libtiff 3.7.4 released.
  2988. * {configure, configure.ac, Makefile.am, autogen.sh}: Applied patch
  2989. from Patrick Welche (all scripts moved in the 'config' and 'm4'
  2990. directories).
  2991. 2005-09-12 Frank Warmerdam <[email protected]>
  2992. * libtiff/tif_open.c: reintroduce seek to avoid problem on solaris.
  2993. 2005-09-05 Frank Warmerdam <[email protected]>
  2994. * libtiff/tif_dir.c: When prefreeing tv->value in TIFFSetFieldV
  2995. also set it to NULL to avoid double free when re-setting custom
  2996. string fields as per:
  2997. http://bugzilla.remotesensing.org/show_bug.cgi?id=922
  2998. 2005-08-12 Frank Warmerdam <[email protected]>
  2999. * libtiff/tif_print.c: avoid signed/unsigned warning.
  3000. * libtiff/tif_dirread.c: removed unused variable.
  3001. 2005-07-30 Frank Warmerdam <[email protected]>
  3002. * libtiff/tif_dir.c: Fixed up support for swapping "double complex"
  3003. values (128 bits as 2 64 bits doubles). GDAL gcore tests now
  3004. pass on bigendian (macosx) system.
  3005. 2005-07-28 Andrey Kiselev <[email protected]>
  3006. * libtiff/{tif_aux.c, tif_dirread.c, tif_fax3.c, tiffiop.h}: Rename
  3007. CheckMalloc() function to _TIFFCheckMalloc() and make it available
  3008. globally as an internal helper routine.
  3009. 2005-07-27 Andrey Kiselev <[email protected]>
  3010. * libtiff/tif_dir.c: More improvements in the "pass by value" part of
  3011. the custom tags handling code.
  3012. 2005-07-26 Andrey Kiselev <[email protected]>
  3013. * libtiff/{tif_dirread.c, tif_dirinfo.c}: Do not upcast BYTEs to
  3014. SHORTs in the TIFFFetchByteArray(). Remove TIFFFetchExtraSamples()
  3015. function, use TIFFFetchNormalTag() instead as per bug
  3016. http://bugzilla.remotesensing.org/show_bug.cgi?id=831
  3017. Remove TIFFFetchExtraSamples() function, use TIFFFetchNormalTag()
  3018. instead.
  3019. * libtiff/tiffconf.h.in: One more attempt to fix the AIX bug
  3020. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  3021. 2005-07-25 Andrey Kiselev <[email protected]>
  3022. * libtiff/tif_print.c: Fixed printing of the BYTE and SBYTE arrays.
  3023. * tools/tiffdump.c: Added support for TIFF_IFD datatype.
  3024. 2005-07-21 Andrey Kiselev <[email protected]>
  3025. * libtiff/tif_write.c: Do not check the PlanarConfiguration field in
  3026. the TIFFWriteCheck() function in case of single band images (as per
  3027. TIFF spec).
  3028. 2005-07-12 Andrey Kiselev <[email protected]>
  3029. * SConstruct, libtiff/SConstruct: Added the first very preliminary
  3030. support for SCons software building tool (http://www.scons.org/).
  3031. This is experimental infrastructure and it will exist along with the
  3032. autotools mechanics.
  3033. 2005-07-07 Andrey Kiselev <[email protected]>
  3034. * port/{getopt.c, strcasecmp.c, strtoul.c}: Update modules from
  3035. the NetBSD source tree (the old 4-clause BSD license changed to
  3036. the new 3-clause one).
  3037. * configure.ac, port/lfind.c, libtiff/tiffiop.h: Added lfind()
  3038. replacement module.
  3039. * port/dummy.c: Make the dummy function static.
  3040. 2005-07-06 Andrey Kiselev <[email protected]>
  3041. * tools/tiffcp.c: Fixed WhitePoint tag copying.
  3042. * libtiff/{tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_print.c}:
  3043. Make FieldOfViewCotangent, MatrixWorldToScreen, MatrixWorldToCamera,
  3044. ImageFullWidth, ImageFullLength and PrimaryChromaticities tags custom.
  3045. 2005-07-04 Andrey Kiselev <[email protected]>
  3046. * libtiff 3.7.3 released.
  3047. * configure, configure.ac: Do not use empty -R option when linking
  3048. with --enable-rpath.
  3049. 2005-07-01 Andrey Kiselev <[email protected]>
  3050. * libtiff/{tiffiop.h, tif_open.c}: Added open option 'h' to avoid
  3051. reading the first IFD when needed. As per bug
  3052. http://bugzilla.remotesensing.org/show_bug.cgi?id=875
  3053. * libtiff/tif_color.c: Better use of TIFFmin() macro to avoid side
  3054. effects.
  3055. 2005-06-23 Andrey Kiselev <[email protected]>
  3056. * tools/tiff2pdf.c: Print two characters per loop in the
  3057. t2p_write_pdf_trailer(). As per bug
  3058. http://bugzilla.remotesensing.org/show_bug.cgi?id=594
  3059. * tools/tiffgt.c: Use MacOS X OpenGL framework when appropriate. As
  3060. per bug
  3061. http://bugzilla.remotesensing.org/show_bug.cgi?id=844
  3062. * acinclude.m4: Updated to latest OpenGL test macros versions.
  3063. * libtiff/tiff.h: Use correct int size on Sparc 64bit/Sun compiler
  3064. platform. As per bug
  3065. http://bugzilla.remotesensing.org/show_bug.cgi?id=855
  3066. 2005-06-14 Andrey Kiselev <[email protected]>
  3067. * libtiff/tif_dirinfo.c: Added support for ClipPath, XClipPathUnits
  3068. and YClipPathUnits tags.
  3069. 2005-06-07 Andrey Kiselev <[email protected]>
  3070. * contrib/addtiffo/tif_ovrcache.c: Properly extract tile/strip size;
  3071. use pixel sized shift in contigous case.
  3072. 2005-06-06 Andrey Kiselev <[email protected]>
  3073. * contrib/addtiffo/{tif_overview.c, tif_ovrcache.c, tif_ovrcache.h}:
  3074. Make overviews working for contiguos images.
  3075. 2005-06-03 Andrey Kiselev <[email protected]>
  3076. * libtiff/tif_open.c: Replace runtime endianess check with the compile
  3077. time one.
  3078. * libtiff/tif_predict.c: Floating point predictor now works on
  3079. big-endian hosts.
  3080. 2005-06-01 Andrey Kiselev <[email protected]>
  3081. * libtiff/tif_dir.c: Use _TIFFsetString() function when read custom
  3082. ASCII values.
  3083. * libtiff/{tif_dirinfo.c, tif_dir.h, tif_dir.c, tif_print.c}: Make
  3084. DocumentName, Artist, HostComputer, ImageDescription, Make, Model,
  3085. Copyright, DateTime, PageName, TextureFormat, TextureWrapModes and
  3086. TargetPrinter tags custom.
  3087. * libtiff/tif_jpeg.c: Cleanup the codec state depending on
  3088. TIFF_CODERSETUP flag (to fix memry leaks).
  3089. * libtiff/tif_jpeg.c: Initialize JPEGTables array with zero after
  3090. allocating.
  3091. 2005-05-26 Andrey Kiselev <[email protected]>
  3092. * configure.ac, libtiff/Makefile.am: Added workaround for
  3093. OpenBSD/MirOS soname problem as per bug
  3094. http://bugzilla.remotesensing.org/show_bug.cgi?id=838
  3095. * libtiff/tif_dirwrite.c: Use tdir_count when calling
  3096. TIFFCvtNativeToIEEEDouble() in the TIFFWriteDoubleArray() function as
  3097. per bug
  3098. http://bugzilla.remotesensing.org/show_bug.cgi?id=845
  3099. 2005-05-25 Andrey Kiselev <[email protected]>
  3100. * tools/ppm2tiff.c: Fixed format string when read PPM file header with
  3101. the fscanf() function. As per bug
  3102. http://bugzilla.remotesensing.org/show_bug.cgi?id=861
  3103. * libtiff/{tif_dirinfo.c, tif_print.c}: TIFFFetchByteArray() returns
  3104. uint16 array when fetching the BYTE and SBYTE filds, so we should
  3105. consider result as pointer to uint16 array and not as array of chars.
  3106. As per bug
  3107. http://bugzilla.remotesensing.org/show_bug.cgi?id=831
  3108. * libtiff/tif_dir.c: More efficient custom tags retrieval as per bug
  3109. http://bugzilla.remotesensing.org/show_bug.cgi?id=830
  3110. * libtiff/tif_win32.c: Use FILE_SHARE_READ | FILE_SHARE_WRITE share
  3111. mode in CreateFile() call as per bug
  3112. http://bugzilla.remotesensing.org/show_bug.cgi?id=829
  3113. * libtiff/Makefile.am: Fixed parallel compilation of the libtiff and
  3114. libtiffxx libraries as per bug
  3115. http://bugzilla.remotesensing.org/show_bug.cgi?id=826
  3116. * contrib/addtiffo/{tif_overview.c, tif_ovrcache.h}: Sinchronized with
  3117. GDAL.
  3118. 2005-05-23 Frank Warmerdam <[email protected]>
  3119. * libtiff/tif_jpeg.c: Substantial fix for addtiffo problems with
  3120. JPEG encoded TIFF files. Pre-allocate lots of space for jpegtables
  3121. in directory.
  3122. 2005-05-22 Frank Warmerdam <[email protected]>
  3123. * libtiff/tif_dirread.c: Changed the code that computes
  3124. stripbytecount[0] if it appears bogus to ignore if stripoffset[0] is
  3125. zero. This is a common case with GDAL indicating a "null" tile/strip.
  3126. 2005-05-17 Andrey Kiselev <[email protected]>
  3127. * tools/tiffsplit.c: Check for JPEGTables tag presence before copying.
  3128. 2005-05-06 Frank Warmerdam <[email protected]>
  3129. * libtiff/tif_dirread.c: Applied similar change to
  3130. TIFFFetchPerSampleLongs and TIFFFetchPerSampleAnys.
  3131. http://bugzilla.remotesensing.org/show_bug.cgi?id=843
  3132. * libtiff/tif_jpeg.c: added LIB_JPEG_MK1 support in JPEGDecodeRaw().
  3133. 2005-05-06 Andrey Kiselev <[email protected]>
  3134. * tools/tiff2pdfr.c, man/tiff2pdf.1: Calculate the tile width properly;
  3135. added new option '-b' to use interpolation in output PDF files (Bruno
  3136. Ledoux).
  3137. 2005-05-05 Frank Warmerdam <[email protected]>
  3138. * libtiff/tif_dirread.c: Ensure that broken files with too many
  3139. values in PerSampleShorts work ok instead of crashing.
  3140. http://bugzilla.remotesensing.org/show_bug.cgi?id=843
  3141. 2005-04-27 Andrey Kiselev <[email protected]>
  3142. * tools/tiffdither.c: Copy the PhotometricInterpretation tag from the
  3143. input file.
  3144. 2005-04-15 Andrey Kiselev <[email protected]>
  3145. * libtiff/tif_predict.c: Added ability to encode floating point
  3146. predictor, as per TIFF Technical Note 3.
  3147. 2005-04-14 Andrey Kiselev <[email protected]>
  3148. * libtiff/{tif_predict.h, tif_predict.c}: Added ability to decode
  3149. floating point predictor, as per TIFF Technical Note 3.
  3150. 2005-04-13 Andrey Kiselev <[email protected]>
  3151. * libtiff/{tiffio.h, tiffiop.h, tif_dir.c, tif_read.c, tif_swab.c}:
  3152. Added _TIFFSwab24BitData() and TIFFSwabArrayOfLong() functions used to
  3153. swap 24-bit floating point values.
  3154. * libtiff/tiff.h: Added predictor constants.
  3155. 2005-04-08 Andrey Kiselev <[email protected]>
  3156. * libtiff/{tiffiop.h, tif_dir.c}: Use uint32 type for appropriate
  3157. values in _TIFFVSetField() function. Inspired by the bug
  3158. http://bugzilla.remotesensing.org/show_bug.cgi?id=816
  3159. * man/TIFFSetField.3tiff: Fixed definition of the TIFFTAG_INKNAMES tag
  3160. as per bug
  3161. http://bugzilla.remotesensing.org/show_bug.cgi?id=816
  3162. 2005-03-30 Andrey Kiselev <[email protected]>
  3163. * libtiff/tif_open.c: Do not read header in case the output file
  3164. should be truncated (Ron).
  3165. * libtiff/{tif_dirinfo.c, tif_config.h.vc}: Use lfind() instead
  3166. of bsearch() in _TIFFFindFieldInfoByName() function (Ron).
  3167. * libtiff/{tiff.h, tif_dirinfo.c}: Fixes in EXIF tag ordering (Ron).
  3168. 2005-03-22 Andrey Kiselev <[email protected]>
  3169. * configure.ac, libtiff/Makefile.am: Use libtool machinery to pass
  3170. rpath option.
  3171. 2005-03-21 Andrey Kiselev <[email protected]>
  3172. * libtiff/{tif_dir.c, tif_print.c}: Handle all data types in custom
  3173. tags.
  3174. 2005-03-18 Andrey Kiselev <[email protected]>
  3175. * libtiff/dirinfo.c: Added DNG tags.
  3176. * libtiff/{tif_dir.c, tif_print.c}: More improvements in custom tag
  3177. handling code.
  3178. * libtiff/tiff.h: More comments; added missed DNG tag (LensInfo);
  3179. added DNG 1.1.0.0 tags.
  3180. * tools/tif2pdf.c: Fixed problem with alpha channel handling as per
  3181. bug
  3182. http://bugzilla.remotesensing.org/show_bug.cgi?id=794
  3183. * man/TIFFGetField.3tiff: Add a note about autoregistered tags.
  3184. 2005-03-17 Andrey Kiselev <[email protected]>
  3185. * nmake.opt: Build with Win32 CRT library by default.
  3186. * tools/tiff2ps.c: Fixed typo in page size handling code.
  3187. * libtiff/{tif_dir.c, tif_print.c}: Support for custom tags, passed
  3188. by value.
  3189. * libtiff/{tiff.h, tif_dirinfo.c, tiffiop.h}: Added EXIF related tags.
  3190. 2005-03-15 Andrey Kiselev <[email protected]>
  3191. * libtiff 3.7.2 released.
  3192. 2005-03-09 Andrey Kiselev <[email protected]>
  3193. * tools/tiffcmp.c: Added ability to compare the 32-bit integer and
  3194. floating point data; complain on unsupported bit depths.
  3195. 2005-03-05 Andrey Kiselev <[email protected]>
  3196. * tif_stream.cxx: Use ios namespace instead of ios_base to support
  3197. GCC 2.95.
  3198. * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied correct patch from
  3199. Lee Howard for HylaFax DCS tag
  3200. (see http://bugzilla.remotesensing.org/show_bug.cgi?id=771)
  3201. 2005-03-04 Andrey Kiselev <[email protected]>
  3202. * configure, configure.ac: Use -rpath option instead of -R as per bug
  3203. http://bugzilla.remotesensing.org/show_bug.cgi?id=732
  3204. * libtiff/{tiff.h, tif_fax3.tif, tif_jpeg.c}: Applied patch from Lee
  3205. Howard to support a new tag TIFFTAG_FAXDCS (34911) used in HylaFax
  3206. software. As per bug
  3207. http://bugzilla.remotesensing.org/show_bug.cgi?id=771
  3208. * nmake.opt, html/build.html: Add more comments, change the config
  3209. file organization a bit as per bug
  3210. http://bugzilla.remotesensing.org/show_bug.cgi?id=764
  3211. * tools/tiffcmp.c: Use properly sized buffer in short arrays comparison
  3212. as per bug
  3213. http://bugzilla.remotesensing.org/show_bug.cgi?id=785
  3214. 2005-03-03 Andrey Kiselev <[email protected]>
  3215. * libtiff/tif_dirread.c: More logic to guess missed strip size as per
  3216. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=705
  3217. * tools/fax2ps.c: Replace insecure mktemp() function with the
  3218. tmpfile() as per bug
  3219. http://bugzilla.remotesensing.org/show_bug.cgi?id=786
  3220. 2005-02-04 Andrey Kiselev <[email protected]>
  3221. * libtiff/tiff.h: Changed the int8 definition to be always signed char
  3222. as per bug
  3223. http://bugzilla.remotesensing.org/show_bug.cgi?id=727
  3224. * libtiff/tiffio.h: Move TIFFOpenW() function into the extern "C"{}
  3225. block as per bug
  3226. http://bugzilla.remotesensing.org/show_bug.cgi?id=763
  3227. 2005-02-03 Bob Friesenhahn <[email protected]>
  3228. * tools/tiffgt.c: Fix problem on big-endian CPUs so that images
  3229. display more correctly. Images display brighter than they should
  3230. on a Sun workstation.
  3231. 2005-02-03 Andrey Kiselev <[email protected]>
  3232. * libtiff/tif_dirread.c: Estimate strip size in case of wrong or
  3233. suspicious values in the tags. As per bugs
  3234. http://bugzilla.remotesensing.org/show_bug.cgi?id=705
  3235. and
  3236. http://bugzilla.remotesensing.org/show_bug.cgi?id=320
  3237. * tools/tiff2ps.c: Fixed problem with page sizes as per bug
  3238. http://bugzilla.remotesensing.org/show_bug.cgi?id=742
  3239. 2005-01-31 Bob Friesenhahn <[email protected]>
  3240. * libtiff/tiff.h (TIFFTAG_TILEWIDTH): Corrected description.
  3241. (TIFFTAG_TILELENGTH): Corrected description.
  3242. 2005-01-30 Andrey Kiselev <[email protected]>
  3243. * configure.ac: Fixes for --with-docdir option as per bug
  3244. http://bugzilla.remotesensing.org/show_bug.cgi?id=759
  3245. * libtiff/tif_open.c: Remove unnesessary TIFFSeekFile() call as per
  3246. bug
  3247. http://bugzilla.remotesensing.org/show_bug.cgi?id=756
  3248. * libtiff/tif_stream.cxx: Fixes for C++ stream interface from
  3249. Michael Rinne and Edward Lam.
  3250. 2005-01-15 Andrey Kiselev <[email protected]>
  3251. * configure.ac: Make the documentation directory location configurable
  3252. via the --with-docdir option (as suggested by Jeremy C. Reed).
  3253. * libtiff/tif_color.c: Use double as the second argument of pow()
  3254. function in TIFFCIELabToRGBInit(). As per bug
  3255. http://bugzilla.remotesensing.org/show_bug.cgi?id=741
  3256. * libtiff/tif_pixarlog.c: Avoid warnings when converting float to
  3257. integer as per bug
  3258. http://bugzilla.remotesensing.org/show_bug.cgi?id=740
  3259. * libtiff/tif_getimage.c: Always fill the error message buffer in
  3260. TIFFRGBAImageBegin() as per bug
  3261. http://bugzilla.remotesensing.org/show_bug.cgi?id=739
  3262. 2005-01-12 Andrey Kiselev <[email protected]>
  3263. * libtiff/tif_jpeg.c: Added ability to read/write the fax specific
  3264. TIFFTAG_FAXRECVPARAMS, TIFFTAG_FAXSUBADDRESS and TIFFTAG_FAXRECVTIME
  3265. tags as per bug
  3266. http://bugzilla.remotesensing.org/show_bug.cgi?id=736
  3267. * libtiff/tif_win32.c: Fixed message formatting in functions
  3268. Win32WarningHandler() and Win32ErrorHandler() as per bug
  3269. http://bugzilla.remotesensing.org/show_bug.cgi?id=735
  3270. * tools/tiff2ps.c: Interpret the -w and -h options independently. As
  3271. per bug
  3272. http://bugzilla.remotesensing.org/show_bug.cgi?id=689
  3273. 2005-01-11 Andrey Kiselev <[email protected]>
  3274. * libtiff/tiffio.h: Move the color conversion routines in the 'extern
  3275. "C"' section as per bug
  3276. http://bugzilla.remotesensing.org/show_bug.cgi?id=727
  3277. * libtiff/tiff.h: Restore back the workaround for AIX Visual Age C
  3278. compiler to avoid double definition of BSD types as per bug
  3279. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  3280. * libtiff/Makefile.am: Place the C++ stream API in the separate
  3281. library called libtiffxx to avoid unneeded dependencies. Probably
  3282. there will be more C++ API in the future. As per bugs
  3283. http://bugzilla.remotesensing.org/show_bug.cgi?id=733
  3284. and
  3285. http://bugzilla.remotesensing.org/show_bug.cgi?id=730
  3286. 2005-01-05 Andrey Kiselev <[email protected]>
  3287. * tools/tiffdump.c: Fixed problem when read broken TIFFs with the
  3288. wrong tag counts (Dmitry V. Levin, Martin Pitt).
  3289. * configure.ac: Replace --disable-c++ with the --disable-cxx option as
  3290. per bug http://bugzilla.remotesensing.org/show_bug.cgi?id=730
  3291. 2004-12-25 Andrey Kiselev <[email protected]>
  3292. * libtiff/tif_getimage.c: More fixes for multiple-alpha-channelled
  3293. RGB-images as per bug
  3294. http://bugzilla.remotesensing.org/show_bug.cgi?id=713
  3295. * tools/tiffset.c: Convert character option to integer value as per
  3296. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=725
  3297. 2004-12-20 Andrey Kiselev <[email protected]>
  3298. * libtiff 3.7.1 released.
  3299. * html/tiffset.1.html: Add missed manual page as per bug
  3300. http://bugzilla.remotesensing.org/show_bug.cgi?id=678
  3301. * libtiff/tiff.h: Revert back libtiff data type definitions as per
  3302. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=687
  3303. 2004-12-19 Andrey Kiselev <[email protected]>
  3304. * libtiff/tif_dirread.c: Do not forget about TIFF_VARIABLE2 when
  3305. checking for tag count in TIFFReadDirectory() function. As per bug
  3306. http://bugzilla.remotesensing.org/show_bug.cgi?id=713
  3307. * libtiff/{tif_dirread.c, tif_fax3.c}: More argument checking in
  3308. CheckMallock() function.
  3309. * libtiff/tif_getimage.c: Support for multiple-alpha-channelled
  3310. RGB-images as per bug
  3311. http://bugzilla.remotesensing.org/show_bug.cgi?id=718
  3312. 2004-12-15 Frank Warmerdam <[email protected]>
  3313. * libtiff/tif_getimage.c: #define A1 bracketing for clean build on
  3314. SunPro compiler.
  3315. 2004-12-11 Bob Friesenhahn <[email protected]>
  3316. * autogen.sh: aclocal and autoheader should be executed after
  3317. libtoolize. Also add '-I .' to aclocal invocation to check
  3318. current directory for macros.
  3319. 2004-12-10 Andrey Kiselev <[email protected]>
  3320. * libtiff/tif_dirwrite.c: Always write TIFFTAG_SUBIFD using LONG type
  3321. as per bugs
  3322. http://bugzilla.remotesensing.org/show_bug.cgi?id=703
  3323. and
  3324. http://bugzilla.remotesensing.org/show_bug.cgi?id=704
  3325. 2004-12-04 Andrey Kiselev <[email protected]>
  3326. * nmake.opt: Link with the user32.lib in windowed mode. As per bug
  3327. http://bugzilla.remotesensing.org/show_bug.cgi?id=697
  3328. * libtiff/tif_win32.c: Use char* strings instead of TCHAR in windowed
  3329. mode as per bug
  3330. http://bugzilla.remotesensing.org/show_bug.cgi?id=697
  3331. * libtiff/tif_config.in.vc: Removed unneded definitions for
  3332. read/open/close/lseek functions to fix the
  3333. http://bugzilla.remotesensing.org/show_bug.cgi?id=680
  3334. 2004-12-03 Andrey Kiselev <[email protected]>
  3335. * libtiff/{tif_dir.c, tif_dirread.c}: Remove TIFFReassignTagToIgnore()
  3336. call from the TIFFReadDirectory() function. TIFFReassignTagToIgnore
  3337. must be removed in the future, as it was never used properly. As per
  3338. bug
  3339. http://bugzilla.remotesensing.org/show_bug.cgi?id=692
  3340. 2004-11-30 Bob Friesenhahn <[email protected]>
  3341. * libtiff/tif_jpeg.c: Added a work-around in order to allow
  3342. compilation with the heavily modified version of libjpeg delivered
  3343. with Cygwin.
  3344. 2004-11-29 Andrey Kiselev <[email protected]>
  3345. * libtiff/tif_dir.c: Properly handle tags, which have the uint32
  3346. counts. As per bug
  3347. http://bugzilla.remotesensing.org/show_bug.cgi?id=693
  3348. * tools/fax2ps.c: Be able to extract the first page (#0). As per bug
  3349. http://bugzilla.remotesensing.org/show_bug.cgi?id=690
  3350. 2004-11-28 Andrey Kiselev <[email protected]>
  3351. * libtiff/tif_unix.c: Make UNIX module compilable (and usable)
  3352. on Windows.
  3353. * nmake.opt: Add missed DLLNAME variable.
  3354. 2004-11-26 Frank Warmerdam <[email protected]>
  3355. * libtiff/makefile.vc: make it easier to rename the libtiff DLL.
  3356. 2004-11-24 Andrey Kiselev <[email protected]>
  3357. * man/libtiff.3tiff: Improvements in the "LIST OF ROUTINES" table as
  3358. per bug
  3359. http://bugzilla.remotesensing.org/show_bug.cgi?id=545
  3360. * man/tiffset.1: Added manual page for tiffset tool written by Jay
  3361. Berkenbilt. As per bug
  3362. http://bugzilla.remotesensing.org/show_bug.cgi?id=678
  3363. 2004-11-23 Frank Warmerdam <[email protected]>
  3364. * libtiff/tif_error.c: fixed TIFFerror call to be TIFFError.
  3365. 2004-11-21 Frank Warmerdam <[email protected]>
  3366. * html/document.html: Updated Adobe web links as per email from Joris.
  3367. 2004-11-21 Andrey Kiselev <[email protected]>
  3368. * libtiff/{tiffio.hxx, tiffio.h}: C++ stream interface moved to new
  3369. file tiffio.hxx. We don't have any C++ in tiffio.h, those who want to
  3370. use C++ streams should #include <tiffio.hxx>.
  3371. 2004-11-13 Andrey Kiselev <[email protected]>
  3372. * libtiff/tiff.h: Added Adobe DNG tags.
  3373. * libtiff/tif_win32.c: Typo fixed.
  3374. * libtiff/{tif_stream.cxx, tiffio.h}: C++ stream interface updated to
  3375. be compliant with the latest standard. Appropriate additions in
  3376. makefiles now completed.
  3377. 2004-11-11 Andrey Kiselev <[email protected]>
  3378. * tools/tiffset.c, libtiff/tif_dirinfo.c: Properly handle the
  3379. different tag types. As per bug
  3380. http://bugzilla.remotesensing.org/show_bug.cgi?id=600
  3381. 2004-11-10 Andrey Kiselev <[email protected]>
  3382. * libtiff/tif_aux.c: Set the appropriate ReferenceBlackWhite array for
  3383. YCbCr image which lacks that tag (noted by Hans Petter Selasky).
  3384. 2004-11-09 Andrey Kiselev <[email protected]>
  3385. * libtiff/tif_color.c: Division by zero fixed (Hans Petter Selasky).
  3386. 2004-11-07 Andrey Kiselev <[email protected]>
  3387. * libtiff/{tif_stream.cxx, tiffio.h}: Added C++ stream interface
  3388. contributed by Edward Lam (see
  3389. http://bugzilla.remotesensing.org/show_bug.cgi?id=654 for details).
  3390. Though no changes in any makefiles yet.
  3391. 2004-11-05 Frank Warmerdam <[email protected]>
  3392. * libtiff/tif_open.c: Removed close() in TIFFClientOpen() if file
  3393. is bad. This is the callers responsibility.
  3394. http://bugzilla.remotesensing.org/show_bug.cgi?id=651
  3395. 2004-11-05 Andrey Kiselev <[email protected]>
  3396. * libtiff/{tiffio.h, tif_win32.c, libtiff.def}: Added TIFFOpenW()
  3397. function to work with the double byte strings (used to represent
  3398. filenames in some locales). As per bug
  3399. http://bugzilla.remotesensing.org/show_bug.cgi?id=625
  3400. * libtiff/tif_dirread.c: Fixed problem when fetching BitsPerSample and
  3401. Compression tags of type LONG from broken TIFFS as per bug
  3402. http://bugzilla.remotesensing.org/show_bug.cgi?id=662
  3403. * libtiff/tif_dirinfo.c: Fixed definition for TIFFTAG_RICHTIFFIPTC,
  3404. the writecount should have uint32 type. As per bug
  3405. http://bugzilla.remotesensing.org/show_bug.cgi?id=662
  3406. * libtiff/tif_write.c: Fixed wrong if() statement in
  3407. TIFFAppendToStrip() function as per bug
  3408. http://bugzilla.remotesensing.org/show_bug.cgi?id=660
  3409. 2004-11-04 Andrey Kiselev <[email protected]>
  3410. * libtiff/tif_dirinfo.c: Change definition for TIFFTAG_EXTRASAMPLES
  3411. field. The caller should supply a count when setting this field. As
  3412. per bug
  3413. http://bugzilla.remotesensing.org/show_bug.cgi?id=648
  3414. * libtiff/{tif_jpeg.c, tif_ojpeg.c}: TIFFTAG_JPEGTABLES should have
  3415. uint32 count. Use this type everywhere.
  3416. 2004-11-03 Frank Warmerdam <[email protected]>
  3417. * libtiff/tif_next.c: avoid use of u_long and u_char types. Bug 653.
  3418. 2004-11-02 Frank Warmerdam <[email protected]>
  3419. * tools/tiff2rgba.c: removed extra newlines in usage message.
  3420. 2004-10-30 Andrey Kiselev <[email protected]>
  3421. * libtiff/tif_dirwrite.c: Improvements in tag writing code.
  3422. * tools/tiff2ps.c: Fixed wrong variable data type when read Position
  3423. tags (Tristan Hill).
  3424. 2004-10-30 Frank Warmerdam <[email protected]>
  3425. * libtiff/tiffiop.h: added fallback definition of assert() if we
  3426. don't have assert.h.
  3427. 2004-10-29 Andrey Kiselev <[email protected]>
  3428. * libtiff/tif_fax3.c: Fixed case with the wrong decode routines
  3429. choosing when the incorrect Group4Options tag set. As per bug
  3430. http://bugzilla.remotesensing.org/show_bug.cgi?id=323
  3431. * libtiff/tif_dirwrite.c: Fixed problem with passing count variable of
  3432. wrong type when writing the TIFF_BYTE/TIFF_SBYTE tags in
  3433. TIFFWriteNormalTag().
  3434. 2004-10-28 Andrey Kiselev <[email protected]>
  3435. * tools/tiff2ps.c: Fixed wrong variable data type when read Resolution
  3436. tags (Peter Fales).
  3437. * tools/{bmp2tiff.c, raw2tiff.c}: Get rid of stream I/O functions.
  3438. 2004-10-28 Frank Warmerdam <[email protected]>
  3439. * tools/tiff2pdf.c: added casts to avoid warnings.
  3440. * libtiff/libtiff.def: Added several more entry points required
  3441. to link fax2tiff.c against the DLL on windows.
  3442. 2004-10-27 Andrey Kiselev <[email protected]>
  3443. * configure, configure.ac: Added --enable-rpath option to embed linker
  3444. paths into library binary.
  3445. 2004-10-26 Andrey Kiselev <[email protected]>
  3446. * tools/tiffset.c: Check the malloc return value (Dmitry V. Levin).
  3447. * libtiff/{tif_strip.c, tif_tile.c}: Zero division problem fixed
  3448. (Vladimir Nadvornik, Dmitry V. Levin).
  3449. 2004-10-16 Andrey Kiselev <[email protected]>
  3450. * libtiff 3.7.0 released.
  3451. 2004-10-15 Bob Friesenhahn <[email protected]>
  3452. * libtiff/tif_jpeg.c: There seems to be no need to include stdio.h
  3453. in this file so its inclusion is removed. Including stdio.h
  3454. sometimes incurs an INT32 typedef conflict between MinGW's
  3455. basetsd.h and libjpeg's jmorecfg.h.
  3456. 2004-10-15 Andrey Kiselev <[email protected]>
  3457. * man/bmp2tiff.1: Added manual page for bmp2tiff utility.
  3458. 2004-10-13 Bob Friesenhahn <[email protected]>
  3459. * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
  3460. conflict noticed under MinGW.
  3461. * ltmain.sh: Fix for MinGW compilation.
  3462. 2004-10-13 Frank Warmerdam <[email protected]>
  3463. * man/tiffsplit.1: Fixed to indicate using aaa-zzz, not aa-zz.
  3464. http://bugzilla.remotesensing.org/show_bug.cgi?id=635
  3465. 2004-10-12 Andrey Kiselev <[email protected]>
  3466. * libtiff/{tif_dirread.c, tif_jpeg.c, tif_luv.c, tif_ojpeg.c,
  3467. tif_pixarlog.c, tif_write.c}: Handle the zero strip/tile sizes
  3468. properly (Dmitry V. Levin, Marcus Meissner).
  3469. 2004-10-11 Andrey Kiselev <[email protected]>
  3470. * libtiff/tif_dirinfo.c: Type of the TIFFTAG_SUBIFD field changed
  3471. to TIFF_IFD.
  3472. 2004-10-10 Andrey Kiselev <[email protected]>
  3473. * tools/bmp2tif.c: Check the space allocation results.
  3474. 2004-10-09 Andrey Kiselev <[email protected]>
  3475. * libtiff/tif_dir.c: Initialize td_tilewidth and td_tilelength fields
  3476. of the TIFFDirectory structure with the 0 instead of -1 to avoid
  3477. confusing integer overflows in TIFFTileRowSize() for striped images.
  3478. * tools/tiff2pdf.c: Fixed TransferFunction tag handling reported
  3479. by Ross A. Finlayson.
  3480. * libtiff/tif_dir.c: Fixed custom tags handling as per bug
  3481. http://bugzilla.remotesensing.org/show_bug.cgi?id=629
  3482. 2004-10-08 Frank Warmerdam <[email protected]>
  3483. * libtiff/tif_dirinfo.c: Fix bug with tif_foundfield and reallocation
  3484. of tif_fieldinfo.
  3485. http://bugzilla.remotesensing.org/show_bug.cgi?id=630
  3486. 2004-10-04 Bob Friesenhahn <[email protected]>
  3487. * contrib/iptcutil/README: Added the missing README which goes
  3488. along with iptcutil.
  3489. 2004-10-03 Andrey Kiselev <[email protected]>
  3490. * libtiff/tif_compress.c: Improved error reporting in
  3491. TIFFGetConfiguredCODECs() (Dmitry V. Levin).
  3492. 2004-10-02 Andrey Kiselev <[email protected]>
  3493. * libtiff 3.7.0beta2 released.
  3494. * libtiff/{tif_aux.c, tif_compress.c, tif_dirinfo.c, tif_dirwrite.c,
  3495. tif_extension.c, tif_fax3.c, tif_luv.c, tif_packbits.c,
  3496. tif_pixarlog.c, tif_write.c}: Added checks for failed memory
  3497. allocations and integer overflows (Dmitry V. Levin).
  3498. * libtiff/tiff.h: Missed TIFF_BIGTIFF_VERSION constant added.
  3499. 2004-10-01 Frank Warmerdam <[email protected]>
  3500. * libtiff/tif_open.c: added a more informative message if a BigTIFF
  3501. file is opened.
  3502. 2004-09-30 Frank Warmerdam <[email protected]>
  3503. * libtiff/tif_dirinfo.c: changed type of XMLPacket (tag 700) to
  3504. TIFFTAG_BYTE instead of TIFFTAG_UNDEFINED to comply with the info
  3505. in the Adobe XMP Specification.
  3506. 2004-09-29 Andrey Kiselev <[email protected]>
  3507. * libtiff/{tif_jpeg.c, tif_pixarlog.c}: Use _TIFFmemset() instead of
  3508. memset().
  3509. * libtiff/{tif_dirread.c, tif_strip.c, tif_tile.c}: Applied patches
  3510. from Dmitry V. Levin to fix possible integer overflow problems.
  3511. 2004-09-28 Andrey Kiselev <[email protected]>
  3512. * libtiff/tif_getimage.c: Check for allocated buffers before clearing
  3513. (Dmitry V. Levin).
  3514. 2004-09-26 Andrey Kiselev <[email protected]>
  3515. * libtiff/{tif_dir.h, tif_dir.c, tif_dirread.c, tif_write.c}:
  3516. Optimize checking for the strip bounds.
  3517. * libtiff/{tif_dirread.c, tif_strip.c}: TIFFScanlineSize() and
  3518. TIFFRasterScanlineSize() functions report zero in the case of integer
  3519. overflow now. Properly handle this case in TIFFReadDirectory()
  3520. (patches from Dmitry V. Levin).
  3521. 2004-09-25 Andrey Kiselev <[email protected]>
  3522. * libtiff/{tif_dirinfo.c, tif_strip.c, tif_tile.c}: Use TIFFhowmany8()
  3523. macro where appropriate.
  3524. * tools/tiff2bw.c: Write ImageWidth/Height tags to output file, as
  3525. noted by Gennady Khokhorin.
  3526. * libtiff/tif_dirread.c: Always check the return values, returned
  3527. by the _TIFFmalloc() (Dmitry V. Levin).
  3528. * libtiff/tif_dir.c: Fixed possible integer overflow _TIFFset*Array()
  3529. functions (Dmitry V. Levin).
  3530. * libtiff/{tif_dirread.c, tif_dir.c, tif_write.c}:
  3531. Potential memory leak fixed in TIFFReadDirectory(), _TIFFVSetField(),
  3532. TIFFGrowStrips() (found by Dmitry V. Levin).
  3533. 2004-09-24 Andrey Kiselev <[email protected]>
  3534. * libtiff/{tiffio.h, tif_compress.c}: Added TIFFGetConfiguredCODECs()
  3535. to get the list of configured codecs.
  3536. * libtiff/{tiffiop.h, tif_dirread.c}: More overflow fixes from
  3537. Dmitry V. Levin.
  3538. 2004-09-23 Andrey Kiselev <[email protected]>
  3539. * libtiff/tif_dirread.c: Applied patch from Dmitry V. Levin to fix
  3540. possible integer overflow in CheckMalloc() function.
  3541. 2004-09-22 Andrey Kiselev <[email protected]>
  3542. * libtiff/{tiffiop.h, tif_strip.c}: Use TIFFhowmany8() macro instead
  3543. of plain TIFFhowmany() where appropriate.
  3544. 2004-09-21 Andrey Kiselev <[email protected]>
  3545. * libtiff/tif_getimage.c: Initialize arrays after space allocation.
  3546. 2004-09-19 Andrey Kiselev <[email protected]>
  3547. * libtiff 3.7.0beta released.
  3548. * libtiff/{tif_luv.c, tif_next.c, tif_thunder.c}: Several buffer
  3549. overruns fixed, as noted by Chris Evans.
  3550. 2004-09-14 Bob Friesenhahn <[email protected]>
  3551. * commit: Added a script to make it more convenient to commit
  3552. updates. The CVS commit message is extracted from this ChangeLog
  3553. file.
  3554. 2004-09-14 Andrey Kiselev <[email protected]>
  3555. * configure.ac, configure, aclocal.m4, libtiff/{mkspans.c, tif_fax3.c,
  3556. tif_getimage.c, tif_luv.c, tif_lzw.c, tif_ojpeg.c, tif_packbits.c,
  3557. tif_predict.c, tif_read.c, tif_swab.c, tif_thunder.c, tif_write.c,
  3558. tif_dir.c, tif_dirread.c, tif_dirwrite.c, tif_jpeg.c, tif_dirinfo.c,
  3559. tif_vms.c, tif_print.c, tif_strip.c, tif_tile.c, tif_dir.h,
  3560. tif_config.h.in, tiffiop.h}:
  3561. Get rid of BSD data types (u_char, u_short, u_int, u_long).
  3562. 2004-09-13 Bob Friesenhahn <[email protected]>
  3563. * libtiff/tiff.h: Fix column tagging. Reference current Adobe XMP
  3564. specification. Reference libtiff bug tracking system to submit
  3565. private tag additions.
  3566. 2004-09-12 Bob Friesenhahn <[email protected]>
  3567. * tools/tiffgt.c: Include "tif_config.h".
  3568. * configure.ac: Use AM_PROG_CC_C_O since it is now needed to build
  3569. tiffgt. This results in the 'compile' script being added to the
  3570. project.
  3571. * tools/Makefile.am (tiffgt_CFLAGS): Add extra build options
  3572. required to find OpenGL headers necessary to build tiffgt. Also
  3573. ensure that the libtiff that we built is used rather than some other
  3574. libtiff installed on the system.
  3575. 2004-09-12 Andrey Kiselev <[email protected]>
  3576. * configure.ac, acinclude.m4, aclocal.m4: New macros to detect GLUT
  3577. libraries.
  3578. 2004-09-11 Bob Friesenhahn <[email protected]>
  3579. * configure.ac: Pass library configuration defines via
  3580. tif_config.h rather than extending CPPFLAGS. Configure a
  3581. libtiff/tiffconf.h in order to satisfy application requirements
  3582. (not used by library build). Do not define _POSIX_C_SOURCE=2 since
  3583. this causes failure to build on systems which properly respect
  3584. this request.
  3585. * libtiff/tiffconf.h.in: New file to act as the template for the
  3586. configured tiffconf.h
  3587. * libtiff/files.lst (HDRS): Install the configured tiffconf.h.
  3588. 2004-09-10 Frank Warmerdam <[email protected]>
  3589. * html/internals.html: Split off a discussion of adding new tags
  3590. into addingtags.html.
  3591. 2004-09-10 Andrey Kiselev <[email protected]>
  3592. * test/{ascii_tag.c, long_tag.c}: Preliminary test suite added.
  3593. * tools/tiff2pdf.c: Fixed reading TransferFunction tag as per bug
  3594. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  3595. * libtiff/tif_print.c: Fixes in InkNames and NumberOfInks reporting.
  3596. * libtiff/tif_dirread.c: Don't reject to read tags of the
  3597. SamplesPerPixel size when the tag count is greater than number of
  3598. samples as per bug
  3599. http://bugzilla.remotesensing.org/show_bug.cgi?id=576
  3600. * libtiff/tiff.h: Use _TIFF_DATA_TYPEDEFS_ guardian to switch off
  3601. defining int8/uint8/... etc. types. As per bug
  3602. http://bugzilla.remotesensing.org/show_bug.cgi?id=607
  3603. 2004-09-09 Frank Warmerdam <[email protected]>
  3604. * tools/tiff2ps.c, tools/tiffmedian.c: fiddle with include files
  3605. to avoid compile warnings about getopt() and a few other things.
  3606. 2004-09-02 Andrey Kiselev <[email protected]>
  3607. * libtiff/tif_dirread.c: Use memcpy() function instead of pointer
  3608. assigning magic in TIFFFetchFloat().
  3609. 2004-09-01 Andrey Kiselev <[email protected]>
  3610. * libtiff/{tiffio.h, tif_open.c}: Applied patches from Joris Van Damme
  3611. to avoid requirement for tiffiop.h inclusion in some applications. See
  3612. here
  3613. http://www.asmail.be/msg0054799560.html
  3614. for details.
  3615. * tools/fax2tiff.c: Use the new functions in the code.
  3616. 2004-08-25 Andrey Kiselev <[email protected]>
  3617. * tools/tiff2pdf.c: Initialize arrays properly.
  3618. * tools/tiff2ps.c: Avoid zero division in setupPageState() function;
  3619. properly initialize array in PSDataBW().
  3620. 2004-08-24 Andrey Kiselev <[email protected]>
  3621. * tools/tiff2pdf.c: More fixes for bug
  3622. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  3623. from Ross Finlayson.
  3624. 2004-08-23 Andrey Kiselev <[email protected]>
  3625. * tools/tiff2ps.c: Fixed problem with uninitialized values.
  3626. * libtiff/tif_dir.c: Initialize tif_foundfield data member in the
  3627. TIFFDefaultDirectory() (in addition to 2004-08-19 fix).
  3628. * tools/tiff2pdf.c: Fixed a bunch of problems as per bug
  3629. http://bugzilla.remotesensing.org/show_bug.cgi?id=590
  3630. 2004-08-20 Andrey Kiselev <[email protected]>
  3631. * tools/tiff2pdf.c: Applied patch from Ross Finlayson that checks
  3632. that the input file has compression, photometric interpretation,
  3633. etcetra, tags or if not than a more descriptive error is returned.
  3634. * libtiff/tif_dirread.c: Fixed problem in TIFFReadDirectory() in the
  3635. code, responsible for tag data type checking.
  3636. 2004-08-19 Andrey Kiselev <[email protected]>
  3637. * libtiff/{tiffiop.h, tif_dirinfo.c}: Fixed problem with the static
  3638. variable as per bug
  3639. http://bugzilla.remotesensing.org/show_bug.cgi?id=593
  3640. 2004-08-16 Andrey Kiselev <[email protected]>
  3641. * tools/ras2tiff.c: Fixed issue with missed big-endian checks as per
  3642. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=586
  3643. 2004-08-01 Andrey Kiselev <[email protected]>
  3644. * libtiff/{tif_config.h.in, tif_config.h.vc}: config.h.in and
  3645. config.h.vc files renamed in the tif_config.h.in and tif_config.h.vc.
  3646. 2004-07-24 Andrey Kiselev <[email protected]>
  3647. * libtiff/tif_lzw.c: LZW compression code is merged back from the
  3648. separate package. All libtiff tools are updated to not advertise an
  3649. abcence of LZW support.
  3650. 2004-07-12 Andrey Kiselev <[email protected]>
  3651. * libtiff/tiffio.h: Revert thandle_t back to void* type.
  3652. 2004-07-11 Andrey Kiselev <[email protected]>
  3653. * libtiff/{tif_read.c, tif_tile.c, tif_strip.c}: Fixes in error
  3654. messages, as suggested by Bernd Herd.
  3655. 2004-07-03 Andrey Kiselev <[email protected]>
  3656. * libtiff/tif_dir.c: Call TIFFError() instead of producing warnings
  3657. when setting custom tags by value. Reported by Eric Fieleke.
  3658. 2004-06-14 Andrey Kiselev <[email protected]>
  3659. * tools/bmp2tiff.c: Add missed RawsPerStrip setting.
  3660. 2004-06-08 Andrey Kiselev <[email protected]>
  3661. * tools/bmp2tiff.c: Added new utility to convert Windows BMP files
  3662. into TIFFs.
  3663. 2004-06-07 Andrey Kiselev <[email protected]>
  3664. * libtiff 3.7.0alpha released.
  3665. 2004-06-06 Andrey Kiselev <[email protected]>
  3666. * libtiff/{tiff.h, tif_dirwrite.c, tif_fax3.c, tif_packbits.c,}: Get rid
  3667. of ugly 64-bit hacks, replace them with the clever (autoconf based )
  3668. ones :-).
  3669. * libtiff/tiffio.h: Define thandle_t as int, not void* (may cause
  3670. problems in 64-bit environment).
  3671. 2004-06-05 Andrey Kiselev <[email protected]>
  3672. * tools/tiffset.c: tiffset now can set any libtiff supported tags.
  3673. Tags can be supplied by the mnemonic name or number.
  3674. * libtiff/{tiffio.h, tif_dir.h, tif_dirinfo.c,}: Added two new
  3675. functions TIFFFindFieldInfoByName() and TIFFFieldWithName().
  3676. 2004-05-27 Andrey Kiselev <[email protected]>
  3677. * libtiff/tif_ojpeg.c: Fixed problem with duplicated SOI and SOF
  3678. markers as per bug
  3679. http://bugzilla.remotesensing.org/show_bug.cgi?id=581
  3680. 2004-05-24 Andrey Kiselev <[email protected]>
  3681. * tools/tiffsplit.c: Don't forget to copy Photometric
  3682. Interpretation tag.
  3683. 2004-05-20 Andrey Kiselev <[email protected]>
  3684. * libtiff/{tif_open.c, tiffio.h}: New function added:
  3685. TIFFIsBigEndian(). Function returns nonzero if given was file written
  3686. in big-endian order.
  3687. * tools/tiffsplit.c: Fixed problem with unproperly written multibyte
  3688. files. Now output files will be written using the same byte order
  3689. flag as in the input image. See
  3690. http://bugzilla.remotesensing.org/show_bug.cgi?id=574
  3691. for details.
  3692. 2004-05-19 Frank Warmerdam <[email protected]>
  3693. * libtiff/tif_print.c: added (untested) support for printing
  3694. SSHORT, SLONG and SRATIONAL fields.
  3695. * tools/tiffcp.c: close output file on normal exit.
  3696. 2004-05-17 Andrey Kiselev <[email protected]>
  3697. * libtiff/tif_fax3.c: Avoid reading CCITT compression options
  3698. if compression type mismatches. See
  3699. http://bugzilla.remotesensing.org/show_bug.cgi?id=565
  3700. 2004-04-30 Andrey Kiselev <[email protected]>
  3701. * libtiff/tif_strip.c: Never return 0 from the
  3702. TIFFNumberOfStrips().
  3703. 2004-04-29 Andrey Kiselev <[email protected]>
  3704. * libtiff/tif_dirread.c: Workaround for broken TIFF writers which
  3705. store single SampleFormat value for multisampled images. See
  3706. http://bugzilla.remotesensing.org/show_bug.cgi?id=562
  3707. 2004-04-25 Andrey Kiselev <[email protected]>
  3708. * configure.ac, libtiff/{tiff.h, config.h.in}: Added tests for int8,
  3709. int16 and int32 types to avoid complains on some compilers. Details at
  3710. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  3711. 2004-04-20 Andrey Kiselev <[email protected]>
  3712. * tools/tiff2pdf.c: Fixed problem with unaligned access as per bug
  3713. http://bugzilla.remotesensing.org/show_bug.cgi?id=555
  3714. 2004-04-14 Andrey Kiselev <[email protected]>
  3715. * libtiff/tif_write.c: Allow in-place updating of the compressed
  3716. images (don't work properly with all codecs). For details see GDAL bug
  3717. http://bugzilla.remotesensing.org/show_bug.cgi?id=534
  3718. 2004-04-06 Andrey Kiselev <[email protected]>
  3719. * libtiff/tif_jpeg.c: Workaround for wrong sampling factors used
  3720. in the Intergarph JPEG compressed TIFF images as per bug:
  3721. http://bugzilla.remotesensing.org/show_bug.cgi?id=532
  3722. 2004-04-04 Frank Warmerdam <[email protected]>
  3723. * libtiff/tif_open.c: close clientdata if TIFFClientOpen() fails
  3724. via bad2.
  3725. 2004-03-26 Andrey Kiselev <[email protected]>
  3726. * tools/tiffcp.c: Properly set Photometric Interpretation in case of
  3727. JPEG compression of grayscale images.
  3728. * tools/tiffcp.c: Don't emit warnings when Orientation tag does not
  3729. present in the input image.
  3730. 2004-03-19 Andrey Kiselev <[email protected]>
  3731. * {many}: The first attempt to switch to autotools.
  3732. 2004-03-03 Andrey Kiselev <[email protected]>
  3733. * libtiff/tif_open.c: Use dummy mmap/munmap functions in
  3734. TIFFClientOpen() when the appropriate client functions was not
  3735. supplied by user.
  3736. 2004-03-02 Frank Warmerdam <[email protected]>
  3737. * tools/ycbcr.c: fixed main() declaration as per:
  3738. http://bugzilla.remotesensing.org/show_bug.cgi?id=513
  3739. 2004-02-26 Andrey Kiselev <[email protected]>
  3740. * tools/tiffsplit.c: Copy JPEGTables tag contents for JPEG compressed
  3741. images. Reported by Artem Mirolubov.
  3742. * libtiff/tif_dirread.c: Fixed problem with handling TIFF_UNDEFINED
  3743. tag type in TIFFFetchNormalTag() as per bug
  3744. http://bugzilla.remotesensing.org/show_bug.cgi?id=508
  3745. 2004-02-17 Frank Warmerdam <[email protected]>
  3746. * libtiff/tif_codec.c: Fixed typo in TIFFInitPackBits name as per:
  3747. http://bugzilla.remotesensing.org/show_bug.cgi?id=494
  3748. 2004-02-05 Andrey Kiselev <[email protected]>
  3749. * libtiff/tif_fax3.c: Fixed problem with CCITT encoding modes as per
  3750. bug
  3751. http://bugzilla.remotesensing.org/show_bug.cgi?id=483
  3752. But we need more work on fax codec to support update mode.
  3753. 2004-01-30 Frank Warmerdam <[email protected]>
  3754. * libtiff/libtiff.def: Added TIFFCurrentDirOffset, TIFFWriteCheck,
  3755. TIFFRGBAImageOK, and TIFFNumberOfDirectories as suggested by
  3756. Scott Reynolds.
  3757. 2004-01-29 Andrey Kiselev <[email protected]>
  3758. * libtiff/tiff.h: Fixed tag definitions for TIFFTAG_YCLIPPATHUNITS
  3759. and TIFFTAG_INDEXED as per bug
  3760. http://bugzilla.remotesensing.org/show_bug.cgi?id=475
  3761. * libtiff/{tif_win32.c, tif_unix.c}: Check whether the pointer is
  3762. NULL before proceeding further as per bug
  3763. http://bugzilla.remotesensing.org/show_bug.cgi?id=474
  3764. Check results, returned by the TIFFFdOpen() before returning and close
  3765. file if TIFFFdOpen() failed as per bug
  3766. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  3767. * libtiff/tif_open.c: More fixes for
  3768. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  3769. 2004-01-28 Andrey Kiselev <[email protected]>
  3770. * libtiff/{libtiff.def, tif_close.c, tiffio.h, tif_open.c}: Separate
  3771. TIFFCleanup() from the TIFFClose() in order to fix the bug
  3772. http://bugzilla.remotesensing.org/show_bug.cgi?id=468
  3773. * tools/tiffcp.c: Fixed problem with wrong interpretation of the
  3774. InkNames tag as per bug
  3775. http://bugzilla.remotesensing.org/show_bug.cgi?id=466
  3776. Memory leak fixed.
  3777. 2004-01-21 Frank Warmerdam <[email protected]>
  3778. * libtiff/tif_dirwrite.c: Fixed handling of writable ASCII tags that
  3779. are field_passcount=TRUE properly. Arguably anonymous custom tags
  3780. should be declared as passcount=FALSE, but I don't want to change
  3781. that without a careful review.
  3782. 2004-01-20 Andrey Kiselev <[email protected]>
  3783. * libtiff/tif_write.c: Fixed reporting size of the buffer in case of
  3784. stripped image in TIFFWriteBufferSetup(). As per bug
  3785. http://bugzilla.remotesensing.org/show_bug.cgi?id=460
  3786. 2004-01-11 Andrey Kiselev <[email protected]>
  3787. * libtiff/tif_dir.c: Incomplete cleanup in TIFFFreeDirectory(),
  3788. patch from Gerben Koopmans.
  3789. * libtiff/tif_dirread.c: Check field_passcount value before setting
  3790. the value of undefined type, patch from Gerben Koopmans.
  3791. 2004-01-02 Andrey Kiselev <[email protected]>
  3792. * tools/tiffcp.c: Fixed problem with wrong Photometric setting for
  3793. non-RGB images.
  3794. 2003-12-31 Andrey Kiselev <[email protected]>
  3795. * libtiff/tif_win32.c: Fixed problem with _TIFFrealloc() when the NULL
  3796. pointer passed. Patch supplied by Larry Grill.
  3797. * libtiff/{tiff.h, tif_fax3.c}:Fixes for AMD 64 platform as
  3798. suggested by Jeremy C. Reed.
  3799. 2003-12-26 Andrey Kiselev <[email protected]>
  3800. * libtiff 3.6.1 released.
  3801. 2003-12-24 Andrey Kiselev <[email protected]>
  3802. * config.guess, config.sub: Updated from the recent upstream.
  3803. 2003-12-22 Andrey Kiselev <[email protected]>
  3804. * libtiff/{tif_color, tif_getimage.c, tiffio.h}, man/TIFFcolor.3t:
  3805. More cleanups in color conversion interface, added appropriate manual
  3806. page.
  3807. 2003-12-19 Andrey Kiselev <[email protected]>
  3808. * libtiff/{tif_extension.c, tif_dirinfo.c, tiff.h}: Warnings fixed as
  3809. per bug
  3810. http://bugzilla.remotesensing.org/show_bug.cgi?id=357
  3811. * tools/tiff2ps.c: Added support for alpha channel. Fixes
  3812. http://bugzilla.remotesensing.org/show_bug.cgi?id=428
  3813. * libtiff/{libtiff.def, tif_color.c, tif_getimage.c, tiffio.h}:
  3814. Interface for Lab->RGB color conversion is finally cleaned up.
  3815. Added support for ReferenceBlackWhite tag handling when converted from
  3816. YCbCr color space. The latter closes
  3817. http://bugzilla.remotesensing.org/show_bug.cgi?id=120
  3818. 2003-12-07 Andrey Kiselev <[email protected]>
  3819. * libtiff/{tif_getimage.c, tiffio.h}: Avoid warnings.
  3820. * libtiff/makefile.vc, tools/makefile.vc: Support for IJG JPEG
  3821. library.
  3822. 2003-12-06 Andrey Kiselev <[email protected]>
  3823. * libtiff/{tif_getimage.c, tif_aux.c}: Read WhitePoint tag from the
  3824. file and properly use it for CIE Lab->RGB transform.
  3825. 2003-12-04 Andrey Kiselev <[email protected]>
  3826. * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: YCbCr->RGB
  3827. conversion routines now in the tif_color.c module. New function
  3828. TIFFYCbCrtoRGB() available in TIFF API.
  3829. * libtiff/tif_dirwrite.c: Handle TIFF_IFD tag type correctly.
  3830. 2003-12-03 Andrey Kiselev <[email protected]>
  3831. * libtiff/{tif_getimage.c, tif_color.c, tiffio.h}: Improvements in
  3832. CIE Lab conversion code. Start moving YCbCr stuff to the tif_color.c
  3833. module.
  3834. * libtiff/{tif_getimage.c, tiffio.h}, man{TIFFReadRGBAImage.3t,
  3835. TIFFReadRGBAStrip.3t, TIFFReadRGBATile.3t, TIFFRGBAImage.3t}:
  3836. Finally resolved problems with orientation handling. TIFFRGBAImage
  3837. interface now properly supports all possible orientations, i.e. images
  3838. will be flipped both in horizontal and vertical directions if
  3839. required. 'Known bugs' section now removed from the appropriate manual
  3840. pages. Closed bug entry:
  3841. http://bugzilla.remotesensing.org/show_bug.cgi?id=322
  3842. 2003-12-02 Andrey Kiselev <[email protected]>
  3843. * libtiff/tif_dir.c: Fixed order of the parameters in TIFFError()
  3844. function calls as per bug
  3845. http://bugzilla.remotesensing.org/show_bug.cgi?id=440
  3846. 2003-11-28 Ross Finlayson <[email protected]>
  3847. * tools/tiff2pdf.c: Some bugs fixed.
  3848. 2003-11-27 Andrey Kiselev <[email protected]>
  3849. * libtiff/tif_luv.c: Fixed bug in 48-bit to 24-bit conversion routine,
  3850. reported by Antonio Scuri.
  3851. * man/tiff2pdf.1: Few improvements in page layout.
  3852. * Makefile.in, /man/Makefile.in, /html/man/tiff2pdf.1.html:
  3853. Added support fpr tiff2pdf manual page.
  3854. 2003-11-26 Ross Finlayson <[email protected]>
  3855. * /man/tiff2pdf.1: File added to repository.
  3856. 2003-11-26 Andrey Kiselev <[email protected]>
  3857. * Makefile.in, /tools/{Makefile.in, makefile.vc}:
  3858. Added support fpr tiff2pdf utility.
  3859. 2003-11-25 Ross Finlayson <[email protected]>
  3860. * /tools/tiff2pdf.c: File added to repository.
  3861. 2003-11-22 Andrey Kiselev <[email protected]>
  3862. * /tools/raw2tiff.c: sqrtf() replaced with sqrt().
  3863. 2003-11-21 Andrey Kiselev <[email protected]>
  3864. * /tools/raw2tiff.c: #include <getopt.h> removed.
  3865. * tools/{Makefile.in, tiffgt.c}: Unmaintained and platform dependent
  3866. sgigt utility removed and replaced with the completely rewritten
  3867. portable tiffgt tool (depend on OpenGL and GLUT). Initial revision,
  3868. there is a lot of things to improve.
  3869. * libtiff/tif_ojpeg.c: TIFFVGetField() function now can properly
  3870. extract the fields from the OJPEG files. Patch supplied by Ross
  3871. Finlayson.
  3872. * libtiff/{tiffio.h, tif_codec.c}, man/{libtiff.3t, TIFFcodec.3t}:
  3873. Added new function TIFFIsCODECConfigured(), suggested by Ross
  3874. Finlayson.
  3875. 2003-11-18 Andrey Kiselev <[email protected]>
  3876. * libtiff/tif_dirinfo.c: Implemented binary search in
  3877. _TIFFMergeFieldInfo(). Patch supplied by Ross Finlayson.
  3878. * libtiff/tif_dir.h: _TIFFFindOrRegisterdInfo declaration replaced
  3879. with _TIFFFindOrRegisterFieldInfo as reported by Ross Finlayson.
  3880. 2003-11-17 Frank Warmerdam <[email protected]>
  3881. * tif_dirread.c: do not mark all anonymously defined tags to be
  3882. IGNOREd.
  3883. 2003-11-17 Andrey Kiselev <[email protected]>
  3884. * contrib/pds/{tif_pdsdirread.c, tif_pdsdirwrite.c}: Use
  3885. TIFFDataWidth() function insted of tiffDataWidth array.
  3886. 2003-11-16 Andrey Kiselev <[email protected]>
  3887. * libtiff/{tiff.h, tif_dirinfo.c}: Added support for IFD (13)
  3888. datatype, intruduced in "Adobe PageMaker TIFF Tech. Notes".
  3889. 2003-11-15 Frank Warmerdam <[email protected]>
  3890. * Makefile.in: fixed missing backslash for tif_color.c in list.
  3891. 2003-11-13 Andrey Kiselev <[email protected]>
  3892. * libtiff/{tif_color.c, tif_getimage.c, tiffio.h, Makefile.in}:
  3893. New color space conversion code: CIE L*a*b* 1976 images now supported
  3894. by the TIFFRGBAImage interface. All introduced routines go to new
  3895. module tif_color.c. Eventually all color conversion functions should
  3896. be moved there.
  3897. 2003-11-12 Andrey Kiselev <[email protected]>
  3898. * tools/{ras2tiff.c, rasterfile.h}: Properly determine SUN Rasterfiles
  3899. with the reverse byte order (it is reported by the magic header
  3900. field). Problem reported by Andreas Wiesmann.
  3901. * tools/raw2tiff.c, man/raw2tiff.1: Few improvements in correlation
  3902. calculation function. Guessing mechanics now documented in manual page.
  3903. 2003-11-11 Andrey Kiselev <[email protected]>
  3904. * tools/raw2tiff.c: Implemented image size guessing using
  3905. correlation coefficient calculation between two neighbour lines.
  3906. 2003-11-09 Frank Warmerdam <[email protected]>
  3907. * libtiff/tif_tile.c: remove spurious use of "s" (sample) in the
  3908. planarconfig_contig case in TIFFComputeTile().
  3909. http://bugzilla.remotesensing.org/show_bug.cgi?id=387
  3910. 2003-11-09 Andrey Kiselev <[email protected]>
  3911. * libtiff/tiffiop.h: New macros: TIFFmax, TIFFmin and TIFFrint.
  3912. 2003-11-07 Andrey Kiselev <[email protected]>
  3913. * libtiff/{tiffio.h, tif_strip.c}, man/{TIFFstrip.3t, libtiff.3t}:
  3914. Added TIFFRawStripSize() function as suggested by Chris Hanson.
  3915. 2003-11-03 Andrey Kiselev <[email protected]>
  3916. * libtiff/{tif_lzw.c, tif_fax3.c}: Proper support for update mode as
  3917. per bug
  3918. http://bugzilla.remotesensing.org/show_bug.cgi?id=424
  3919. 2003-10-29 Andrey Kiselev <[email protected]>
  3920. * libtiff/libtiff.def: Added TIFFReadRGBAImageOriented.
  3921. * html/build.html: Added note about GNU make requirement.
  3922. 2003-10-25 Andrey Kiselev <[email protected]>
  3923. * Makefile.in: Fixes in using MAKEFLAGS as per bug
  3924. http://bugzilla.remotesensing.org/show_bug.cgi?id=418
  3925. * port/install.sh.in: Option -p added to the mkdir command to create
  3926. all directory tree structure before installing.
  3927. 2003-10-18 Andrey Kiselev <[email protected]>
  3928. * /tools/tiff2ps.c: #include <strings.h> replaced with the
  3929. #include <string.h>.
  3930. 2003-10-16 Andrey Kiselev <[email protected]>
  3931. * Makefile.in: Add an absolute path to the test_pics.sh call.
  3932. 2003-10-12 Andrey Kiselev <[email protected]>
  3933. * libtiff/tiffcomp.h: #define _BSDTYPES_DEFINED when defining BSD
  3934. typedefs.
  3935. 2003-10-09 Andrey Kiselev <[email protected]>
  3936. * configure, libtiff/{Makefile.in, mkversion.c}:
  3937. Relative buildings fixed.
  3938. * tools/Makefile.in: Added "-I../libtiff" to the tiffset building
  3939. rule.
  3940. 2003-10-07 Andrey Kiselev <[email protected]>
  3941. * Makefile.in: Added missed v3.6.0.html.
  3942. * libtiff/tiffio.h: Typo fixed: ORIENTATION_BOTTOMLEFT replaced with
  3943. ORIENTATION_BOTLEFT.
  3944. 2003-10-04 Andrey Kiselev <[email protected]>
  3945. * 3.6.0 final release.
  3946. 2003-10-03 Andrey Kiselev <[email protected]>
  3947. * libtiff/{tif_getimage.c, tiffio.h}, man/TIFFReadRGBAImage.3t: New
  3948. function TIFFReadRGBAImageOriented() implemented to retrieve raster
  3949. array with user-specified origin position as suggested by Jason Frank.
  3950. See
  3951. http://bugzilla.remotesensing.org/show_bug.cgi?id=322
  3952. for details.
  3953. * tools/tiff2rgba.c: Switched to use TIFFReadRGBAImageOriented()
  3954. instead of TIFFReadRGBAImage().
  3955. * tools/tiff2ps.c: Fixed possible endless loop as per bug
  3956. http://bugzilla.remotesensing.org/show_bug.cgi?id=404
  3957. 2003-09-30 Andrey Kiselev <[email protected]>
  3958. * libtiff/tif_dirread.c: Check field counter against number of fields
  3959. in order to fix
  3960. http://bugzilla.remotesensing.org/show_bug.cgi?id=366
  3961. * libtiff/tif_fax3.c: Fix wrong line numbering as per bug
  3962. http://bugzilla.remotesensing.org/show_bug.cgi?id=342
  3963. 2003-09-25 Andrey Kiselev <[email protected]>
  3964. * libtiff/{tiffiop.h, tif_dirread.c, tif_dir.c, tif_open.c,
  3965. tif_close.c}: Store a list of opened IFD to prevent looping as per bug
  3966. http://bugzilla.remotesensing.org/show_bug.cgi?id=383
  3967. 2003-09-23 Andrey Kiselev <[email protected]>
  3968. * libtiff/tif_dirread.c: More fixes for EstimateStripByteCounts(). See
  3969. http://bugzilla.remotesensing.org/show_bug.cgi?id=358
  3970. 2003-08-21 Andrey Kiselev <[email protected]>
  3971. * tools/tiffmedian.c: int declaration replaced with the uint32 to
  3972. support large images as per bug
  3973. http://bugzilla.remotesensing.org/show_bug.cgi?id=382
  3974. 2003-08-12 Andrey Kiselev <[email protected]>
  3975. * libtiff/Makefile.in: Fixed problem with building in different
  3976. directory.
  3977. * tools/tiff2ps.c: Added missing #include <strings.h>.
  3978. * libtiff/tif_dirwrite.c: More fixes for custom tags code
  3979. from Ashley Dreier.
  3980. 2003-08-07 Andrey Kiselev <[email protected]>
  3981. * tools/tiff2ps.c: Added page size setting when creating PS Level 2.
  3982. Patch submitted by Balatoni Denes (with corrections from Tom
  3983. Kacvinsky).
  3984. * tools/tiff2ps.c: Fixed PS comment emitted when FlateDecode is
  3985. being used. Reported by Tom Kacvinsky.
  3986. * libtiff/tif_dirwrite.c: Fixed problem with custom tags writing,
  3987. reported by Ashley Dreier.
  3988. * libtiff/tif_print.c: Fixed problem with float tags reading, support
  3989. for printing RATIONAL and BYTE tags added.
  3990. 2003-08-05 Andrey Kiselev <[email protected]>
  3991. * libtiff/tif_lzw.c: Move LZW codec state block allocation back to
  3992. TIFFInitLZW(), because its initialization in LZWSetupDecode() cause
  3993. problems with predictor initialization. Remove O_RDONLY check during
  3994. state block allocation to be able open LZW compressed files in update
  3995. mode.
  3996. Problem exist for libtiff version of the tif_lzw.c module. One from
  3997. lzw-compression-kit hasn't such troubles.
  3998. 2003-08-04 Frank Warmerdam <[email protected]>
  3999. * libtiff/tif_write.c: modified tif_write.c so that the various
  4000. encoded write functions use tif_postdecode() to apply byte order
  4001. swapping (swab) to the application passed data buffer if the same
  4002. would be done when reading. This allows us to write pixel data with
  4003. more than 8 bits per sample to existing files of a non-native byte
  4004. order. One side effect of this change is the applications buffer
  4005. itself is altered in this case by the act of writing.
  4006. http://bugzilla.remotesensing.org/show_bug.cgi?id=171
  4007. 2003-07-25 Frank Warmerdam <[email protected]>
  4008. * libtiff/tif_open.c: avoid signed/unsigned casting warning
  4009. initializing typemask as per patch from J.A. Strother.
  4010. * tools/tiffcp.c: fixed signed/unsigned casting warning.
  4011. * libtiff/tif_print.c: dos2unix conversion.
  4012. * tools/tiffsplit.c: increased the maximum number of pages that
  4013. can be split. Patch provided by Andrew J. Montalenti.
  4014. 2003-07-11 Andrey Kiselev <[email protected]>
  4015. * tools/raw2tiff.c: Added option `-p' to explicitly select color
  4016. space of input image data. Closes
  4017. http://bugzilla.remotesensing.org/show_bug.cgi?id=364
  4018. 2003-07-08 Frank Warmerdam <[email protected]>
  4019. * tif_aux.c, tif_codec.c, tif_dir.c, tif_dirread.c, tif_extension.c,
  4020. tif_fax3.c, tif_getimage.c, tif_luv.c, tif_lzw.c, tif_next.c,
  4021. tif_packbits.c, tif_predict.c, tif_print.c, tif_swab.c, tif_thunder.c:
  4022. avoid casting warning at /W4.
  4023. 2003-07-03 Andrey Kiselev <[email protected]>
  4024. * tools/thumbnail.c: Memory leak fixed as reported by Robert S. Kissel.
  4025. 2003-06-30 Andrey Kiselev <[email protected]>
  4026. * libtiff/tif_pixarlog.c: Unused variables removed.
  4027. * libtiff/{tif_dirread.c, tif_dir.c}: Fixed problem with
  4028. EstimateStripByteCounts() as per bug
  4029. http://bugzilla.remotesensing.org/show_bug.cgi?id=358
  4030. * libtiff/{tif_dirwrite.c, tif_packbits.c}: Fixed compilation on
  4031. 64-bit architectures as per bug
  4032. http://bugzilla.remotesensing.org/show_bug.cgi?id=357
  4033. * libtiff/tif_dirinfo.c: TIFFDataWidth() returns 0 in case of
  4034. unknown data type.
  4035. 2003-06-19 Frank Warmerdam <[email protected]>
  4036. * libtiff/tif_print.c: fixed some serious bugs when printing
  4037. custom tags ... almost certain to crash.
  4038. * libtiff/tif_dirread.c: Don't ignore custom fields that are
  4039. autodefined. Not sure how this got to be like this.
  4040. 2003-06-18 Andrey Kiselev <[email protected]>
  4041. * 3.6.0 Beta2 released.
  4042. * tools/tiffcmp.c, man/tiffcmp.1: Fixed problem with unused data
  4043. comparing as per bug
  4044. http://bugzilla.remotesensing.org/show_bug.cgi?id=349
  4045. `-z' option now can be used to set the number of reported different
  4046. bytes.
  4047. 2003-06-09 Andrey Kiselev <[email protected]>
  4048. * tools/tiffcp.c, man/tiffcp.1: Added possibility to specify value -1
  4049. to -r option to get the entire image as one strip. See
  4050. http://bugzilla.remotesensing.org/show_bug.cgi?id=343
  4051. for details.
  4052. 2003-06-04 Andrey Kiselev <[email protected]>
  4053. * tools/tiffcp.c: Set the correct RowsPerStrip and PageNumber
  4054. values as per bug
  4055. http://bugzilla.remotesensing.org/show_bug.cgi?id=343
  4056. 2003-05-27 Frank Warmerdam <[email protected]>
  4057. * libtiff/tif_jpeg.c: modified segment_height calculation to always
  4058. be a full height tile for tiled images. Also changed error to just
  4059. be a warning.
  4060. 2003-05-25 Andrey Kiselev <[email protected]>
  4061. * tools/fax2tiff.c: Page numbering fixed, as per bug
  4062. http://bugzilla.remotesensing.org/show_bug.cgi?id=341
  4063. 2003-05-20 Andrey Kiselev <[email protected]>
  4064. * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
  4065. configure, Makefile.in: Switched back to the old behaviour. Likely
  4066. better solution should be found for OJPEG support.
  4067. 2003-05-11 Andrey Kiselev <[email protected]>
  4068. * libtiff/mkversion.c: Fixed problem with wrong string size when
  4069. reading RELEASE-DATE file.
  4070. 2003-05-07 Andrey Kiselev <[email protected]>
  4071. * tools/tiff2ps.c: Fixed bug in Ascii85EncodeBlock() function: array
  4072. index was out of range.
  4073. 2003-05-06 Andrey Kiselev <[email protected]>
  4074. * contrib/ojpeg/{Makefile.in, jdhuff.h, jinclude.h, ojpeg.c, README},
  4075. configure, Makefile.in: Improved libtiff compilation with OJPEG
  4076. support. Now no need for patching IJG JPEG library, hack requred by
  4077. libtiff will be compiled and used in-place. Implemented with
  4078. suggestion and help from Bill Allombert, Debian's libjpeg maintainer.
  4079. * libtiff/tif_aux.c: Properly handle TIFFTAG_PREDICTOR in
  4080. TIFFVGetFieldDefaulted() function.
  4081. 2003-05-05 Andrey Kiselev <[email protected]>
  4082. * tools/ppm2tiff.c: PPM header parser improved: now able to skip
  4083. comments.
  4084. * tools/tiffdither.c: Fixed problem with bit fill order tag setting:
  4085. was not copied from source image.
  4086. * libtiff/getimage.c: Workaround for some images without correct
  4087. info about alpha channel as per bug
  4088. http://bugzilla.remotesensing.org/show_bug.cgi?id=331
  4089. 2003-04-29 Andrey Kiselev <[email protected]>
  4090. * tools/tiff2ps.c, man/tiff2ps.1: Add ability to generate PS Level 3.
  4091. It basically allows one to use the /flateDecode filter for ZIP
  4092. compressed TIFF images. Patch supplied by Tom Kacvinsky. Fixes
  4093. http://bugzilla.remotesensing.org/show_bug.cgi?id=328
  4094. * tools/tiff2ps.c: Force deadzone printing when EPS output specified
  4095. as per bug
  4096. http://bugzilla.remotesensing.org/show_bug.cgi?id=325
  4097. 2003-04-17 Andrey Kiselev <[email protected]>
  4098. * libtiff/tif_dirread.c: Removed additional check for StripByteCounts
  4099. due to problems with multidirectory images. Quality of error messages
  4100. improved.
  4101. 2003-04-16 Andrey Kiselev <[email protected]>
  4102. * tools/tiffcp.c: Fixed problem with colorspace conversion for JPEG
  4103. encoded images. See bug entries
  4104. http://bugzilla.remotesensing.org/show_bug.cgi?id=275
  4105. and
  4106. http://bugzilla.remotesensing.org/show_bug.cgi?id=23
  4107. * libtiff/tif_dirread.c: Additional check for StripByteCounts
  4108. correctness. Fixes
  4109. http://bugzilla.remotesensing.org/show_bug.cgi?id=320
  4110. 2003-03-12 Andrey Kiselev <[email protected]>
  4111. * tools/{fax2ps.c, fax2tiff.c, gif2tiff.c, pal2rgb.c, ppm2tiff.c,
  4112. ras2tiff.c, raw2tiff.c, rgb2ycbcr.c, thumbnail.c, tiff2bw.c,
  4113. tiff2ps.c, tiff2rgba.c, tiffcp.c, tiffdither.c, tiffinfo.c,
  4114. tiffmedian.c}: Added library version reporting facility to all tools.
  4115. 2003-03-06 Frank Warmerdam <[email protected]>
  4116. * port/install.sh.in: Fixed problems with install producing paths
  4117. like ///usr/local/lib on cygwin.
  4118. 2003-02-27 Andrey Kiselev <[email protected]>
  4119. * tools/fax2tiff.c, man/fax2tiff.1: New switch (-X) to set width of
  4120. raw input page. Patch supplied by Julien Gaulmin. See
  4121. http://bugzilla.remotesensing.org/show_bug.cgi?id=293
  4122. for details.
  4123. 2003-02-26 Frank Warmerdam <[email protected]>
  4124. * libtiff/tif_dir.c: fixed up the tif_postdecode settings
  4125. responsible for byte swapping complex image data.
  4126. * libtiff/tif_lzw.c: fixed so that decoder state isn't allocated till
  4127. LZWSetupDecode(). Needed to read LZW files in "r+" mode.
  4128. 2003-02-07 Andrey Kiselev <[email protected]>
  4129. * tools/ppm2tiff.c: Fixed problem with too many arguments.
  4130. 2003-02-04 Andrey Kiselev <[email protected]>
  4131. * tools/raw2tiff.c: Memory leak fixed.
  4132. 2003-02-03 Andrey Kiselev <[email protected]>
  4133. * tools/fax2tiff.c, man/fax2tiff.1: Applied patch from Julien Gaulmin
  4134. (thanks, Julien!). More switches for fax2tiff tool for better control
  4135. of input and output. Details at
  4136. http://bugzilla.remotesensing.org/show_bug.cgi?id=272
  4137. 2003-02-03 Frank Warmerdam <[email protected]>
  4138. * libtiff/tif_jpeg.c: Modified to defer initialization of jpeg
  4139. library so that we can check if there is already any tile/strip data
  4140. before deciding between creating a compressor or a decompressor.
  4141. 2003-01-31 Frank Warmerdam <[email protected]>
  4142. * libtiff/tif_write.c: TIFFWriteCheck() now fails if the image is
  4143. a pre-existing compressed image. That is, image writing to
  4144. pre-existing compressed images is not allowed.
  4145. * libtiff/tif_open.c: Removed error if opening a compressed file
  4146. in update mode.
  4147. http://bugzilla.remotesensing.org/show_bug.cgi?id=198
  4148. 2003-01-31 Andrey Kiselev <[email protected]>
  4149. * config.guess, config.sub: Updated to recent upstream versions.
  4150. 2003-01-15 Frank Warmerdam <[email protected]>
  4151. * cut 3.6.0 Beta release.
  4152. 2002-12-20 Andrey Kiselev <[email protected]>
  4153. * tools/fax2ps.c, man/fax2ps.1: Page size was determined
  4154. in wrong way as per bug
  4155. http://bugzilla.remotesensing.org/show_bug.cgi?id=239
  4156. 2002-12-17 Frank Warmerdam <[email protected]>
  4157. * libtiff/tif_dirread.c: Allow wrong sized arrays in
  4158. TIFFFetchStripThing().
  4159. http://bugzilla.remotesensing.org/show_bug.cgi?id=49
  4160. 2002-12-02 Frank Warmerdam <[email protected]>
  4161. * libtiff/tif_dir.c: fix problem with test on td_customValueCount.
  4162. Was using realloc even first time. Fix by Igor Venevtsev.
  4163. 2002-11-30 Frank Warmerdam <[email protected]>
  4164. * libtiff/tif_dir.c: fixed bug with resetting an existing custom
  4165. field value.
  4166. * libtiff/tif_dir.c: Fixed potential problem with ascii "custom"
  4167. tags in TIFFVGetField() ... added missing break.
  4168. 2002-10-14 Frank Warmerdam <[email protected]>
  4169. * tools/tiff2ps.c: fixes a problem where "tiff2ps -1e" did not make
  4170. the scanline buffer long enough when writing rgb triplets.
  4171. The scanline needs to be 3 X the number of dots or else it will
  4172. contain an incomplete triplet and programs that try to separate
  4173. the eps by redefining the colorimage operator will get messed up.
  4174. Patch supplied by William Bader.
  4175. * Makefile.in: added tif_extension.c to file list as per
  4176. http://bugzilla.remotesensing.org/show_bug.cgi?id=218.
  4177. 2002-10-11 Andrey Kiselev <[email protected]>
  4178. * configure, config.site, libtiff/{tif_unix.c, Makefile.in}: Fix for
  4179. large files (>2GiB) supporting. New option in the config.site:
  4180. LARGEFILE="yes". Should be enough for I/O of the large files.
  4181. 2002-10-10 Frank Warmerdam <[email protected]>
  4182. * libtiff/html/v3.6.0.html: new release notes.
  4183. * libtiff/index.html: removed faq, cvs snapshot cruft. Added email
  4184. link for Andrey. Pointer to v3.6.0.html.
  4185. * libtiff/Makefile.in: added direct rule for tiffvers.h for release.
  4186. 2002-10-07 Andrey Kiselev <[email protected]>
  4187. * tools/tiff2ps.c, man/tiff2ps.1: Applied patch form Sebastian Eken
  4188. (thanks, Sebastian!). New switches:
  4189. -b # for a bottom margin of # inches
  4190. -c center image
  4191. -l # for a left margin of # inches
  4192. -r rotate the image by 180 degrees
  4193. New features merged with code for shrinking/overlapping.
  4194. Previously added -c and -n switches (for overriding PS units) renamed
  4195. in -x and -y respectively.
  4196. http://bugzilla.remotesensing.org/show_bug.cgi?id=200
  4197. * html/man/*.html: Updated from actual manual pages.
  4198. 2002-10-06 Frank Warmerdam <[email protected]>
  4199. * libtiff/tif_jpeg.c: fixed problem with boolean defined with wrong
  4200. size on windows. Use #define boolean hack.
  4201. http://bugzilla.remotesensing.org/show_bug.cgi?id=188
  4202. * libtiff/tiff.h: Don't do special type handling in tiff.h unless
  4203. USING_VISUALAGE is defined.
  4204. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  4205. 2002-10-03 Frank Warmerdam <[email protected]>
  4206. * libtiff/tiff.h: added COMPRESSION_JP2000.
  4207. 2002-10-02 Andrey Kiselev <[email protected]>
  4208. * libtiff/tif_dirread.c: Another fix for the fetching SBYTE arrays
  4209. by the TIFFFetchByteArray() function. Should finally resolve
  4210. http://bugzilla.remotesensing.org/show_bug.cgi?id=52
  4211. * configure: Set -DPIXARLOG_SUPPORT option along with -DZIP_SUPPORT
  4212. * html/Makefile.in: New targets added: html and groffhtml for
  4213. producing HTML representations of the manual pages automatically.
  4214. html target uses man2html tool, groffhtml uses groff tool.
  4215. 2002-09-29 Frank Warmerdam <[email protected]>
  4216. * configure, libtiff/Makefile.in: Added SCO OpenServer 5.0.6 support
  4217. from John H. DuBois III.
  4218. 2002-09-15 Andrey Kiselev <[email protected]>
  4219. * Makefile.in, /man/{raw2tiff.1, Makefile.in, libtiff.3}: Added
  4220. manual page for raw2tiff(1) tool.
  4221. 2002-09-12 Andrey Kiselev <[email protected]>
  4222. * /libtiff/{tiffio.h, tif_dir.h}: TIFFDataWidth() declaration moved to
  4223. the tiffio.h header file.
  4224. * Makefile.in, /man/{TIFFDataWidth.3t, Makefile.in, libtiff.3}: Added
  4225. manual page for TIFFDataWidth() function
  4226. 2002-09-08 Frank Warmerdam <[email protected]>
  4227. * libtiff/tif_dirread.c: Expand v[2] to v[4] in TIFFFetchShortPair()
  4228. as per http://bugzilla.remotesensing.org/show_bug.cgi?id=196.
  4229. * tools/tiff2ps.c: Don't emit BeginData/EndData DSC comments
  4230. since we are unable to properly include the amount to skip.
  4231. http://bugzilla.remotesensing.org/show_bug.cgi?id=80
  4232. 2002-09-02 Andrey Kiselev <[email protected]>
  4233. * /libtiff/tif_dirread.c: Fixed problem with SBYTE type data fetching
  4234. in TIFFFetchByteArray(). Problem described at
  4235. http://bugzilla.remotesensing.org/show_bug.cgi?id=52
  4236. 2002-08-22 Andrey Kiselev <[email protected]>
  4237. * /libtiff/tif_dirinfo.c: Further additions to free custom fields
  4238. in _TIFFSetupFieldInfo() function.
  4239. See http://bugzilla.remotesensing.org/show_bug.cgi?id=169 for details.
  4240. * /libtiff/tif_lzw.c: Additional consistency checking added in
  4241. LZWDecode() and LZWDecodeCompat().
  4242. Fixes http://bugzilla.remotesensing.org/show_bug.cgi?id=190
  4243. and http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  4244. * /libtiff/tif_lzw.c:
  4245. Added check for valid code lengths in LZWDecode() and
  4246. LZWDecodeCompat(). Fixes
  4247. http://bugzilla.remotesensing.org/show_bug.cgi?id=115
  4248. 2002-08-16 Andrey Kiselev <[email protected]>
  4249. * /libtiff/{Makefile.vc, libtiff.def}:
  4250. Missed declarations added.
  4251. 2002-08-15 Frank Warmerdam <[email protected]>
  4252. * tif_getimage.c: Ensure that TIFFRGBAImageBegin() returns the
  4253. return code from the underlying pick function.
  4254. http://bugzilla.remotesensing.org/show_bug.cgi?id=177
  4255. * tif_dir.h: changed FIELD_CODEC to 66 from 64 to avoid overlap
  4256. with FIELD_CUSTOM as mentioned in bug 169.
  4257. * tif_close.c: added logic to free dynamically created anonymous
  4258. field definitions to correct a small memory leak.
  4259. http://bugzilla.remotesensing.org/show_bug.cgi?id=169
  4260. 2002-08-10 Andrey Kiselev <[email protected]>
  4261. * /tools/{raw2tiff.c, Makefile.in, Makefile.lcc, Makefile.vc}:
  4262. New tool: raw2tiff --- raw images to TIFF converter. No manual page yet.
  4263. 2002-07-31 Frank Warmerdam <[email protected]>
  4264. * libtiff/tif_jpeg.c: Fixed problem with setting of nrows in
  4265. JPEGDecode() as per bugzilla bug (issue 1):
  4266. http://bugzilla.remotesensing.org/show_bug.cgi?id=129
  4267. * libtiff/{tif_jpeg.c,tif_strip.c,tif_print.c}: Hacked tif_jpeg.c to
  4268. fetch TIFFTAG_YCBCRSUBSAMPLING from the jpeg data stream if it isn't
  4269. present in the tiff tags.
  4270. http://bugzilla.remotesensing.org/show_bug.cgi?id=168
  4271. * libtiff/tif_read.c, libtiff/tif_write.c: TIFFReadScanline() and
  4272. TIFFWriteScanline() now set tif_row explicitly in case the codec has
  4273. fooled with the value.
  4274. http://bugzilla.remotesensing.org/show_bug.cgi?id=129
  4275. 2002-06-22 Andrey Kiselev <[email protected]>
  4276. * /tools/tiff2ps.c: Added workaround for some software that may crash
  4277. when last strip of image contains fewer number of scanlines than
  4278. specified by the `/Height' variable. See
  4279. http://bugzilla.remotesensing.org/show_bug.cgi?id=164
  4280. for explanation.
  4281. 2002-06-21 Andrey Kiselev <[email protected]>
  4282. * tools/tiff2ps, man/tiff2ps.1: New functionality for tiff2ps utility:
  4283. splitting long images in several pages. See
  4284. http://bugzilla.remotesensing.org/show_bug.cgi?id=142 for explanation.
  4285. Patch granted by John Williams <[email protected]>.
  4286. 2002-06-11 Frank Warmerdam <[email protected]>
  4287. * libtiff/contrib/win95: renamed to contrib/win_dib. Added new
  4288. Tiffile.cpp example of converting TIFF files into a DIB on Win32.
  4289. This one is described in:
  4290. http://bugzilla.remotesensing.org/show_bug.cgi?id=143
  4291. * libtiff/tif_ojpeg.c: Major upgrade from Scott. See details at:
  4292. http://bugzilla.remotesensing.org/show_bug.cgi?id=156
  4293. 2002-05-10 Andrey Kiselev <[email protected]>
  4294. * tools/tiff2ps: New commandline switches to override resolution
  4295. units obtained from the input file. Closes
  4296. http://bugzilla.remotesensing.org/show_bug.cgi?id=131
  4297. 2002-04-26 Andrey Kiselev <[email protected]>
  4298. * libtiff/libtiff.def: Added missed declaration.
  4299. 2002-04-22 Andrey Kiselev <[email protected]>
  4300. * tools/fax2tiff.c: Updated to reflect latest changes in libtiff.
  4301. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=125
  4302. 2002-04-20 Andrey Kiselev <[email protected]>
  4303. * libtiff/tif_open.c: Pointers to custom procedures
  4304. in TIFFClientOpen() are checked to be not NULL-pointers.
  4305. 2002-04-18 Andrey Kiselev <[email protected]>
  4306. * libtiff/libtiff.def: Added missed declarations.
  4307. * libtiff/tif_pixarlog.c: Updated for using tif_tagmethods structure.
  4308. 2002-04-16 Andrey Kiselev <[email protected]>
  4309. * libtiff/tif_lzw.c: Additional checks for data integrity introduced.
  4310. Should finally close
  4311. http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  4312. 2002-04-10 Andrey Kiselev <[email protected]>
  4313. * tools/tiff2ps: Division by zero fixed.
  4314. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=88
  4315. 2002-04-09 Andrey Kiselev <[email protected]>
  4316. * libtiff/: tif_dirwrite.c, tif_write.c, tiffio.h:
  4317. TIFFCheckpointDirectory() routine added.
  4318. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=124
  4319. * man/: TIFFWriteDirectory.3t, Makefile.in: Added description
  4320. for the new function.
  4321. 2002-04-08 Andrey Kiselev <[email protected]>
  4322. * libtiff/: tif_codec.c, tif_compress.c, tiffiop.h: Introduced
  4323. additional members tif->tif_decodestatus and tif->tif_encodestatus
  4324. for correct handling of unconfigured codecs (we should not try to read
  4325. data or to define data size without correct codecs).
  4326. * libtiff/tif_getimage.c: The way of codecs checking in TIFFRGBAImageOK
  4327. changed. Now it has used tif->tif_decodestatus and
  4328. tif->tif_encodestatus.
  4329. Should fix http://bugzilla.remotesensing.org/show_bug.cgi?id=119 (in
  4330. case of __cvs_8.tif test image).
  4331. * libtiff/: tif_dirinfo.c, tif_dirread.c: Somebody makes a bug in
  4332. tif_dirread.c when TIFFCreateAnonFieldInfo was introduced.
  4333. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=119 in case
  4334. of _cvs_00000-00.tif, _cvs_00000-01.tif and _cvs_00000-02.tif.
  4335. 2002-04-04 Andrey Kiselev <[email protected]>
  4336. * libtiff/: tif_lzw.c: Assertions in LZWDecode and LZWDecodeCompat
  4337. replaced by warnings. Now libtiff should read corrupted LZW-compressed
  4338. files by skipping bad strips.
  4339. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=100
  4340. 2002-04-03 Frank Warmerdam <[email protected]>
  4341. * libtiff/tif_dirwrite.c: Removed some dead code.
  4342. * libtiff/*: Cleanup some warnings.
  4343. * libtiff/tif_dir.c: Fixed bug with count returned by TIFFGetField()
  4344. for variable length FIELD_CUSTOM values. Was int * but should be
  4345. u_short *.
  4346. 2002-04-01 Andrey Kiselev <[email protected]>
  4347. * tools/: tifcp.c: Added support for 'Orientation' tag in tiffcp
  4348. utility (at cpStripToTile routine).
  4349. 2002-03-27 Frank Warmerdam <[email protected]>
  4350. * tif_dirread.c: avoid div-by-zero if rowbytes is zero in chop func.
  4351. http://bugzilla.remotesensing.org/show_bug.cgi?id=111
  4352. * tif_print.c: Fixed so that ASCII FIELD_CUSTOM values with
  4353. passcount set FALSE can be printed (such as TIFFTAG_SOFTWARE).
  4354. * libtiff/tif_dir.c,tif_dirinfo.c,tif_dir.h,tif_ojpeg.c: modified so
  4355. that TIFFTAG_SOFTWARE uses FIELD_CUSTOM as an example.
  4356. 2002-03-26 Dwight Kelly <[email protected]>
  4357. * libtiff/: tiff.h, tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
  4358. tif_dirwrite.c: Added get/put code for new tag XMLPACKET as defined
  4359. in Adobe XMP Technote. Added missing INKSET tag value from TIFF 6.0 spec
  4360. INKSET_MULTIINK (=2). Added missing tags from Adobe TIFF technotes:
  4361. CLIPPATH, XCLIPPATHUNITS, YCLIPPATHUNITS, OPIIMAGEID, OPIPROXY and
  4362. INDEXED. Added PHOTOMETRIC tag value from TIFF technote 4 ICCLAB (=9).
  4363. 2002-03-26 Andrey Kiselev <[email protected]>
  4364. * libtiff/: tif_getimage.c: TIFFReadRGBAStrip and TIFFReadRGBATile
  4365. now also uses TIFFRGBAImageOK before reading. This is additional fix
  4366. for http://bugzilla.remotesensing.org/show_bug.cgi?id=110
  4367. 2002-03-25 Andrey Kiselev <[email protected]>
  4368. * libtiff/: tif_getimage.c: Additional check for supported
  4369. codecs added in TIFFRGBAImageOK and TIFFReadRGBAImage now uses
  4370. TIFFRGBAImageOK before reading.
  4371. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=110
  4372. 2002-03-15 Andrey Kiselev <[email protected]>
  4373. * libtiff/: tif_dir.c, tif_dir.h, tif_dirinfo.c, tif_dirread.c,
  4374. tif_dirwrite.c: Added routine TIFFDataWidth for detrmining
  4375. TIFFDataType sizes instead of working with tiffDataWidth array
  4376. directly. Should prevent out-of-borders bugs in case of unknown or
  4377. broken data types. EstimateStripByteCounts routine modified, so it
  4378. won't work when tags with uknown sizes founded.
  4379. Closes http://bugzilla.remotesensing.org/show_bug.cgi?id=109
  4380. 2002-03-13 Andrey Kiselev <[email protected]>
  4381. * libtiff/tif_getimage.c: Added support for correct handling
  4382. `Orientation' tag in gtTileContig. Should be added in other gt*
  4383. functions as well, but I have not images for testing yet. Partially
  4384. resolves http://bugzilla.remotesensing.org/show_bug.cgi?id=23
  4385. 2002-03-10 Andrey Kiselev <[email protected]>
  4386. * libtiff/: tif_dirinfo.c, tif_dirwrite.c: Added possibility to
  4387. read broken TIFFs with LONG type used for TIFFTAG_COMPRESSION,
  4388. TIFFTAG_BITSPERSAMPLE, TIFFTAG_PHOTOMETRIC. Closes
  4389. http://bugzilla.remotesensing.org/show_bug.cgi?id=99
  4390. 2002-03-08 Andrey Kiselev <[email protected]>
  4391. * libtiff/Makefile.in, tools/Makefile.in: Shared library will not
  4392. be stripped when installing, utility binaries will do. Closes
  4393. http://bugzilla.remotesensing.org/show_bug.cgi?id=93
  4394. 2002-02-28 Frank Warmerdam <[email protected]>
  4395. * man/TIFFGetField: fixed type of TIFFTAG_COPYRIGHT.
  4396. * man/libtiff.3t: added copyright tag info.
  4397. 2002-02-11 Frank Warmerdam <[email protected]>
  4398. * libtiff/{tiff.h,tif_fax3.c}: Add support for __arch64__.
  4399. http://bugzilla.remotesensing.org/show_bug.cgi?id=94
  4400. * man/Makefile.in: Patch DESTDIR handling
  4401. http://bugzilla.remotesensing.org/show_bug.cgi?id=95
  4402. * configure: OpenBSD changes for Sparc64 and DSO version.
  4403. http://bugzilla.remotesensing.org/show_bug.cgi?id=96
  4404. 2002-02-05 Frank Warmerdam <[email protected]>
  4405. * config.site/configure: added support for OJPEG=yes option to enable
  4406. OJPEG support from config.site.
  4407. 2002-01-27 Frank Warmerdam <[email protected]>
  4408. * html/document.html: fixed links for TIFf 6 docs.
  4409. 2002-01-18 Frank Warmerdam <[email protected]>
  4410. * config.guess, config.sub: Updated from ftp.gnu.org/pub/config.
  4411. * libtiff/tif_read.c: Fixed TIFFReadEncodedStrip() to fail if the
  4412. decodestrip function returns anything not greater than zero as per
  4413. http://bugzilla.remotesensing.org/show_bug.cgi?id=97
  4414. * configure: Modify CheckForBigEndian so it can work in a cross
  4415. compiled situation.
  4416. 2002-01-16 Frank Warmerdam <[email protected]>
  4417. * tools/tiffdump.c: include TIFFTAG_JPEGTABLES in tag list.
  4418. * tools/tiffset.c: fix bug in error reporting.
  4419. * tools/tiffcp.c: fix several warnings that show up with -Wall.
  4420. 2002-01-04 Frank Warmerdam <[email protected]>
  4421. * libtiff/tif_jpeg.c: fixed computation of segment_width for
  4422. tiles files to avoid error about it not matching the
  4423. cinfo.d.image_width values ("JPEGPreDecode: Improper JPEG strip/tile
  4424. size.") for ITIFF files. Apparently the problem was incorporated since
  4425. 3.5.5, presumably during the OJPEG/JPEG work recently.
  4426. 2001-12-15 Frank Warmerdam <[email protected]>
  4427. * configure, libtiff/Makefile.in: Changes for building on MacOS 10.1.
  4428. http://bugzilla.remotesensing.org/show_bug.cgi?id=94
  4429. * libtiff/tif_getimage.c: If DEFAULT_EXTRASAMPLE_AS_ALPHA is 1
  4430. (defined in tiffconf.h - 1 by default) then the RGBA interface
  4431. will assume that a fourth extra sample is ASSOCALPHA if the
  4432. EXTRASAMPLE value isn't set for it. This changes the behaviour of
  4433. the library, but makes it work better with RGBA files produced by
  4434. lots of applications that don't mark the alpha values properly.
  4435. http://bugzilla.remotesensing.org/show_bug.cgi?id=93
  4436. http://bugzilla.remotesensing.org/show_bug.cgi?id=65
  4437. 2001-12-12 Frank Warmerdam <[email protected]>
  4438. * libtiff/tif_jpeg.c: allow jpeg data stream sampling values to
  4439. override those from tiff directory. This makes this work with
  4440. ImageGear generated files.
  4441. 2001-12-07 Frank Warmerdam <[email protected]>
  4442. * html/Makefile.in: added missing images per bug 92.
  4443. * port/Makefile.in: fixed clean target per bug 92.
  4444. 2001-11-28 Frank Warmerdam <[email protected]>
  4445. * Reissue 3.5.7 release.
  4446. * libtiff/mkversion.c: Fix output of TIFF_VERSION to be
  4447. YYYYMMDD so that it is increasing over time.
  4448. * Makefile.in: Ensure that tiffvers.h is regenerated in the
  4449. make release target.
  4450. * Makefile.in: added libtiff/tiffvers.h to the release file list.
  4451. 2001-11-23 Frank Warmerdam <[email protected]>
  4452. * added html/v3.5.7.html, updated html/index.html.
  4453. * Makefile.in: added contrib/addtiffo/tif_ovrcache.{c,h}.
  4454. 2001-11-15 Frank Warmerdam <[email protected]>
  4455. * configure: fixed test for -lm.
  4456. 2001-11-02 Frank Warmerdam <[email protected]>
  4457. * Added PHOTOMETRIC_ITULAB as per bug 90.
  4458. http://bugzilla.remotesensing.org/show_bug.cgi?id=90
  4459. 2001-10-10 Frank Warmerdam <[email protected]>
  4460. * libtiff/tiff.h: I have created COMPRESSION_CCITT_T4,
  4461. COMPRESSION_CCITT_T6, TIFFTAG_T4OPTIONS and TIFFTAG_T6OPTIONS aliases
  4462. in keeping with TIFF 6.0 standard in tiff.h
  4463. http://bugzilla.remotesensing.org/show_bug.cgi?id=83
  4464. 2001-09-26 Frank Warmerdam <[email protected]>
  4465. * libtiff/tif_dirwrite.c: added TIFFRewriteDirectory() function.
  4466. Updated TIFFWriteDirectory man page to include TIFFRewriteDirectory.
  4467. 2001-09-24 Frank Warmerdam <[email protected]>
  4468. * libtiff/tif_lzw.c: Avoid MS VC++ 5.0 optimization bug.
  4469. http://bugzilla.remotesensing.org/show_bug.cgi?id=78
  4470. * libtiff/tif_lzw.c: added dummy LZWSetupEncode() to report an
  4471. error about LZW not being available.
  4472. * libtiff/tif_dir.c: propagate failure to initialize compression
  4473. back from TIFFSetField() as an error status, so applications can
  4474. detect failure.
  4475. * libtiff/tif_dir.c: removed the auto replacement of
  4476. COMPRESSION_LZW with COMPRESSION_NONE in _TIFFVSetField().
  4477. * Removed Makefile, tools/Makefile, port/install.sh, man/Makefile
  4478. from CVS as they are all supposed to be auto-generated by configure.
  4479. 2001-09-22 Frank Warmerdam <[email protected]>
  4480. * libtiff/tif_ojpeg.c: new update from Scott.
  4481. 2001-09-09 Frank Warmerdam <[email protected]>
  4482. * libtif/tif_fax3.c: Removed #ifdef PURIFY logic, and modified to
  4483. always use the "safe" version, even if there is a very slight
  4484. cost in performance.
  4485. http://bugzilla.remotesensing.org/show_bug.cgi?id=54
  4486. * libtiff/Makefile.in: Fixed @DSOSUB_VERSION to be @DSOSUF_VERSION@
  4487. in two places.
  4488. * libtiff/tif_getimage.c: Fixed problem with reading strips or
  4489. tiles that don't start on a tile boundary. Fix contributed by
  4490. Josep Vallverdu (from HP), and further described in bug 47.
  4491. http://bugzilla.remotesensing.org/show_bug.cgi?id=47
  4492. * tools/tiff2ps.c: added OJPEG YCbCr to RGB support.
  4493. * libtiff/tif_ojpeg.c: Applied substantial patch from Scott.
  4494. 2001-09-06 Frank Warmerdam <[email protected]>
  4495. * libtiff/tif_packbits.c: fixed memory overrun error.
  4496. http://bugzilla.remotesensing.org/show_bug.cgi?id=77
  4497. 2001-08-31 Frank Warmerdam <[email protected]>
  4498. * libtiff/tif_getimage.c: relax handling of contig case where
  4499. there are extra samples that are supposed to be ignored. This
  4500. should now work for 8bit greyscale or palletted images.
  4501. http://bugzilla.remotesensing.org/show_bug.cgi?id=75
  4502. 2001-08-28 Frank Warmerdam <[email protected]>
  4503. * libtiff/tif_getimage.c: Don't complain for CMYK (separated)
  4504. images with more than four samples per pixel. See:
  4505. http://bugzilla.remotesensing.org/show_bug.cgi?id=73
  4506. 2001-08-10 Frank Warmerdam <[email protected]>
  4507. * libtiff/tif_getimage.c: Use memmove() instead of TIFFmemcpy()
  4508. in TIFFReadRGBATile() to avoid issues in cases of overlapping
  4509. buffers. See Bug 69 in Bugzilla.
  4510. http://bugzilla.remotesensing.org/show_bug.cgi?id=69
  4511. * tools/tiff2rgba.c: fixed getopt() call so that -b works again.
  4512. 2001-08-09 Frank Warmerdam <[email protected]>
  4513. * libtiff/tiff.h, libtiff/tif_fax3.c: added check for __LP64__
  4514. when checking for 64 bit architectures as per bugzilla bug 67.
  4515. 2001-07-27 Frank Warmerdam <[email protected]>
  4516. * man/Makefile.in: add TIFFClientOpen link as per debian submitted
  4517. bug 66.
  4518. 2001-07-20 Frank Warmerdam <[email protected]>
  4519. * libtiff/tif_jpeg.c: Define HAVE_BOOLEAN on windows if RPCNDR.H
  4520. has been included.
  4521. 2001-07-19 Frank Warmerdam <[email protected]>
  4522. * libtiff/tif_open.c: Seek back to zero after failed read,
  4523. before writing header.
  4524. 2001-07-18 Frank Warmerdam <[email protected]>
  4525. * libtiff/tif_ojpeg.c: updates from Scott. Handles colors
  4526. much better. Now depends on having patched libjpeg as per
  4527. patch in contrib/ojpeg/*.
  4528. 2001-07-17 Frank Warmerdam <[email protected]>
  4529. * */Makefile.in: added DESTDIR support.
  4530. http://bugzilla.remotesensing.org/show_bug.cgi?id=60
  4531. 2001-07-16 Frank Warmerdam <[email protected]>
  4532. * configure, libtiff/Makefile.in: applied OpenBSD patches
  4533. as per:
  4534. http://bugzilla.remotesensing.org/show_bug.cgi?id=61
  4535. 2001-06-28 Frank Warmerdam <[email protected]>
  4536. * libtiff/tif_getimage.c: Fixed so that failure is properly
  4537. reported by gtTileContig, gtStripContig, gtTileSeparate and
  4538. gtStripSeparate.
  4539. See http://bugzilla.remotesensing.org/show_bug.cgi?id=51
  4540. * tiffcmp.c: Fixed multi samples per pixel support for ContigCompare.
  4541. Updated bug section of tiffcmp.1 to note tiled file issues.
  4542. See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
  4543. 2001-06-22 Frank Warmerdam <[email protected]>
  4544. * configure: Changes for DSO generation on AIX provided by
  4545. John Marquart <[email protected]>.
  4546. * configure, libtiff/Makeifle.in: Modified to build DSOs properly
  4547. on Darwin thanks to Robert Krajewski ([email protected]) and
  4548. Keisuke Fujii ([email protected]).
  4549. 2001-06-13 Frank Warmerdam <[email protected]>
  4550. * tools/tiff2rgba.c: added -n flag to avoid emitting alpha component.
  4551. * man/tiff2rgba.1: new
  4552. 2001-05-22 Frank Warmerdam <[email protected]>
  4553. * Added tiffset and tif_ojpeg to the dist lists in Makefile.in.
  4554. 2001-05-13 Frank Warmerdam <[email protected]>
  4555. * libtiff/tools/thumbnail.c: changed default output compression
  4556. to packbits from LZW since LZW isn't generally available.
  4557. 2001-05-12 Frank Warmerdam <[email protected]>
  4558. * libtiff/tif_ojpeg.c: New.
  4559. libtiff/tif_jpeg.c, tiffconf.h, tif_getimage.c: changes related
  4560. to OJPEG support.
  4561. Scott Marovich <[email protected]> supplied OJPEG support.
  4562. 2001-05-11 Frank Warmerdam <[email protected]>
  4563. * tiff.h: removed, it duplicates libtiff/tiff.h.
  4564. 2001-05-08 Frank Warmerdam <[email protected]>
  4565. * libtiff/tif_dirinfo.c: moved pixar and copyright flags to
  4566. ensure everything is in order.
  4567. * libtiff/libtiff.def: added TIFFCreateDirectory and
  4568. TIFFDefaultStripSize as per:
  4569. http://bugzilla.remotesensing.org/show_bug.cgi?id=46
  4570. 2001-05-02 Frank Warmerdam <[email protected]>
  4571. * libtiff/tif_dirinfo.c: Modified the TIFF_BYTE definition for
  4572. TIFFTAG_PHOTOSHOP to use a writecount of TIFF_VARIABLE2 (-3) to
  4573. force use of uint32 counts instead of short counts.
  4574. * libtiff/tif_dirwrite.c: Added support for TIFF_VARIABLE2 in the
  4575. case of writing TIFF_BYTE/TIFF_SBYTE fields.
  4576. http://bugzilla.remotesensing.org/show_bug.cgi?id=43
  4577. 2001-05-01 Frank Warmerdam <[email protected]>
  4578. * libtiff/tif_dirinfo.c: removed duplicate TIFFTAG_PHOTOSHOP as per
  4579. bug report http://bugzilla.remotesensing.org/show_bug.cgi?id=44
  4580. 2001-04-05 Frank Warmerdam <[email protected]>
  4581. * tiffio.h: removed C++ style comment.
  4582. * configure: fixed up SCRIPT_SH/SHELL handling.
  4583. * Makefile.in: Fixed SCRIPT_SH/SHELL handling.
  4584. * config.guess: documented more variables as per bug 40.
  4585. 2001-04-03 Frank Warmerdam <[email protected]>
  4586. * configure, *Makefile.in: Various changes to improve configuration
  4587. for HP/UX specifically, and also in general. They include:
  4588. - Try to handle /usr/bin/sh instead of /bin/sh where necessary.
  4589. - Upgrade to HP/UX 10.x+ compiler, linker and dso options.
  4590. - Fixed mmap() test to avoid MMAP_FIXED ... it isn't available on HP
  4591. - Use -${MAKEFLAGS} in sub makes from makefiles.
  4592. http://bugzilla.remotesensing.org/show_bug.cgi?id=40
  4593. 2001-04-02 Frank Warmerdam <[email protected]>
  4594. * libtiff/tiff.h: Applied hac to try and resolve the problem
  4595. with the inttypes.h include file on AIX.
  4596. See http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  4597. * VERSION: update to 3.5.7 beta in preparation for release.
  4598. * configure/config.site: modified to check if -lm is needed for
  4599. MACHDEPLIBS if not supplied by config.site. Needed for Darwin.
  4600. * config.guess: updated wholesale to an FSF version apparently
  4601. from 1998 (as opposed to 1994). This is mainly inspired by
  4602. providing for MacOS X support.
  4603. 2001-03-29 Frank Warmerdam <[email protected]>
  4604. * configure, Makefile.in, etc: added support for OPTIMIZER being
  4605. set from config.site.
  4606. 2001-03-28 Frank Warmerdam <[email protected]>
  4607. * fax2ps.c: Helge (libtiff at oldach.net) submitted fix:
  4608. Here's a fix for fax2ps that corrects behaviour for non-Letter paper
  4609. sizes. It fixes two problems:
  4610. Without scaling (-S) the fax is now centered on the page size specified
  4611. with -H and/or -W. Before, fax2ps was using an obscure and practially
  4612. useless algorithm to allocate the image relative to Letter sized paper
  4613. which sometime sled to useless whitespace on the paper, while at the
  4614. same time cutting of the faxes printable area at the opposite border.
  4615. Second, scaling now preserves aspect ratio, which makes unusual faxes
  4616. (in particular short ones) print properly.
  4617. See http://bugzilla.remotesensing.org/show_bug.cgi?id=35
  4618. * tiff2ps.c/tiff2ps.1: Substantial changes to tiff2ps by
  4619. Bruce A. Mallett. See check message for detailed information
  4620. on all the changes, including a faster encoder, fixes for level
  4621. 2 PostScript, and support for the imagemask operator.
  4622. 2001-03-27 Frank Warmerdam <[email protected]>
  4623. * libtiff/tiffio.h: Changed "#if LOGLUV_PUBLIC" to
  4624. "#ifdef LOGLUV_PUBLIC" so it will work with VisualAge on AIX.
  4625. http://bugzilla.remotesensing.org/show_bug.cgi?id=39
  4626. 2001-03-16 Frank Warmerdam <[email protected]>
  4627. * tif_dirinfo.c: moved definition of copyright tag in field list.
  4628. Apparently they have to be in sorted order by tag id.
  4629. 2001-03-13 Frank Warmerdam <[email protected]>
  4630. * tif_getimage.c: Added support for 16bit minisblack/miniswhite
  4631. images in RGBA interface.
  4632. 2001-03-02 Frank Warmerdam <[email protected]>
  4633. * Added TIFFTAG_COPYRIGHT support.
  4634. 2001-02-19 Frank Warmerdam <[email protected]>
  4635. * Brent Roman contributed updated tiffcp utility (and tiffcp.1)
  4636. with support for extracting subimages with the ,n syntax, and also
  4637. adding the -b bias removal flag.
  4638. 2001-02-16 Frank Warmerdam <[email protected]>
  4639. * libtiff/libtiff.def: Brent Roman submitted new version adding
  4640. serveral missing entry points.
  4641. * libtiff/tif_dirinfo.c: don't declare tiffFieldInfo static on VMS.
  4642. Some sort of weird VMS thing.
  4643. http://bugzilla.remotesensing.org/show_bug.cgi?id=31
  4644. * tif_luv.c/tiff.h/tiffio.h:
  4645. New version of TIFF LogLuv (SGILOG) modules contributed by Greg Ward
  4646. ([email protected]). He writes:
  4647. 1) I improved the gamut-mapping function in tif_luv.c for imaginary
  4648. colors, because some images were being super-saturated on the input
  4649. side and this resulted in some strange color shifts in the output.
  4650. 2) I added a psuedotag in tiff.h to control random dithering during
  4651. LogLuv encoding. This is turned off by default for 32-bit LogLuv and
  4652. on for 24-bit LogLuv output. Dithering improves the average color
  4653. accuracy over the image.
  4654. 3) I added a #define for LOG_LUV_PUBLIC, which is enabled by default in
  4655. tiffio.h, to expose internal routines for converting between LogLuv and
  4656. XYZ coordinates. This is helpful for writing more efficient,
  4657. specialized conversion routines, especially for reading LogLuv files.
  4658. Changes applied with minor edits.
  4659. 2001-01-23 Frank Warmerdam <[email protected]>
  4660. * tif_fax3.c: keep rw_mode flag internal to fax3 state to remember
  4661. whether we are encoding or decoding. This is to ensure graceful
  4662. recovery if TIFFClientOpen() discovers an attempt to open a compressed
  4663. file for "r+" access, and subsequently close it, as it resets the
  4664. tif_mode flag to O_RDONLY in this case to avoid writes, confusing the
  4665. compressor's concept of whether it is in encode or decode mode.
  4666. 2001-01-08 Mike Welles <[email protected]>
  4667. * Makefile.in: Now cleaning up after itself after creating the .tar.gz and .zip
  4668. 2001-01-07 Frank Warmerdam <[email protected]>
  4669. * html/libtiff.html: Fixed arguments in example for TIFFRGBAImageGet()
  4670. as per bug report by Patrick Connor.
  4671. 2000-12-28 Frank Warmerdam <[email protected]>
  4672. * Added RELEASE-DATE file to release file list.
  4673. * Fixed libtiff/makefile.vc to make tiffvers.h not version.h.
  4674. 2000-12-22 Mike Welles <[email protected]>
  4675. * added link to CVS mirror from index.html
  4676. * updated html/internals.html to note that LZW compression is
  4677. not supported by default.
  4678. 2000-12-22 Frank Warmerdam <[email protected]>
  4679. * updated html/libtiff.html to not point at Niles' old JPL web site
  4680. for the man pages, point at www.libtiff.org.
  4681. 2000-12-21 Frank Warmerdam <[email protected]>
  4682. * libtiff/tif_apple.c: Applied "Carbon" support patches supplied by
  4683. Leonard Rosenthol <[email protected]>. May interfere
  4684. with correct building on older systems. If so, please let me know.
  4685. 2000-12-19 Mike Welles <[email protected]>
  4686. * Took out LZW Encoding from tif_lzw.c
  4687. * Created HOWTO-RELEASE
  4688. * Created html/v3.5.6.html
  4689. * updated index.html
  4690. 2000-12-01 Frank Warmerdam <[email protected]>
  4691. * Added patches for EOFB support in tif_fax3.c and tif_fax3.h.
  4692. Patches supplied by Frank Cringle <[email protected]>
  4693. Example file at: ftp://ftp.remotesensing.org/pub/libtiff/eofb_396.tif
  4694. 2000-11-24 Frank Warmerdam <[email protected]>
  4695. * libtiff/Makefile.in: Added an installPrivateHdrs and install-private
  4696. target so that the private headers required by libgeotiff can be
  4697. installed with the others. They are not installed by default.
  4698. * libtiff/Makefile.in: Added @MACHLIBDEPS@ to LINUXdso and GNULDdso
  4699. targets so libtiff.so will be built with an explicit dependency
  4700. on libm.so.
  4701. * libtiff/Makefile.in: Use softlinks to link libtiff.so.3 to
  4702. libtiff.so.3.5.5.
  4703. * libtiff/Makefile.in & configure: Remove all references to the ALPHA
  4704. file, or ALPHA version logic. Added stuff about DIST_POINT in
  4705. place of DIST_TYPE and the alpha release number stuff.
  4706. 2000-11-22 Frank Warmerdam <[email protected]>
  4707. * I have applied a patch from Steffen Moeller <[email protected]> to
  4708. the configure script so that it now accepts the --prefix, and
  4709. --exec-prefix directives.
  4710. 2000-11-13 Frank Warmerdam <warmerda@cs46980-c>
  4711. * I have made a variety of modifications in an effort to ensure the
  4712. TIFFLIB_VERSION macro is automatically generated from the RELEASE-DATE
  4713. file which seems to be updated regularly.
  4714. o mkversion.c now reads RELEASE-DATE and emits TIFFLIB_VERSION in
  4715. version include file.
  4716. o renamed version.h to tiffvers.h because we now have to install it
  4717. with the public libtiff include files.
  4718. o include tiffvers.h in tiffio.h.
  4719. o updated tif_version.c to use tiffvers.h.
  4720. o Updated Makefile.in accordingly.
  4721. * As per http://bugzilla.remotesensing.org/show_bug.cgi?id=25
  4722. I have updated the win32 detection rules in tiffcomp.h.
  4723. 2000-10-20 Frank Warmerdam <warmerda@cs46980-c>
  4724. * tif_getimage.c: Fixed RGBA translation for YCbCr images for which
  4725. the strip/tile width and height aren't multiples of the sampling size.
  4726. See http://bugzilla.remotesensing.org/show_bug.cgi?id=20
  4727. Some patches from Rick LaMont of Dot C Software.
  4728. * Modified tif_packbits.c encoder to avoid compressing more
  4729. data than provided if rowsize doesn't factor into provided data
  4730. (such as occurs for YCbCr).
  4731. 2000-10-19 Frank Warmerdam <warmerda@cs46980-c>
  4732. * tools/rgb2ycbcr.c: fixed output strip size to account for vertical
  4733. roundup if rows_per_strip not a multiple of vertical sample size.
  4734. 2000-10-16 Frank Warmerdam <warmerda@cs46980-c>
  4735. * tif_dir.c: Clear TIFF_ISTILED flag in TIFFDefaultDirectory
  4736. as per http://bugzilla.remotesensing.org/show_bug.cgi?id=18
  4737. from [email protected].
  4738. * Modified tif_packbits.c decoding to avoid overrunning the
  4739. output buffer, and to issue a warning if data needs to be
  4740. discarded. See http://bugzilla.remotesensing.org/show_bug.cgi?id=18
  4741. 2000-10-12 Frank Warmerdam <warmerda@cs46980-c>
  4742. * Modified tiff2bw to ensure portions add to 100%, and that
  4743. white is properly recovered.
  4744. See bug http://bugzilla.remotesensing.org/show_bug.cgi?id=15
  4745. Patch c/o Stanislav Brabec <[email protected]>
  4746. 2000-09-30 Frank Warmerdam <warmerda@cs46980-c>
  4747. * Modified TIFFClientOpen() to emit an error on an attempt to
  4748. open a comperessed file for update (O_RDWR/r+) access. This is
  4749. because the compressor/decompressor code gets very confused when
  4750. the mode is O_RDWR, assuming this means writing only. See
  4751. bug http://bugzilla.remotesensing.org/show_bug.cgi?id=13
  4752. 2000-09-27 Frank Warmerdam <warmerda@cs46980-c>
  4753. * Added GNULDdso target an`d switched linux and freebsd to use it.
  4754. 2000-09-26 Frank Warmerdam <warmerda@cs46980-c>
  4755. * Applied patch for 0x0000 sequences in tif_fax3.h's definition
  4756. of EXPAND1D() as per bug 11 (from Roman).
  4757. 2000-09-25 Frank Warmerdam <warmerda@cs46980-c>
  4758. * Fixed tiffcomp.h to avoid win32 stuff if unix #defined, to improve
  4759. cygwin compatibility.
  4760. * Applied patch from Roman Shpount to tif_fax3.c. This seems to
  4761. be a proper fix to the buffer sizing problem. See
  4762. http://bugzilla.remotesensing.org/show_bug.cgi?id=11
  4763. * Fixed tif_getimage.c to fix overrun bug with YCbCr images without
  4764. downsampling. http://bugzilla.remotesensing.org/show_bug.cgi?id=10
  4765. Thanks to Nick Lamb <[email protected]> for reporting the
  4766. bug and proving the patch.
  4767. 2000-09-18 Frank Warmerdam <warmerda@cs46980-c>
  4768. * Fixed tif_jpeg.c so avoid destroying the decompressor before
  4769. we are done access data thanks to bug report from:
  4770. Michael Eckstein <[email protected]>.
  4771. * Reverted tif_flush change.
  4772. 2000-09-14 Frank Warmerdam <warmerda@cs46980-c>
  4773. * tif_flush.c: Changed so that TIFFFlushData() doesn't return an
  4774. error when TIFF_BEENWRITING is not set. This ensures that the
  4775. directory contents can still be flushed by TIFFFlush().
  4776. 2000-08-14 Frank Warmerdam <[email protected]>
  4777. * tif_open.c: Don't set MMAP for O_RDWR files.
  4778. * tif_open.c: Set STRIPCHOP_DEFAULT for O_RDWR as well as O_RDONLY
  4779. so that files opened for update can be strip chopped too.
  4780. * tif_read.c: fixed up bug with files missing rowsperstrip and
  4781. the strips per separation fix done a few weeks ago.
  4782. 2000-07-17 Frank Warmerdam <warmerda@cs46980-c>
  4783. * Tentatively added support for SAMPLEFORMAT_COMPLEXIEEEFP, and
  4784. SAMPLEFORMAT_COMPLEXINT.
  4785. 2000-07-13 Mike Welles <[email protected]>
  4786. * index.html, bugs.html: added bugzilla info.
  4787. 2000-07-12 Frank Warmerdam <[email protected]>
  4788. * tif_read.c: fix subtle bug with determining the number of
  4789. rows for strips that are the last strip in a separation but
  4790. not the last strip of all in TIFFReadEncodedStrip().
  4791. * Applied 16/32 bit fix to tif_fax3.c. Fix supplied by
  4792. Peter Skarpetis <[email protected]>
  4793. 2000-06-15 Frank Warmerdam <[email protected]>
  4794. * Modified tiffio.h logic with regard to including windows.h. It
  4795. won't include it when building with __CYGWIN__.
  4796. 2000-05-11 Frank Warmerdam <warmerda@cs46980-c>
  4797. * README: update to mention www.libtiff.org, don't list Sam's old
  4798. email address.
  4799. * configure: Fixed DSO test for Linux as per patch from
  4800. Jan Van Buggenhout <[email protected]>.
  4801. 2000-04-21 Frank Warmerdam <[email protected]>
  4802. * libtiff/tif_dirread.c: Don't use estimate strip byte count for
  4803. one tile/strip images with an offset, and byte count of zero. These
  4804. could be "unpopulated" images.
  4805. 2000-04-18 Frank Warmerdam <[email protected]>
  4806. * contrib/addtiffo: Added "averaging" resampling option.
  4807. * tools/tiffsplit.c: Copy TIFFTAG_SAMPLEFORMAT.
  4808. Tue Apr 18 16:18:08 2000 Frank Warmerdam <[email protected]>
  4809. * tools/Makefile.in: Modified to install properly on SGI.
  4810. 2000-04-12 Mike Welles <[email protected]>
  4811. * configure: Fixed stupid mistake in libc6 test on Linux
  4812. 2000-04-04 Mike Welles <[email protected]>
  4813. * tif_win32.c: Applied patch to fix overreads and ovverwrites
  4814. caught by BoundsChecker. From Arvan Pritchard
  4815. <[email protected]> (untested).
  4816. * tif_getimage.c: Applied patch to silence VC6 warnings. From
  4817. Arvan Pritchard <[email protected]>
  4818. * tif_lzw.c: Applied patch to silence VC6 warnings. From
  4819. Arvan Pritchard <[email protected]>
  4820. 2000-03-28 Frank Warmerdam <warmerda@cs46980-c>
  4821. * Added contrib/stream (stream io) code submitted by Avi Bleiweiss.
  4822. 2000-03-28 Frank Warmerdam <warmerda@cs46980-c> *** 3.5.5 release ***
  4823. * fax2ps: Fixed mixup of width and height in bounding box statement
  4824. as per submission by Nalin Dahyabhai <[email protected]>.
  4825. 2000-03-27 Mike Welles <[email protected]>
  4826. * fax2ps: Modified printruns to take uint32 instead of uint16.
  4827. Patch courtesy of Bernt Herd <[email protected]>
  4828. 2000-03-20 Mike Welles <[email protected]>
  4829. * configure: added test for libc6 for linux targets. Bug reported by
  4830. Stanislav Brabec <[email protected]>
  4831. * Added 3.5 docs to html/Makefile.in.
  4832. Thanks to Stanislav Brabec <[email protected]>
  4833. * configure: fixed bugs in sed scripts
  4834. (applied sed script s:/@:s;@:;s:/s;;:;: to configure).
  4835. fix submitted to Stanislav Brabec <[email protected]>
  4836. * tools/iptcutil was not in files list, and wasn't being
  4837. added to tar archive. Updated Makefile.in.
  4838. 2000-03-17 Frank Warmerdam <warmerda@cs46980-c>
  4839. * tif_fax3.c: Fixed serious bug introduced during the uint16->uint32
  4840. conversion for the run arrays.
  4841. 2000-03-03 Frank Warmerdam <[email protected]>
  4842. * Set td_sampleformat default to SAMPLEFORMAT_UINT instead of
  4843. SAMPLEFORMAT_VOID in TIFFDefaultDirectory() in tif_dir.c.
  4844. 2000-03-02 Frank Warmerdam <[email protected]>
  4845. * Added "GetDefaulted" support for TIFFTAG_SAMPLEFORMAT in tif_aux.c.
  4846. * Patched tif_fax3.c so that dsp->runs is allocated a bit bigger
  4847. to avoid overruns encountered with frle_bug.tif.
  4848. Tue Feb 15 22:01:05 2000 Frank Warmerdam <[email protected]>
  4849. * Fixed tools/tiffcmp so that stopondiff testing works.
  4850. Patch care of Joseph Orost <[email protected]>.
  4851. 2000-01-28 <warmerda@CS46980-B>
  4852. * Modified tif_unix.c to support 2-4GB seeks if USE_64BIT_API is
  4853. set to 1, and added default (off) setting in tiffconf.h. This
  4854. should eventually be set by the configure script somehow.
  4855. The original work on all these 2-4GB changes was done by
  4856. Peter Smith ([email protected]).
  4857. * Modified tif_win32.c to support 2-4GB seeks.
  4858. * tentatively changed toff_t to be unsigned instead of signed to
  4859. facilitate support for 2-4GB files.
  4860. * Updated a variety of files to use toff_t. Fixed some mixups
  4861. between toff_t and tsize_t.
  4862. Fri Jan 28 10:13:49 2000 Frank Warmerdam <[email protected]>
  4863. * Largely reimplemented contrib/addtiffo to avoid temp files,
  4864. updating the TIFF file in place. Fixed a few other bugs to.
  4865. * Set tif_rawdatasize to zero when freeing raw data buffer in
  4866. TIFFWriteDirectory().
  4867. * Enabled "REWRITE_HACK" in tif_write.c by default.
  4868. * Fix bug in tif_write.c when switching between reading one directory
  4869. and writing to another.
  4870. * Made TIFFWriteCheck() public, and added TIFFCreateDirectory()
  4871. Wed Jan 5 12:37:48 2000 Frank Warmerdam <[email protected]>
  4872. * Added TIFFmemory(3t) functions to libtiff.def.
  4873. Tue Jan 4 13:39:00 2000 Frank Warmerdam <[email protected]>
  4874. * Added libtiff/libtiff.def to TIFFILES distribution list.
  4875. Mon Dec 27 12:13:39 EST 1999 Mike Welles <[email protected]>
  4876. * Created lzw compression kit, as a new module (libtiff-lzw-compression-kit).
  4877. * Altered descriptions in tools to reflect "by default" lzw not supported
  4878. * Updated index.html to note lzw compression kit.
  4879. Tue Dec 21 14:01:51 1999 Frank Warmerdam <[email protected]>
  4880. * Added fax3sm_winnt.c to distribution list in Makefile.in.
  4881. Tue Dec 21 11:04:45 EST 1999 Mike Welles <[email protected]> *** 3.5.4 release ***
  4882. * Aadded Pixar tag support. Contributed by Phil Beffery <[email protected]>
  4883. * Made one more change to tif_dir.c for removal of LZW compression. Also added notice
  4884. when LZW compression invoked.
  4885. * Changed default compression in tools to TIFF_PACKBITS, and changed usage descriptions
  4886. in tools to reflect removal of LZW compression
  4887. Mon Dec 20 18:39:02 EST 1999 Mike Welles <[email protected]>
  4888. * Fixed bug that caused LZW (non) compression to segfault. Added
  4889. warning about LZW compression removed being removed, and why.
  4890. * Added nostrip to install in tools/Makefile.in so that debugging
  4891. symbols are kept.
  4892. Tue Dec 7 12:04:47 EST 1999 Mike Welles <[email protected]>
  4893. * Added patch from Ivo Penzar <[email protected]>,
  4894. supporting Adobe ZIP deflate. Untested.
  4895. Sat Dec 4 15:47:11 1999 Frank Warmerdam <[email protected]>
  4896. * Made Packbits the default compression in tools/tiff2rgba.c instead
  4897. of LZW.
  4898. Tue Nov 30 14:41:43 1999 Frank Warmerdam <[email protected]> *** 3.5.3. release ***
  4899. * Added tif_luv to contrib/djgpp/Makefile.lib.
  4900. Tue Nov 30 14:15:32 EST 1999 Mike Welles <[email protected]>
  4901. * Added zip creation to relase makefile target
  4902. * Added html for TIFFWriteTile.3t man page.
  4903. Tue Nov 30 09:20:16 1999 Frank Warmerdam <[email protected]>
  4904. * Added some changes to tif_write.c to support rewriting existing
  4905. fixed sized tiles and strips. Code mods disabled by default, only
  4906. enabled if REWRITE_HACK is defined for now.
  4907. Mon Nov 29 11:43:42 1999 Frank Warmerdam <[email protected]>
  4908. * Added TIFFWriteTile.3t man page.
  4909. Sun Nov 28 20:36:18 1999 Frank Warmerdam <[email protected]>
  4910. * Added notes on use of makefile.vc in build.html, and fixed
  4911. email subscription address.
  4912. 199-11-28 Mike Welles <[email protected]>
  4913. * Fixed apocalypse-inducing y2k bug in contrib/ras/ras2tiff.c
  4914. * Did some casts cleaning up to reduce compiler warnings in tif_fax3.c,
  4915. from Bruce Carmeron <[email protected]> -- modifications of
  4916. changes made by Frank (sun cc still complained on cast).
  4917. * Added tiffconf.h to install target per request from Bill
  4918. Radcliffe <[email protected]>: "We need a way for ImageMagick to
  4919. know features have been compiled into the TIFF library in order to
  4920. handle things properly".
  4921. Sat Nov 27 16:49:21 1999 Frank Warmerdam <[email protected]>
  4922. * fixed various VC++ warnings as suggested by Gilles Vollant
  4923. <[email protected]>.
  4924. Wed Nov 24 12:08:16 1999 Frank Warmerdam <[email protected]>
  4925. * Modified TIFFquery.3t man pages info on TIFFIsByteSwapped() to
  4926. not imply applications are responsible for image data swapping.
  4927. 1999-11-22 Mike Welles <[email protected]>
  4928. * HTML-ized the man pages, added to html/man
  4929. * Removed LZW Compression to comply with Unisys patent extortion.
  4930. 1999-09-29 Mike Welles <[email protected]>
  4931. * Corrected one remaining 16 -> 32 bit value in tif_fax3.c,
  4932. From Ivo Penzar <[email protected].
  4933. * Added patch from Ivo Penzar to have TiffAdvanceDirectory handle
  4934. memory mapped files. <[email protected]>
  4935. 1999-09-26 Mike Welles <[email protected]> *** 3.5.2 release ***
  4936. * Corrected alpha versioning.
  4937. * Removed distinction between alpha and release targets in Makefile.in.
  4938. * added release.stamp target, which tags cvs tree, and updates
  4939. "RELEASE-DATE"
  4940. * added releasediff target, which diffs tree with source as of
  4941. date in "RELEASE-DATE"
  4942. * Ticked up version to 3.5.2 (alpha 01 -- but I think we'll moving
  4943. away from alpha/non-alpha distinctions).
  4944. * updated html to reflect release
  4945. 1999-09-23 <warmerda@CS46980-B>
  4946. * Set O_BINARY for tif_unix.c open() ... used on cygwin for instance.
  4947. * Added CYGWIN case in configure.
  4948. Fri Sep 17 00:13:51 CEST 1999 Mike Welles <[email protected]>
  4949. * Applied Francois Dagand's patch to handle fax decompression bug.
  4950. (sizes >= 65536 were failing)
  4951. Tue Sep 14 21:31:43 1999 Frank Warmerdam <[email protected]>
  4952. * Applied "a" mode fix to tif_win32.c/TIFFOpen() as suggested
  4953. by Christopher Lawton <[email protected]>
  4954. Wed Sep 8 08:19:18 1999 Frank Warmerdam <[email protected]>
  4955. * Added IRIX/gcc, and OSF/1 4.x support on behalf of
  4956. Albert Chin-A-Young <[email protected]>
  4957. * Added TIFFReassignTagToIgnore() API on behalf of
  4958. Bruce Cameron <[email protected]>. Man page still pending.
  4959. Wed Aug 25 11:39:07 1999 Frank Warmerdam <[email protected]>
  4960. * Added test target in Makefile, test_pics.sh script and pics/*.rpt
  4961. files to provide for a rudimentary testsuite.
  4962. * Added contrib/tags back from old distribution ... fixed up a bit.
  4963. 1999-08-16 <warmerda@CS46980-B>
  4964. * Added simple makefile.vc makefiles for building with MS VC++
  4965. on Windows NT/98/95 in console mode. Stuff in contrib/win* make give
  4966. better solutions for some users.
  4967. Mon Aug 16 21:52:11 1999 Frank Warmerdam <[email protected]>
  4968. * Added addtiffo (add overviews to a TIFF file) in contrib. Didn't
  4969. put it in tools since part of it is in C++.
  4970. 1999-08-16 Michael L. Welles <[email protected]>
  4971. * Updated html/index.html with anon CVS instructions.
  4972. Mon Aug 16 13:18:41 1999 Frank Warmerdam <[email protected]>
  4973. * pre-remove so link before softlink in LINUXdso action in
  4974. libtiff/Makefile.in to avoid failure on LINUXdso builds other than
  4975. the first.
  4976. * Fixed problem with cvtcmap() in tif_getimage.c modifying the
  4977. colormaps owned by the TIFF handle itself when trying to fixup wrong
  4978. (eight bit) colormaps. Corrected by maintaining a private copy of
  4979. the colormap.
  4980. * Added TIFFReadRGBATile()/TIFFReadRGBAStrip() support in
  4981. tif_getimage.c.
  4982. * CVS Repository placed at remotesensing.org. ChangeLog added.