timezone location not terminated by a nul character

Allen Winter winter at kde.org
Mon Dec 19 10:41:30 PST 2016


On Monday, December 19, 2016 02:37:15 PM Milan Crha wrote:
> On Sat, 2016-12-17 at 10:03 -0500, Allen Winter wrote:
> > At least please help test the code in the master branch.
> 
Geez.. I ran all my test programs and didn't hit on that problem.
Thanks, I commit the fix.

> 	Hi again,
> I'm at git master commit a46028404 and I just noticed that the
> timezone's locations are not terminated by a nul character, which
> simply breaks stuff. The attached is a patch which fixed it for me.
> Below are some examples of the provided locations by libical before the
> patch being applied.
> 	Bye,
> 	Milan
> 
>  'Europe/Andorra'
>  'Asia/Dubaiorra'
>  'Asia/Kabulorra'
>  'America/Antigua'
>  'America/Anguilla�6 �'
> ...
>  'Antarctica/DumontDUrville'
>  'Antarctica/MawsonDUrville'
>  'Antarctica/PalmerDUrville'
>  'Antarctica/RotheraUrville'
>  'Antarctica/SyowaraUrville'
>  'Antarctica/TrollraUrville'
>  'Antarctica/VostokaUrville'
>  'America/Argentina/Buenos_Aires�����Ri'
>  'America/Argentina/CordobaAires�����Ri'
>  'America/Argentina/SaltabaAires�����Ri'
> ...




More information about the libical-devel mailing list