Ticket #717 (new defect)

Opened 14 years ago

Last modified 14 years ago

CUPS truncates usernames at 7 characters

Reported by: jdreed Owned by:
Priority: normal Milestone: Upstream Utopia
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:  discuss:5455

Description

We're running into this bug again:

jdreed@INFINITE-LOOP:~$ lpq -Phomer
homer is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  prinses 483869  (stdin)                         75687936 bytes
1st     prinses 483887  SKMBT_C55210090717070-2.pdf     75672576 bytes
2nd     arambul 483899  arambula_257948                 618496 bytes
3rd     creasey 484050  7.06_Syllabus_2010              162816 bytes


jdreed@INFINITE-LOOP:~$ mit-lpq -Phomer
homer is ready and printing

prinsesa: active                            [job 483869 (Sep 12 13:09) localhost]
        (stdin)                                 75687936 bytes

prinsesa: 1st                               [job 483887 (Sep 12 13:14) localhost]
        SKMBT_C55210090717070-2.pdf             75672576 bytes

arambula: 2nd                               [job 483899 (Sep 12 13:17) localhost]
        arambula_257948                         618496 bytes

creasey: 3rd                               [job 484050 (Sep 12 14:13) localhost]
        7.06_Syllabus_2010                      162816 bytes

Mark Manley saw a version of this that was caused by CUPS assuming all strings are null-terminated, even when they're not and chopping the last character. We should check if that's still the case, or if this is something simple like printf("%.7s", username).

Change History

comment:1 Changed 14 years ago by jdreed

  • Priority changed from low to normal
  • Upstream bug set to discuss:5455
  • Milestone changed from IAP 2011 to Upstream Utopia

This is yet another "CUPS is a piece of crap bug. We should report it upstream.

Note: See TracTickets for help on using tickets.