Last Comment Bug 156844 - 'use of uninitialized value in string eq' warning
: 'use of uninitialized value in string eq' warning
Product: Bugzilla
Classification: Server Software
Component: Creating/Changing Bugs (show other bugs)
: 2.17
: x86 Linux
P3 normal (vote)
: Bugzilla 2.18
Assigned To: Bradley Baetz (:bbaetz)
: default-qa
Depends on:
  Show dependency treegraph
Reported: 2002-07-10 23:27 PDT by Bradley Baetz (:bbaetz)
Modified: 2012-12-18 20:46 PST (History)
1 user (show)
See Also:
QA Whiteboard:
Iteration: ---
Points: ---

patch (665 bytes, patch)
2002-07-10 23:28 PDT, Bradley Baetz (:bbaetz)
jouni: review+
jouni: review+
Details | Diff | Splinter Review

Description User image Bradley Baetz (:bbaetz) 2002-07-10 23:27:29 PDT
process_bug calls CheckCanChangeField based on the 'snapshot' of the bug. For
aliases, the alias column is NULL, and so we end up doing a string eq between
undef and ''.

The fix is to consider a NULL value to be an empty string for this test.
Comment 1 User image Bradley Baetz (:bbaetz) 2002-07-10 23:28:17 PDT
Created attachment 90917 [details] [diff] [review]
Comment 2 User image Jouni Heikniemi 2002-07-11 03:56:55 PDT
Comment on attachment 90917 [details] [diff] [review]

Comment 3 User image Bradley Baetz (:bbaetz) 2002-07-11 04:54:14 PDT
Checked in.

Note You need to log in before you can comment on or make changes to this bug.