Closed Bug 47561 Opened 24 years ago Closed 24 years ago

Incorrect group bit used for new group

Categories

(Bugzilla :: Bugzilla-General, defect, P2)

x86
Linux
defect

Tracking

()

VERIFIED FIXED
Bugzilla 2.12

People

(Reporter: tengel, Assigned: justdave)

References

()

Details

(Whiteboard: 2.12)

Attachments

(2 files)

editgroups.cgi:261
value is 65535 - this is one less than it should be, 65536; reasons should be
obvious (how did this never get found? huh).  As soon as you add a new group
with this value, everything in edituser.cgi just breaks hard (as I'm sure it
does elsewhere).  Stopped me from using groups completely till I tracked it
down, hence the Blocker severity.
changed to critical, not blocker - my mistake.
Severity: blocker → critical
Priority: P3 → P2
This is my code...  I'll take this.
Assignee: tara → dave
stupid lameass typo.  Attaching a patch...
Status: NEW → ASSIGNED
Due to the way this kinda breaks things, and it's a straightforward fix, I went 
ahead and checked it into the tree.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
And it wasn't a complete fix...  from news:netscape.public.mozilla.webtools :

On 08/07/00 9:49 AM +0200, Wojtek Pilorz wrote:

>I undestand that @bitvals is supposed to contain consequtive powers of 2;
>So I converted @bitvals to a text file using vi, and run the following:
>
>$ echo 'for (i=0;i<63;++i) { 2^i; }' | bc | diff -u bitvals.txt -
>--- bitvals.txt Mon Aug  7 08:52:25 2000
>+++ -   Mon Aug  7 09:18:05 2000
>@@ -59,5 +59,5 @@
> 288230376151711744
> 576460752303423488
> 1152921504606846976
>-2305843009213693958
>-4611686018427387916
>+2305843009213693952
>+4611686018427387904
>
>So last two values of @bitvals are not powers of 2;
>Seems like a bug.>
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
*** Bug 52251 has been marked as a duplicate of this bug. ***
oops, this one slipped off my back burner...  I wish "reopened" would send
whine mail. :)  Moving back to NEW so I don't lose it again.  Putting in queue
for 2.12 - this potentially causes data corruption, it needs to be fixed.
Status: REOPENED → NEW
Whiteboard: 2.12
committed to trunk
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → FIXED
oops, thought I'd already committed that. :)  Must have been sleeping last night.  Thanks Chris.
*** Bug 52471 has been marked as a duplicate of this bug. ***
*** Bug 70638 has been marked as a duplicate of this bug. ***
Sorry for the spam, but I needed to be able to query for all of these correctly.
Target Milestone: --- → Bugzilla 2.12
VERIFIED.

Gerv
Status: RESOLVED → VERIFIED
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: