Control: reassign -1 libvc
Control: tags -1 + upstream

* Roland Rosenfeld <[email protected]> [2024-07-27 10:20]:

Package: mutt-vc-query
Version: 005-2
Severity: normal

Dear Maintainer,

I did some testing with mutt-vc-query using an old Google vcf export. Doing so I noted that mutt_vc_query stops parsing a vcf file if a vcard contains an empty FN: field.

I attached an minimal example, which contains 3 VCARDs ([email protected], [email protected] and [email protected]). All three entries have a FN: field, but the one of B is empty. Running mutt_vc_query on this file does not see user C:

 $ mutt_vc_query -f emptyname.vcf example.com
 Searching database ... 2 entries ... 1 matching.
 [email protected]   A

If I manually remove the empty FN: line, all 3 lines are checked and C is shown:

 $ mutt_vc_query -f emptyname.vcf example.com
 Searching database ... 3 entries ... 2 matching.
 [email protected]   A
 [email protected]   C

You can try this out with lager vcf files, after an empty "FN:" field every succeeding vcards are not parsed.

The same problem can be triggered with an empty "N:" field.

Since there were no problem relevant changes in mutt-vc-query and libvc since stable, the problem should also exist in testing/unstable versions.

Greetings

Roland

Thank you for the bug report. The problem seems to come from the libvc package. I am thereby reassining it, accordingly.

Best,

Rafael

Reply via email to